Lines Matching refs:drv_stats
948 this_cpu_inc(nic->drv_stats->txq_wake); in nicvf_cq_intr_handler()
1303 this_cpu_inc(nic->drv_stats->txq_stop); in nicvf_xmit()
1526 memset(per_cpu_ptr(nic->drv_stats, cpu), 0, in nicvf_open()
1665 struct nicvf_drv_stats *drv_stats; in nicvf_update_stats() local
1702 drv_stats = per_cpu_ptr(nic->drv_stats, cpu); in nicvf_update_stats()
1703 tmp_stats += drv_stats->tx_tso; in nicvf_update_stats()
1748 this_cpu_inc(nic->drv_stats->tx_timeout); in nicvf_tx_timeout()
2189 nic->drv_stats = netdev_alloc_pcpu_stats(struct nicvf_drv_stats); in nicvf_probe()
2190 if (!nic->drv_stats) { in nicvf_probe()
2274 if (nic->drv_stats) in nicvf_probe()
2275 free_percpu(nic->drv_stats); in nicvf_probe()
2307 if (nic->drv_stats) in nicvf_remove()
2308 free_percpu(nic->drv_stats); in nicvf_remove()