/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfd3/ |
D | dp.c | 74 nfp_nfd3_tx_tso(struct nfp_net_r_vector *r_vec, struct nfp_nfd3_tx_buf *txbuf, in nfp_nfd3_tx_tso() argument 106 u64_stats_update_begin(&r_vec->tx_sync); in nfp_nfd3_tx_tso() 107 r_vec->tx_lso++; in nfp_nfd3_tx_tso() 108 u64_stats_update_end(&r_vec->tx_sync); in nfp_nfd3_tx_tso() 123 nfp_nfd3_tx_csum(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_nfd3_tx_csum() argument 166 u64_stats_update_begin(&r_vec->tx_sync); in nfp_nfd3_tx_csum() 168 r_vec->hw_csum_tx_inner += txbuf->pkt_cnt; in nfp_nfd3_tx_csum() 170 r_vec->hw_csum_tx += txbuf->pkt_cnt; in nfp_nfd3_tx_csum() 171 u64_stats_update_end(&r_vec->tx_sync); in nfp_nfd3_tx_csum() 260 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() 99 nfp_net_xsk_rx_drop(r_vec, xrxbuf); in nfp_nfd3_xsk_rx_skb() 107 napi_gro_receive(&rx_ring->r_vec->napi, skb); in nfp_nfd3_xsk_rx_skb() [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-6.12.1/drivers/net/ethernet/netronome/nfp/nfdk/ |
D | dp.c | 40 nfp_nfdk_tx_tso(struct nfp_net_r_vector *r_vec, struct nfp_nfdk_tx_buf *txbuf, in nfp_nfdk_tx_tso() argument 73 u64_stats_update_begin(&r_vec->tx_sync); in nfp_nfdk_tx_tso() 74 r_vec->tx_lso++; in nfp_nfdk_tx_tso() 75 u64_stats_update_end(&r_vec->tx_sync); in nfp_nfdk_tx_tso() 81 nfp_nfdk_tx_csum(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_nfdk_tx_csum() argument 106 u64_stats_update_begin(&r_vec->tx_sync); in nfp_nfdk_tx_csum() 108 r_vec->hw_csum_tx += pkt_cnt; in nfp_nfdk_tx_csum() 111 r_vec->hw_csum_tx_inner += pkt_cnt; in nfp_nfdk_tx_csum() 113 u64_stats_update_end(&r_vec->tx_sync); in nfp_nfdk_tx_csum() 259 struct nfp_net_r_vector *r_vec; in nfp_nfdk_tx() local [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-6.12.1/drivers/net/ethernet/netronome/nfp/ |
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_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_common.c | 445 struct nfp_net_r_vector *r_vec = data; in nfp_net_irq_rxtx() local 451 r_vec->event_ctr++; in nfp_net_irq_rxtx() 453 napi_schedule_irqoff(&r_vec->napi); in nfp_net_irq_rxtx() 464 struct nfp_net_r_vector *r_vec = data; in nfp_ctrl_irq_rxtx() local 466 tasklet_schedule(&r_vec->tasklet); in nfp_ctrl_irq_rxtx() 592 nfp_net_tls_tx(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec, in nfp_net_tls_tx() argument 615 u64_stats_update_begin(&r_vec->tx_sync); in nfp_net_tls_tx() 616 r_vec->tls_tx_fallback++; in nfp_net_tls_tx() 617 u64_stats_update_end(&r_vec->tx_sync); in nfp_net_tls_tx() 621 u64_stats_update_begin(&r_vec->tx_sync); in nfp_net_tls_tx() [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() 89 void nfp_net_xsk_rx_drop(struct nfp_net_r_vector *r_vec, in nfp_net_xsk_rx_drop() argument 92 u64_stats_update_begin(&r_vec->rx_sync); in nfp_net_xsk_rx_drop() 93 r_vec->rx_drops++; in nfp_net_xsk_rx_drop() 94 u64_stats_update_end(&r_vec->rx_sync); in nfp_net_xsk_rx_drop()
|
D | nfp_net_dp.h | 146 bool (*ctrl_tx_one)(struct nfp_net *nn, struct nfp_net_r_vector *r_vec, 161 struct nfp_net_r_vector *r_vec, 207 struct nfp_net_r_vector *r_vec, in nfp_net_debugfs_print_tx_descs() argument 211 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 | 163 struct nfp_net_r_vector *r_vec; member 317 struct nfp_net_r_vector *r_vec; member 1015 nfp_net_tls_tx(struct nfp_net_dp *dp, struct nfp_net_r_vector *r_vec,
|