Home
last modified time | relevance | path

Searched refs:r_vec (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/net/ethernet/netronome/nfp/nfd3/
H A Ddp.c74 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 …]
H A Drings.c25 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
H A Dnfd3.h88 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/drivers/net/ethernet/netronome/nfp/nfdk/
H A Ddp.c40 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 …]
H A Drings.c76 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
H A Dnfdk.h123 nfp_nfdk_ctrl_tx_one(struct nfp_net *nn, struct nfp_net_r_vector *r_vec,
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_debugfs.c14 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 …]
H A Dnfp_net_dp.c54 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 …]
H A Dnfp_net_common.c445 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 …]
H A Dnfp_net_xsk.c22 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()
H A Dnfp_net_dp.h146 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()
H A Dnfp_net_xsk.h30 void nfp_net_xsk_rx_drop(struct nfp_net_r_vector *r_vec,
H A Dnfp_net.h163 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,