Lines Matching refs:hw_stats
370 struct txgbevf_hw_stats *hw_stats = (struct txgbevf_hw_stats *) in txgbevf_update_stats() local
377 hw_stats->qp[i].last_vfgprc, hw_stats->qp[i].vfgprc); in txgbevf_update_stats()
381 hw_stats->qp[i].last_vfgorc, hw_stats->qp[i].vfgorc); in txgbevf_update_stats()
385 hw_stats->qp[i].last_vfmprc, hw_stats->qp[i].vfmprc); in txgbevf_update_stats()
392 hw_stats->qp[i].last_vfgptc, hw_stats->qp[i].vfgptc); in txgbevf_update_stats()
396 hw_stats->qp[i].last_vfgotc, hw_stats->qp[i].vfgotc); in txgbevf_update_stats()
405 struct txgbevf_hw_stats *hw_stats = (struct txgbevf_hw_stats *) in txgbevf_dev_xstats_get() local
420 xstats[i].value = *(uint64_t *)(((char *)hw_stats) + in txgbevf_dev_xstats_get()
430 struct txgbevf_hw_stats *hw_stats = (struct txgbevf_hw_stats *) in txgbevf_dev_stats_get() local
445 stats->ipackets += hw_stats->qp[i].vfgprc; in txgbevf_dev_stats_get()
446 stats->ibytes += hw_stats->qp[i].vfgorc; in txgbevf_dev_stats_get()
447 stats->opackets += hw_stats->qp[i].vfgptc; in txgbevf_dev_stats_get()
448 stats->obytes += hw_stats->qp[i].vfgotc; in txgbevf_dev_stats_get()
457 struct txgbevf_hw_stats *hw_stats = (struct txgbevf_hw_stats *) in txgbevf_dev_stats_reset() local
466 hw_stats->qp[i].vfgprc = 0; in txgbevf_dev_stats_reset()
467 hw_stats->qp[i].vfgorc = 0; in txgbevf_dev_stats_reset()
468 hw_stats->qp[i].vfgptc = 0; in txgbevf_dev_stats_reset()
469 hw_stats->qp[i].vfgotc = 0; in txgbevf_dev_stats_reset()