/linux-5.19.10/drivers/net/ethernet/netronome/nfp/nfd3/ |
D | dp.c | 72 nfp_nfd3_tx_tso(struct nfp_net_r_vector *r_vec, struct nfp_nfd3_tx_buf *txbuf, in nfp_nfd3_tx_tso() argument 102 u64_stats_update_begin(&r_vec->tx_sync); in nfp_nfd3_tx_tso() 103 r_vec->tx_lso++; in nfp_nfd3_tx_tso() 104 u64_stats_update_end(&r_vec->tx_sync); in nfp_nfd3_tx_tso() 119 nfp_nfd3_tx_csum(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_nfd3_tx_csum() argument 162 u64_stats_update_begin(&r_vec->tx_sync); in nfp_nfd3_tx_csum() 164 r_vec->hw_csum_tx_inner += txbuf->pkt_cnt; in nfp_nfd3_tx_csum() 166 r_vec->hw_csum_tx += txbuf->pkt_cnt; in nfp_nfd3_tx_csum() 167 u64_stats_update_end(&r_vec->tx_sync); in nfp_nfd3_tx_csum() 225 struct nfp_net_r_vector *r_vec; in nfp_nfd3_tx() local [all …]
|
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() argument 21 struct xsk_buff_pool *pool = r_vec->xsk_pool; in nfp_nfd3_xsk_tx_xdp() 64 struct nfp_net_r_vector *r_vec = rx_ring->r_vec; in nfp_nfd3_xsk_rx_skb() local 65 struct nfp_net_dp *dp = &r_vec->nfp_net->dp; in nfp_nfd3_xsk_rx_skb() 76 nfp_net_xsk_rx_drop(r_vec, xrxbuf); in nfp_nfd3_xsk_rx_skb() 82 skb = napi_alloc_skb(&r_vec->napi, pkt_len); in nfp_nfd3_xsk_rx_skb() 84 nfp_net_xsk_rx_drop(r_vec, xrxbuf); in nfp_nfd3_xsk_rx_skb() 95 nfp_nfd3_rx_csum(dp, r_vec, rxd, meta, skb); in nfp_nfd3_xsk_rx_skb() 104 napi_gro_receive(&rx_ring->r_vec->napi, skb); in nfp_nfd3_xsk_rx_skb() 115 struct nfp_net_r_vector *r_vec = rx_ring->r_vec; in nfp_nfd3_xsk_rx() local [all …]
|
D | rings.c | 25 if (tx_ring->r_vec->xsk_pool) { in nfp_nfd3_xsk_tx_bufs_free() 29 xsk_tx_completed(tx_ring->r_vec->xsk_pool, 1); in nfp_nfd3_xsk_tx_bufs_free() 103 struct nfp_net_r_vector *r_vec = tx_ring->r_vec; in nfp_nfd3_tx_ring_free() local 104 struct nfp_net_dp *dp = &r_vec->nfp_net->dp; in nfp_nfd3_tx_ring_free() 129 struct nfp_net_r_vector *r_vec = tx_ring->r_vec; in nfp_nfd3_tx_ring_alloc() local 149 netif_set_xps_queue(dp->netdev, &r_vec->affinity_mask, in nfp_nfd3_tx_ring_alloc() 200 struct nfp_net_r_vector *r_vec, in nfp_nfd3_print_tx_descs() argument
|
D | nfd3.h | 88 nfp_nfd3_rx_csum(const struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, 98 nfp_nfd3_ctrl_tx_one(struct nfp_net *nn, struct nfp_net_r_vector *r_vec,
|
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/nfdk/ |
D | dp.c | 39 nfp_nfdk_tx_tso(struct nfp_net_r_vector *r_vec, struct nfp_nfdk_tx_buf *txbuf, in nfp_nfdk_tx_tso() argument 81 u64_stats_update_begin(&r_vec->tx_sync); in nfp_nfdk_tx_tso() 82 r_vec->tx_lso++; in nfp_nfdk_tx_tso() 83 u64_stats_update_end(&r_vec->tx_sync); in nfp_nfdk_tx_tso() 89 nfp_nfdk_tx_csum(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_nfdk_tx_csum() argument 114 u64_stats_update_begin(&r_vec->tx_sync); in nfp_nfdk_tx_csum() 116 r_vec->hw_csum_tx += pkt_cnt; in nfp_nfdk_tx_csum() 119 r_vec->hw_csum_tx_inner += pkt_cnt; in nfp_nfdk_tx_csum() 121 u64_stats_update_end(&r_vec->tx_sync); in nfp_nfdk_tx_csum() 212 struct nfp_net_r_vector *r_vec) in nfp_nfdk_prep_tx_meta() argument [all …]
|
D | rings.c | 76 struct nfp_net_r_vector *r_vec = tx_ring->r_vec; in nfp_nfdk_tx_ring_free() local 77 struct nfp_net_dp *dp = &r_vec->nfp_net->dp; in nfp_nfdk_tx_ring_free() 95 struct nfp_net_r_vector *r_vec = tx_ring->r_vec; in nfp_nfdk_tx_ring_alloc() local 114 netif_set_xps_queue(dp->netdev, &r_vec->affinity_mask, in nfp_nfdk_tx_ring_alloc() 139 struct nfp_net_r_vector *r_vec, in nfp_nfdk_print_tx_descs() argument
|
D | nfdk.h | 123 nfp_nfdk_ctrl_tx_one(struct nfp_net *nn, struct nfp_net_r_vector *r_vec,
|
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_common.c | 442 struct nfp_net_r_vector *r_vec = data; in nfp_net_irq_rxtx() local 448 r_vec->event_ctr++; in nfp_net_irq_rxtx() 450 napi_schedule_irqoff(&r_vec->napi); in nfp_net_irq_rxtx() 461 struct nfp_net_r_vector *r_vec = data; in nfp_ctrl_irq_rxtx() local 463 tasklet_schedule(&r_vec->tasklet); in nfp_ctrl_irq_rxtx() 586 nfp_net_tls_tx(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_net_tls_tx() argument 609 u64_stats_update_begin(&r_vec->tx_sync); in nfp_net_tls_tx() 610 r_vec->tls_tx_fallback++; in nfp_net_tls_tx() 611 u64_stats_update_end(&r_vec->tx_sync); in nfp_net_tls_tx() 615 u64_stats_update_begin(&r_vec->tx_sync); in nfp_net_tls_tx() [all …]
|
D | nfp_net_dp.c | 54 struct nfp_net_r_vector *r_vec, unsigned int idx, in nfp_net_tx_ring_init() argument 57 struct nfp_net *nn = r_vec->nfp_net; in nfp_net_tx_ring_init() 60 tx_ring->r_vec = r_vec; in nfp_net_tx_ring_init() 62 u64_stats_init(&tx_ring->r_vec->tx_sync); in nfp_net_tx_ring_init() 77 struct nfp_net_r_vector *r_vec, unsigned int idx) in nfp_net_rx_ring_init() argument 79 struct nfp_net *nn = r_vec->nfp_net; in nfp_net_rx_ring_init() 82 rx_ring->r_vec = r_vec; in nfp_net_rx_ring_init() 83 u64_stats_init(&rx_ring->r_vec->rx_sync); in nfp_net_rx_ring_init() 108 if (rx_ring->r_vec->xsk_pool) { in nfp_net_rx_ring_reset() 253 struct nfp_net_r_vector *r_vec = rx_ring->r_vec; in nfp_net_rx_ring_free() local [all …]
|
D | nfp_net_debugfs.c | 14 struct nfp_net_r_vector *r_vec = file->private; in nfp_rx_q_show() local 24 if (!r_vec->nfp_net || !r_vec->rx_ring) in nfp_rx_q_show() 26 nn = r_vec->nfp_net; in nfp_rx_q_show() 27 rx_ring = r_vec->rx_ring; in nfp_rx_q_show() 46 if (!r_vec->xsk_pool) { in nfp_rx_q_show() 82 struct nfp_net_r_vector *r_vec = file->private; in nfp_tx_q_show() local 90 tx_ring = r_vec->tx_ring; in nfp_tx_q_show() 92 tx_ring = r_vec->xdp_ring; in nfp_tx_q_show() 93 if (!r_vec->nfp_net || !tx_ring) in nfp_tx_q_show() 95 nn = r_vec->nfp_net; in nfp_tx_q_show() [all …]
|
D | nfp_net_xsk.c | 22 headroom = xsk_pool_get_headroom(rx_ring->r_vec->xsk_pool); in nfp_net_xsk_rx_bufs_stash() 59 struct nfp_net_r_vector *r_vec = rx_ring->r_vec; in nfp_net_xsk_rx_ring_fill_freelist() local 60 struct xsk_buff_pool *pool = r_vec->xsk_pool; in nfp_net_xsk_rx_ring_fill_freelist() 85 void nfp_net_xsk_rx_drop(struct nfp_net_r_vector *r_vec, in nfp_net_xsk_rx_drop() argument 88 u64_stats_update_begin(&r_vec->rx_sync); in nfp_net_xsk_rx_drop() 89 r_vec->rx_drops++; in nfp_net_xsk_rx_drop() 90 u64_stats_update_end(&r_vec->rx_sync); in nfp_net_xsk_rx_drop()
|
D | nfp_net_dp.h | 142 bool (*ctrl_tx_one)(struct nfp_net *nn, struct nfp_net_r_vector *r_vec, 157 struct nfp_net_r_vector *r_vec, 203 struct nfp_net_r_vector *r_vec, in nfp_net_debugfs_print_tx_descs() argument 207 dp->ops->print_tx_descs(file, r_vec, tx_ring, d_rd_p, d_wr_p); in nfp_net_debugfs_print_tx_descs()
|
D | nfp_net_xsk.h | 30 void nfp_net_xsk_rx_drop(struct nfp_net_r_vector *r_vec,
|
D | nfp_net.h | 160 struct nfp_net_r_vector *r_vec; member 303 struct nfp_net_r_vector *r_vec; member 939 nfp_net_tls_tx(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec,
|