Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/netronome/nfp/nfd3/
A Ddp.c107 r_vec->tx_lso++; in nfp_nfd3_tx_tso()
275 r_vec = tx_ring->r_vec; in nfp_nfd3_tx()
286 r_vec->tx_busy++; in nfp_nfd3_tx()
423 struct nfp_net_r_vector *r_vec = tx_ring->r_vec; in nfp_nfd3_tx_complete() local
508 struct nfp_net_r_vector *r_vec = tx_ring->r_vec; in nfp_nfd3_xdp_complete() local
908 struct nfp_net_r_vector *r_vec = rx_ring->r_vec; in nfp_nfd3_rx() local
1168 nfp_net_irq_unmask(r_vec->nfp_net, r_vec->irq_entry); in nfp_nfd3_poll()
1170 if (r_vec->nfp_net->rx_coalesce_adapt_on && r_vec->rx_ring) { in nfp_nfd3_poll()
1185 if (r_vec->nfp_net->tx_coalesce_adapt_on && r_vec->tx_ring) { in nfp_nfd3_poll()
1295 if (nfp_nfd3_ctrl_tx_one(r_vec->nfp_net, r_vec, skb, true)) in __nfp_ctrl_tx_queued()
[all …]
A Dxsk.c64 struct nfp_net_r_vector *r_vec = rx_ring->r_vec; in nfp_nfd3_xsk_rx_skb() local
118 struct nfp_net_r_vector *r_vec = rx_ring->r_vec; in nfp_nfd3_xsk_rx() local
126 tx_ring = r_vec->xdp_ring; in nfp_nfd3_xsk_rx()
180 r_vec->rx_pkts++; in nfp_nfd3_xsk_rx()
181 r_vec->rx_bytes += pkt_len; in nfp_nfd3_xsk_rx()
277 struct nfp_net_r_vector *r_vec = tx_ring->r_vec; in nfp_nfd3_xsk_complete() local
321 r_vec->tx_pkts += done_pkts; in nfp_nfd3_xsk_complete()
335 struct nfp_net_r_vector *r_vec = tx_ring->r_vec; in nfp_nfd3_xsk_tx() local
342 xsk_pool = r_vec->xsk_pool; in nfp_nfd3_xsk_tx()
396 if (r_vec->tx_ring) in nfp_nfd3_xsk_poll()
[all …]
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
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/
A Ddp.c74 r_vec->tx_lso++; in nfp_nfdk_tx_tso()
274 r_vec = tx_ring->r_vec; in nfp_nfdk_tx()
284 r_vec->tx_busy++; in nfp_nfdk_tx()
473 struct nfp_net_r_vector *r_vec = tx_ring->r_vec; in nfp_nfdk_tx_complete() local
837 struct nfp_net_r_vector *r_vec = tx_ring->r_vec; in nfp_nfdk_xdp_complete() local
1029 struct nfp_net_r_vector *r_vec = rx_ring->r_vec; in nfp_nfdk_rx() local
1278 nfp_net_irq_unmask(r_vec->nfp_net, r_vec->irq_entry); in nfp_nfdk_poll()
1280 if (r_vec->nfp_net->rx_coalesce_adapt_on && r_vec->rx_ring) { in nfp_nfdk_poll()
1295 if (r_vec->nfp_net->tx_coalesce_adapt_on && r_vec->tx_ring) { in nfp_nfdk_poll()
1457 if (nfp_nfdk_ctrl_tx_one(r_vec->nfp_net, r_vec, skb, true)) in __nfp_ctrl_tx_queued()
[all …]
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
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/
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 …]
A Dnfp_net_dp.c57 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()
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
254 struct nfp_net_dp *dp = &r_vec->nfp_net->dp; in nfp_net_rx_ring_free()
437 spin_lock_bh(&r_vec->lock); in nfp_ctrl_tx()
[all …]
A Dnfp_net_common.c451 r_vec->event_ctr++; in nfp_net_irq_rxtx()
796 r_vec->tx_ring = in nfp_net_vector_assign_rings()
822 snprintf(r_vec->name, sizeof(r_vec->name), in nfp_net_prepare_vector()
824 err = request_irq(r_vec->irq_vector, r_vec->handler, IRQF_NO_AUTOEN, in nfp_net_prepare_vector()
825 r_vec->name, r_vec); in nfp_net_prepare_vector()
832 irq_set_affinity_hint(r_vec->irq_vector, &r_vec->affinity_mask); in nfp_net_prepare_vector()
845 free_irq(r_vec->irq_vector, r_vec); in nfp_net_cleanup_vector()
1086 if (r_vec->rx_ring) in nfp_net_close_stack()
1089 if (r_vec->tx_ring) in nfp_net_close_stack()
1171 nn = r_vec->nfp_net; in nfp_net_rx_dim_work()
[all …]
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()
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()
A Dnfp_net_xsk.h30 void nfp_net_xsk_rx_drop(struct nfp_net_r_vector *r_vec,
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,

Completed in 35 milliseconds