Lines Matching refs:drv_stats
927 this_cpu_inc(nic->drv_stats->txq_wake); in nicvf_cq_intr_handler()
1282 this_cpu_inc(nic->drv_stats->txq_stop); in nicvf_xmit()
1486 memset(per_cpu_ptr(nic->drv_stats, cpu), 0, in nicvf_open()
1610 struct nicvf_drv_stats *drv_stats; in nicvf_update_stats() local
1647 drv_stats = per_cpu_ptr(nic->drv_stats, cpu); in nicvf_update_stats()
1648 tmp_stats += drv_stats->tx_tso; in nicvf_update_stats()
1693 this_cpu_inc(nic->drv_stats->tx_timeout); in nicvf_tx_timeout()
2128 nic->drv_stats = netdev_alloc_pcpu_stats(struct nicvf_drv_stats); in nicvf_probe()
2129 if (!nic->drv_stats) { in nicvf_probe()
2204 if (nic->drv_stats) in nicvf_probe()
2205 free_percpu(nic->drv_stats); in nicvf_probe()
2235 if (nic->drv_stats) in nicvf_remove()
2236 free_percpu(nic->drv_stats); in nicvf_remove()