Searched refs:r_vecs (Results 1 – 4 of 4) sorted by relevance
497 start = u64_stats_fetch_begin_irq(&nn->r_vecs[i].rx_sync); in nfp_vnic_get_sw_stats()498 data[0] = nn->r_vecs[i].rx_pkts; in nfp_vnic_get_sw_stats()499 tmp[0] = nn->r_vecs[i].hw_csum_rx_ok; in nfp_vnic_get_sw_stats()500 tmp[1] = nn->r_vecs[i].hw_csum_rx_inner_ok; in nfp_vnic_get_sw_stats()501 tmp[2] = nn->r_vecs[i].hw_csum_rx_complete; in nfp_vnic_get_sw_stats()502 tmp[3] = nn->r_vecs[i].hw_csum_rx_error; in nfp_vnic_get_sw_stats()503 tmp[4] = nn->r_vecs[i].rx_replace_buf_alloc_fail; in nfp_vnic_get_sw_stats()504 tmp[5] = nn->r_vecs[i].hw_tls_rx; in nfp_vnic_get_sw_stats()505 } while (u64_stats_fetch_retry_irq(&nn->r_vecs[i].rx_sync, start)); in nfp_vnic_get_sw_stats()508 start = u64_stats_fetch_begin_irq(&nn->r_vecs[i].tx_sync); in nfp_vnic_get_sw_stats()[all …]
173 &nn->r_vecs[i], &nfp_rx_q_fops); in nfp_net_debugfs_vnic_add()175 &nn->r_vecs[i], &nfp_xdp_q_fops); in nfp_net_debugfs_vnic_add()181 &nn->r_vecs[i], &nfp_tx_q_fops); in nfp_net_debugfs_vnic_add()
630 struct nfp_net_r_vector r_vecs[NFP_NET_MAX_R_VECS]; member883 __acquires(&nn->r_vecs[0].lock) in nfp_ctrl_lock()885 spin_lock_bh(&nn->r_vecs[0].lock); in nfp_ctrl_lock()889 __releases(&nn->r_vecs[0].lock) in nfp_ctrl_unlock()891 spin_unlock_bh(&nn->r_vecs[0].lock); in nfp_ctrl_unlock()
2158 struct nfp_net_r_vector *r_vec = &nn->r_vecs[0]; in __nfp_ctrl_tx()2165 struct nfp_net_r_vector *r_vec = &nn->r_vecs[0]; in nfp_ctrl_tx()2328 r_vec = &nn->r_vecs[r]; in nfp_net_vecs_init()2464 nfp_net_tx_ring_init(&dp->tx_rings[r], &nn->r_vecs[r - bias], in nfp_net_tx_rings_prepare()2574 nfp_net_rx_ring_init(&dp->rx_rings[r], &nn->r_vecs[r], r); in nfp_net_rx_rings_prepare()2885 disable_irq(nn->r_vecs[r].irq_vector); in nfp_net_close_stack()2886 napi_disable(&nn->r_vecs[r].napi); in nfp_net_close_stack()2904 nfp_net_cleanup_vector(nn, &nn->r_vecs[r]); in nfp_net_close_free_all()2942 disable_irq(nn->r_vecs[r].irq_vector); in nfp_ctrl_close()2943 tasklet_disable(&nn->r_vecs[r].tasklet); in nfp_ctrl_close()[all …]