/linux-5.19.10/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); \ 486 struct nfp_net_dp { struct 605 struct nfp_net_dp dp; 939 nfp_net_tls_tx(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, 943 struct nfp_net_dp *nfp_net_clone_dp(struct nfp_net *nn); 944 int nfp_net_ring_reconfig(struct nfp_net *nn, struct nfp_net_dp *new,
|
D | nfp_net_common.c | 404 struct nfp_net_dp *dp = &nn->dp; in nfp_net_irqs_assign() 586 nfp_net_tls_tx(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_net_tls_tx() 688 nfp_net_calc_fl_bufsz_data(struct nfp_net_dp *dp) in nfp_net_calc_fl_bufsz_data() 701 static unsigned int nfp_net_calc_fl_bufsz(struct nfp_net_dp *dp) in nfp_net_calc_fl_bufsz() 715 static unsigned int nfp_net_calc_fl_bufsz_xsk(struct nfp_net_dp *dp) in nfp_net_calc_fl_bufsz_xsk() 766 nfp_net_napi_add(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, int idx) in nfp_net_napi_add() 778 nfp_net_napi_del(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec) in nfp_net_napi_del() 787 nfp_net_vector_assign_rings(struct nfp_net_dp *dp, in nfp_net_vector_assign_rings() 1373 static void nfp_net_dp_swap(struct nfp_net *nn, struct nfp_net_dp *dp) in nfp_net_dp_swap() 1375 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 | 112 struct nfp_net_dp *dp; in nfp_net_xsk_setup_pool()
|
D | nfp_net_ethtool.c | 401 struct nfp_net_dp *dp; in nfp_net_set_ring_size() 1429 struct nfp_net_dp *dp; in nfp_net_set_num_rings()
|
/linux-5.19.10/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 | 89 nfp_nfdk_tx_csum(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_nfdk_tx_csum() 258 struct nfp_net_dp *dp; in nfp_nfdk_tx() 461 struct nfp_net_dp *dp = &r_vec->nfp_net->dp; in nfp_nfdk_tx_complete() 559 nfp_nfdk_napi_alloc_one(struct nfp_net_dp *dp, dma_addr_t *dma_addr) in nfp_nfdk_napi_alloc_one() 594 nfp_nfdk_rx_give_one(const struct nfp_net_dp *dp, in nfp_nfdk_rx_give_one() 629 void nfp_nfdk_rx_ring_fill_freelist(struct nfp_net_dp *dp, in nfp_nfdk_rx_ring_fill_freelist() 662 nfp_nfdk_rx_csum(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_nfdk_rx_csum() 778 nfp_nfdk_rx_drop(const struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_nfdk_rx_drop() 805 struct nfp_net_dp *dp = &r_vec->nfp_net->dp; in nfp_nfdk_xdp_complete() 866 nfp_nfdk_tx_xdp_buf(struct nfp_net_dp *dp, struct nfp_net_rx_ring *rx_ring, in nfp_nfdk_tx_xdp_buf() [all …]
|
D | nfdk.h | 126 void nfp_nfdk_rx_ring_fill_freelist(struct nfp_net_dp *dp,
|
/linux-5.19.10/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() 230 struct nfp_net_dp *dp; in nfp_nfd3_tx() 385 struct nfp_net_dp *dp = &r_vec->nfp_net->dp; in nfp_nfd3_tx_complete() 470 struct nfp_net_dp *dp = &r_vec->nfp_net->dp; in nfp_nfd3_xdp_complete() 513 nfp_nfd3_napi_alloc_one(struct nfp_net_dp *dp, dma_addr_t *dma_addr) in nfp_nfd3_napi_alloc_one() 548 nfp_nfd3_rx_give_one(const struct nfp_net_dp *dp, in nfp_nfd3_rx_give_one() 583 void nfp_nfd3_rx_ring_fill_freelist(struct nfp_net_dp *dp, in nfp_nfd3_rx_ring_fill_freelist() 619 nfp_nfd3_rx_csum(const struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_nfd3_rx_csum() 748 nfp_nfd3_rx_drop(const struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_nfd3_rx_drop() 773 nfp_nfd3_tx_xdp_buf(struct nfp_net_dp *dp, struct nfp_net_rx_ring *rx_ring, in nfp_nfd3_tx_xdp_buf() [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() 116 struct nfp_net_dp *dp = &r_vec->nfp_net->dp; in nfp_nfd3_xsk_rx()
|