Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/cavium/thunder/
Dnicvf_main.c265 nic->pnicvf = (struct nicvf *)mbx.nicvf.nicvf; in nicvf_handle_mbx_intr()
606 nic = nic->pnicvf; in nicvf_snd_ptp_handler()
657 nicvf_check_cqe_tx_errs(nic->pnicvf, cqe_tx); in nicvf_snd_pkt_handler()
695 !nic->pnicvf->ptp_skb) in nicvf_snd_pkt_handler()
696 nic->pnicvf->ptp_skb = skb; in nicvf_snd_pkt_handler()
767 nic = nic->pnicvf; in nicvf_rcv_pkt_handler()
905 if (nic->pnicvf->xdp_prog) { in nicvf_cq_intr_handler()
906 if (txq_idx < nic->pnicvf->xdp_tx_queues) { in nicvf_cq_intr_handler()
910 nic = nic->pnicvf; in nicvf_cq_intr_handler()
911 txq_idx -= nic->pnicvf->xdp_tx_queues; in nicvf_cq_intr_handler()
[all …]
Dnicvf_queues.c129 this_cpu_inc(nic->pnicvf->drv_stats->page_alloc); in nicvf_alloc_page()
199 this_cpu_inc(nic->pnicvf->drv_stats->rcv_buffer_alloc_failures); in nicvf_alloc_rcv_buffer()
287 if (!nic->pnicvf->xdp_prog) { in nicvf_init_rbdr()
448 netif_running(nic->pnicvf->netdev)) in nicvf_refill_rbdr()
530 if (qidx < nic->pnicvf->xdp_tx_queues) { in nicvf_init_snd_queue()
1070 struct queue_set *pqs = nic->pnicvf->qs; in nicvf_config_data_transfer()
1392 this_cpu_inc(nic->pnicvf->drv_stats->tx_tso); in nicvf_sq_add_hdr_subdesc()
1406 if (!atomic_add_unless(&nic->pnicvf->tx_ptp_skbs, 1, 1)) in nicvf_sq_add_hdr_subdesc()
1473 txq = netdev_get_tx_queue(nic->pnicvf->netdev, in nicvf_sq_doorbell()
1547 this_cpu_inc(nic->pnicvf->drv_stats->tx_tso); in nicvf_sq_append_tso()
[all …]
Dnic.h280 struct nicvf *pnicvf; member