/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); \ 493 struct nfp_net_dp { struct 612 struct nfp_net_dp dp; 946 nfp_net_tls_tx(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, 950 struct nfp_net_dp *nfp_net_clone_dp(struct nfp_net *nn); 951 int nfp_net_ring_reconfig(struct nfp_net *nn, struct nfp_net_dp *new,
|
D | nfp_net_common.c | 405 struct nfp_net_dp *dp = &nn->dp; in nfp_net_irqs_assign() 590 nfp_net_tls_tx(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_net_tls_tx() 692 nfp_net_calc_fl_bufsz_data(struct nfp_net_dp *dp) in nfp_net_calc_fl_bufsz_data() 705 static unsigned int nfp_net_calc_fl_bufsz(struct nfp_net_dp *dp) in nfp_net_calc_fl_bufsz() 719 static unsigned int nfp_net_calc_fl_bufsz_xsk(struct nfp_net_dp *dp) in nfp_net_calc_fl_bufsz_xsk() 770 nfp_net_napi_add(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, int idx) in nfp_net_napi_add() 780 nfp_net_napi_del(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec) in nfp_net_napi_del() 789 nfp_net_vector_assign_rings(struct nfp_net_dp *dp, in nfp_net_vector_assign_rings() 1375 static void nfp_net_dp_swap(struct nfp_net *nn, struct nfp_net_dp *dp) in nfp_net_dp_swap() 1377 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 | 634 struct nfp_net_dp *dp; in nfp_net_set_ring_size() 1829 struct nfp_net_dp *dp; in nfp_net_set_num_rings()
|
/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 | 77 nfp_nfdk_tx_csum(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_nfdk_tx_csum() 174 nfp_nfdk_prep_tx_meta(struct nfp_net_dp *dp, struct nfp_app *app, in nfp_nfdk_prep_tx_meta() 243 struct nfp_net_dp *dp; in nfp_nfdk_tx() 446 struct nfp_net_dp *dp = &r_vec->nfp_net->dp; in nfp_nfdk_tx_complete() 544 nfp_nfdk_napi_alloc_one(struct nfp_net_dp *dp, dma_addr_t *dma_addr) in nfp_nfdk_napi_alloc_one() 579 nfp_nfdk_rx_give_one(const struct nfp_net_dp *dp, in nfp_nfdk_rx_give_one() 614 void nfp_nfdk_rx_ring_fill_freelist(struct nfp_net_dp *dp, in nfp_nfdk_rx_ring_fill_freelist() 647 nfp_nfdk_rx_csum(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_nfdk_rx_csum() 774 nfp_nfdk_rx_drop(const struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_nfdk_rx_drop() 801 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,
|
/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 | 119 nfp_nfd3_tx_csum(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_nfd3_tx_csum() 170 static int nfp_nfd3_prep_tx_meta(struct nfp_net_dp *dp, struct sk_buff *skb, u64 tls_handle) in nfp_nfd3_prep_tx_meta() 245 struct nfp_net_dp *dp; in nfp_nfd3_tx() 400 struct nfp_net_dp *dp = &r_vec->nfp_net->dp; in nfp_nfd3_tx_complete() 485 struct nfp_net_dp *dp = &r_vec->nfp_net->dp; in nfp_nfd3_xdp_complete() 528 nfp_nfd3_napi_alloc_one(struct nfp_net_dp *dp, dma_addr_t *dma_addr) in nfp_nfd3_napi_alloc_one() 563 nfp_nfd3_rx_give_one(const struct nfp_net_dp *dp, in nfp_nfd3_rx_give_one() 602 void nfp_nfd3_rx_ring_fill_freelist(struct nfp_net_dp *dp, in nfp_nfd3_rx_ring_fill_freelist() 638 nfp_nfd3_rx_csum(const struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_nfd3_rx_csum() 778 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()
|