/linux-6.6.21/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_dp.h | 9 static inline dma_addr_t nfp_net_dma_map_rx(struct nfp_net_dp *dp, void *frag) in nfp_net_dma_map_rx() 17 nfp_net_dma_sync_dev_rx(const struct nfp_net_dp *dp, dma_addr_t dma_addr) in nfp_net_dma_sync_dev_rx() 24 static inline void nfp_net_dma_unmap_rx(struct nfp_net_dp *dp, in nfp_net_dma_unmap_rx() 32 static inline void nfp_net_dma_sync_cpu_rx(struct nfp_net_dp *dp, in nfp_net_dma_sync_cpu_rx() 64 nfp_net_read_tx_cmpl(struct nfp_net_tx_ring *tx_ring, struct nfp_net_dp *dp) in nfp_net_read_tx_cmpl() 103 void *nfp_net_rx_alloc_one(struct nfp_net_dp *dp, dma_addr_t *dma_addr); 104 int nfp_net_rx_rings_prepare(struct nfp_net *nn, struct nfp_net_dp *dp); 105 int nfp_net_tx_rings_prepare(struct nfp_net *nn, struct nfp_net_dp *dp); 106 void nfp_net_rx_rings_free(struct nfp_net_dp *dp); 107 void nfp_net_tx_rings_free(struct nfp_net_dp *dp); [all …]
|
D | nfp_net_dp.c | 17 void *nfp_net_rx_alloc_one(struct nfp_net_dp *dp, dma_addr_t *dma_addr) in nfp_net_rx_alloc_one() 53 nfp_net_tx_ring_init(struct nfp_net_tx_ring *tx_ring, struct nfp_net_dp *dp, in nfp_net_tx_ring_init() 132 nfp_net_rx_ring_bufs_free(struct nfp_net_dp *dp, in nfp_net_rx_ring_bufs_free() 161 nfp_net_rx_ring_bufs_alloc(struct nfp_net_dp *dp, in nfp_net_rx_ring_bufs_alloc() 183 int nfp_net_tx_rings_prepare(struct nfp_net *nn, struct nfp_net_dp *dp) in nfp_net_tx_rings_prepare() 232 void nfp_net_tx_rings_free(struct nfp_net_dp *dp) in nfp_net_tx_rings_free() 254 struct nfp_net_dp *dp = &r_vec->nfp_net->dp; in nfp_net_rx_ring_free() 284 nfp_net_rx_ring_alloc(struct nfp_net_dp *dp, struct nfp_net_rx_ring *rx_ring) in nfp_net_rx_ring_alloc() 339 int nfp_net_rx_rings_prepare(struct nfp_net *nn, struct nfp_net_dp *dp) in nfp_net_rx_rings_prepare() 370 void nfp_net_rx_rings_free(struct nfp_net_dp *dp) in nfp_net_rx_rings_free()
|
D | nfp_net.h | 45 struct nfp_net_dp *__dp = (dp); \ 501 struct nfp_net_dp { struct 627 struct nfp_net_dp dp; 982 nfp_net_tls_tx(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, 986 struct nfp_net_dp *nfp_net_clone_dp(struct nfp_net *nn); 987 int nfp_net_ring_reconfig(struct nfp_net *nn, struct nfp_net_dp *new,
|
D | nfp_net_common.c | 407 struct nfp_net_dp *dp = &nn->dp; in nfp_net_irqs_assign() 592 nfp_net_tls_tx(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_net_tls_tx() 694 nfp_net_calc_fl_bufsz_data(struct nfp_net_dp *dp) in nfp_net_calc_fl_bufsz_data() 707 static unsigned int nfp_net_calc_fl_bufsz(struct nfp_net_dp *dp) in nfp_net_calc_fl_bufsz() 721 static unsigned int nfp_net_calc_fl_bufsz_xsk(struct nfp_net_dp *dp) in nfp_net_calc_fl_bufsz_xsk() 773 nfp_net_napi_add(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, int idx) in nfp_net_napi_add() 783 nfp_net_napi_del(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec) in nfp_net_napi_del() 792 nfp_net_vector_assign_rings(struct nfp_net_dp *dp, in nfp_net_vector_assign_rings() 1520 static void nfp_net_dp_swap(struct nfp_net *nn, struct nfp_net_dp *dp) in nfp_net_dp_swap() 1522 struct nfp_net_dp new_dp = *dp; in nfp_net_dp_swap() [all …]
|
D | nfp_net_xsk.h | 12 static inline bool nfp_net_has_xsk_pool_slow(struct nfp_net_dp *dp, in nfp_net_has_xsk_pool_slow()
|
D | Makefile | 34 nfp_net_dp.o \
|
D | nfp_net_xsk.c | 116 struct nfp_net_dp *dp; in nfp_net_xsk_setup_pool()
|
D | nfp_net_ethtool.c | 638 struct nfp_net_dp *dp; in nfp_net_set_ring_size() 1833 struct nfp_net_dp *dp; in nfp_net_set_num_rings()
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/nfdk/ |
D | rings.c | 11 nfp_nfdk_tx_ring_reset(struct nfp_net_dp *dp, struct nfp_net_tx_ring *tx_ring) in nfp_nfdk_tx_ring_reset() 77 struct nfp_net_dp *dp = &r_vec->nfp_net->dp; in nfp_nfdk_tx_ring_free() 93 nfp_nfdk_tx_ring_alloc(struct nfp_net_dp *dp, struct nfp_net_tx_ring *tx_ring) in nfp_nfdk_tx_ring_alloc() 125 nfp_nfdk_tx_ring_bufs_free(struct nfp_net_dp *dp, in nfp_nfdk_tx_ring_bufs_free() 131 nfp_nfdk_tx_ring_bufs_alloc(struct nfp_net_dp *dp, in nfp_nfdk_tx_ring_bufs_alloc()
|
D | dp.c | 78 nfp_nfdk_tx_csum(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_nfdk_tx_csum() 175 nfp_nfdk_prep_tx_meta(struct nfp_net_dp *dp, struct nfp_app *app, in nfp_nfdk_prep_tx_meta() 262 struct nfp_net_dp *dp; in nfp_nfdk_tx() 471 struct nfp_net_dp *dp = &r_vec->nfp_net->dp; in nfp_nfdk_tx_complete() 569 nfp_nfdk_napi_alloc_one(struct nfp_net_dp *dp, dma_addr_t *dma_addr) in nfp_nfdk_napi_alloc_one() 604 nfp_nfdk_rx_give_one(const struct nfp_net_dp *dp, in nfp_nfdk_rx_give_one() 639 void nfp_nfdk_rx_ring_fill_freelist(struct nfp_net_dp *dp, in nfp_nfdk_rx_ring_fill_freelist() 672 nfp_nfdk_rx_csum(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_nfdk_rx_csum() 808 nfp_nfdk_rx_drop(const struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_nfdk_rx_drop() 835 struct nfp_net_dp *dp = &r_vec->nfp_net->dp; in nfp_nfdk_xdp_complete() [all …]
|
D | nfdk.h | 126 void nfp_nfdk_rx_ring_fill_freelist(struct nfp_net_dp *dp,
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/nfd3/ |
D | rings.c | 42 nfp_nfd3_tx_ring_reset(struct nfp_net_dp *dp, struct nfp_net_tx_ring *tx_ring) in nfp_nfd3_tx_ring_reset() 104 struct nfp_net_dp *dp = &r_vec->nfp_net->dp; in nfp_nfd3_tx_ring_free() 127 nfp_nfd3_tx_ring_alloc(struct nfp_net_dp *dp, struct nfp_net_tx_ring *tx_ring) in nfp_nfd3_tx_ring_alloc() 160 nfp_nfd3_tx_ring_bufs_free(struct nfp_net_dp *dp, in nfp_nfd3_tx_ring_bufs_free() 178 nfp_nfd3_tx_ring_bufs_alloc(struct nfp_net_dp *dp, in nfp_nfd3_tx_ring_bufs_alloc()
|
D | dp.c | 120 nfp_nfd3_tx_csum(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_nfd3_tx_csum() 171 static int nfp_nfd3_prep_tx_meta(struct nfp_net_dp *dp, struct sk_buff *skb, in nfp_nfd3_prep_tx_meta() 262 struct nfp_net_dp *dp; in nfp_nfd3_tx() 421 struct nfp_net_dp *dp = &r_vec->nfp_net->dp; in nfp_nfd3_tx_complete() 506 struct nfp_net_dp *dp = &r_vec->nfp_net->dp; in nfp_nfd3_xdp_complete() 549 nfp_nfd3_napi_alloc_one(struct nfp_net_dp *dp, dma_addr_t *dma_addr) in nfp_nfd3_napi_alloc_one() 584 nfp_nfd3_rx_give_one(const struct nfp_net_dp *dp, in nfp_nfd3_rx_give_one() 623 void nfp_nfd3_rx_ring_fill_freelist(struct nfp_net_dp *dp, in nfp_nfd3_rx_ring_fill_freelist() 659 nfp_nfd3_rx_csum(const struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_nfd3_rx_csum() 808 nfp_nfd3_rx_drop(const struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_nfd3_rx_drop() [all …]
|
D | nfd3.h | 88 nfp_nfd3_rx_csum(const struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, 101 void nfp_nfd3_rx_ring_fill_freelist(struct nfp_net_dp *dp,
|
D | xsk.c | 15 nfp_nfd3_xsk_tx_xdp(const struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_nfd3_xsk_tx_xdp() 65 struct nfp_net_dp *dp = &r_vec->nfp_net->dp; in nfp_nfd3_xsk_rx_skb() 119 struct nfp_net_dp *dp = &r_vec->nfp_net->dp; in nfp_nfd3_xsk_rx()
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/crypto/ |
D | crypto.h | 60 bool nfp_net_ipsec_tx_prep(struct nfp_net_dp *dp, struct sk_buff *skb,
|
D | ipsec.c | 563 bool nfp_net_ipsec_tx_prep(struct nfp_net_dp *dp, struct sk_buff *skb, in nfp_net_ipsec_tx_prep()
|