Home
last modified time | relevance | path

Searched refs:r_vecs (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c689 start = u64_stats_fetch_begin_irq(&nn->r_vecs[i].rx_sync); in nfp_vnic_get_sw_stats()
690 data[0] = nn->r_vecs[i].rx_pkts; in nfp_vnic_get_sw_stats()
691 tmp[0] = nn->r_vecs[i].hw_csum_rx_ok; in nfp_vnic_get_sw_stats()
692 tmp[1] = nn->r_vecs[i].hw_csum_rx_inner_ok; in nfp_vnic_get_sw_stats()
693 tmp[2] = nn->r_vecs[i].hw_csum_rx_complete; in nfp_vnic_get_sw_stats()
694 tmp[3] = nn->r_vecs[i].hw_csum_rx_error; in nfp_vnic_get_sw_stats()
695 tmp[4] = nn->r_vecs[i].rx_replace_buf_alloc_fail; in nfp_vnic_get_sw_stats()
696 tmp[5] = nn->r_vecs[i].hw_tls_rx; in nfp_vnic_get_sw_stats()
697 } while (u64_stats_fetch_retry_irq(&nn->r_vecs[i].rx_sync, start)); in nfp_vnic_get_sw_stats()
700 start = u64_stats_fetch_begin_irq(&nn->r_vecs[i].tx_sync); in nfp_vnic_get_sw_stats()
[all …]
Dnfp_net_debugfs.c149 &nn->r_vecs[i], &nfp_rx_q_fops); in nfp_net_debugfs_vnic_add()
151 &nn->r_vecs[i], &nfp_xdp_q_fops); in nfp_net_debugfs_vnic_add()
157 &nn->r_vecs[i], &nfp_tx_q_fops); in nfp_net_debugfs_vnic_add()
Dnfp_net_dp.c207 &nn->r_vecs[r - bias], r, bias); in nfp_net_tx_rings_prepare()
349 nfp_net_rx_ring_init(&dp->rx_rings[r], &nn->r_vecs[r], r); in nfp_net_rx_rings_prepare()
427 struct nfp_net_r_vector *r_vec = &nn->r_vecs[0]; in __nfp_ctrl_tx()
434 struct nfp_net_r_vector *r_vec = &nn->r_vecs[0]; in nfp_ctrl_tx()
Dnfp_net.h637 struct nfp_net_r_vector r_vecs[NFP_NET_MAX_R_VECS]; member
862 __acquires(&nn->r_vecs[0].lock) in nfp_ctrl_lock()
864 spin_lock_bh(&nn->r_vecs[0].lock); in nfp_ctrl_lock()
868 __releases(&nn->r_vecs[0].lock) in nfp_ctrl_unlock()
870 spin_unlock_bh(&nn->r_vecs[0].lock); in nfp_ctrl_unlock()
Dnfp_net_common.c749 r_vec = &nn->r_vecs[r]; in nfp_net_vecs_init()
1038 r_vec = &nn->r_vecs[r]; in nfp_net_close_stack()
1065 nfp_net_cleanup_vector(nn, &nn->r_vecs[r]); in nfp_net_close_free_all()
1103 disable_irq(nn->r_vecs[r].irq_vector); in nfp_ctrl_close()
1104 tasklet_disable(&nn->r_vecs[r].tasklet); in nfp_ctrl_close()
1182 r_vec = &nn->r_vecs[r]; in nfp_net_open_stack()
1221 err = nfp_net_prepare_vector(nn, &nn->r_vecs[r], r); in nfp_net_open_alloc_all()
1235 nfp_net_vector_assign_rings(&nn->dp, &nn->r_vecs[r], r); in nfp_net_open_alloc_all()
1245 nfp_net_cleanup_vector(nn, &nn->r_vecs[r]); in nfp_net_open_alloc_all()
1323 enable_irq(nn->r_vecs[r].irq_vector); in nfp_ctrl_open()
[all …]
Dnfp_net_xsk.c171 napi_schedule(&nn->r_vecs[queue_id].napi); in nfp_net_xsk_wakeup()