Home
last modified time | relevance | path

Searched refs:pnicvf (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_main.c285 nic->pnicvf = (struct nicvf *)mbx.nicvf.nicvf; in nicvf_handle_mbx_intr()
627 nic = nic->pnicvf; in nicvf_snd_ptp_handler()
678 nicvf_check_cqe_tx_errs(nic->pnicvf, cqe_tx); in nicvf_snd_pkt_handler()
716 !nic->pnicvf->ptp_skb) in nicvf_snd_pkt_handler()
717 nic->pnicvf->ptp_skb = skb; in nicvf_snd_pkt_handler()
788 nic = nic->pnicvf; in nicvf_rcv_pkt_handler()
926 if (nic->pnicvf->xdp_prog) { in nicvf_cq_intr_handler()
927 if (txq_idx < nic->pnicvf->xdp_tx_queues) { in nicvf_cq_intr_handler()
931 nic = nic->pnicvf; in nicvf_cq_intr_handler()
932 txq_idx -= nic->pnicvf->xdp_tx_queues; in nicvf_cq_intr_handler()
[all …]
H A Dnicvf_queues.c125 this_cpu_inc(nic->pnicvf->drv_stats->page_alloc); in nicvf_alloc_page()
195 this_cpu_inc(nic->pnicvf->drv_stats->rcv_buffer_alloc_failures); in nicvf_alloc_rcv_buffer()
283 if (!nic->pnicvf->xdp_prog) { in nicvf_init_rbdr()
443 netif_running(nic->pnicvf->netdev)) in nicvf_refill_rbdr()
525 if (qidx < nic->pnicvf->xdp_tx_queues) { in nicvf_init_snd_queue()
1067 struct queue_set *pqs = nic->pnicvf->qs; in nicvf_config_data_transfer()
1388 this_cpu_inc(nic->pnicvf->drv_stats->tx_tso); in nicvf_sq_add_hdr_subdesc()
1402 if (!atomic_add_unless(&nic->pnicvf->tx_ptp_skbs, 1, 1)) in nicvf_sq_add_hdr_subdesc()
1469 txq = netdev_get_tx_queue(nic->pnicvf->netdev, in nicvf_sq_doorbell()
1544 this_cpu_inc(nic->pnicvf->drv_stats->tx_tso); in nicvf_sq_append_tso()
[all …]
H A Dnic.h277 struct nicvf *pnicvf; member