linux/drivers/net/ethernet/intel/ixgbevf
Emil Tantilov d72d6c19b5 ixgbevf: refactor ethtool stats handling
This brings the logic closer to how we handle the stats in ixgbe and it
sets us up for introducing per-queue stats.

Use IXGBEVF_STAT and IXGBEVF_NETDEV_STAT for accessing the driver and
netdev stats respectively. This way we don't have to calculate the
stats based on register values which could lead to the counters not
being initialized properly when the interface is down.

IXGBEVF_QUEUE_STATS_LEN is set to include the number of queues.

Also some defines were renamed to use the IXGBEVF prefix.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2016-04-25 03:59:04 -07:00
..
defines.h ixgbevf: Set Rx hash type for ingress packets 2015-07-17 19:59:07 -07:00
ethtool.c ixgbevf: refactor ethtool stats handling 2016-04-25 03:59:04 -07:00
ixgbevf_main.c ixgbe/ixgbevf: Add support for bulk free in Tx cleanup & cleanup boolean logic 2016-04-07 15:55:25 -07:00
ixgbevf.h ixgbevf: use bit operations for setting and checking resets 2016-04-04 12:51:26 -07:00
Makefile
mbx.c ixgbevf: Fix code comments and whitespace 2015-03-13 15:41:07 -07:00
mbx.h ixgbe, ixgbevf: Add new mbox API xcast mode 2015-10-23 05:52:26 -07:00
regs.h ixgbevf: Fix code comments and whitespace 2015-03-13 15:41:07 -07:00
vf.c ixgbevf: fix error code path when setting MAC address 2016-03-29 22:53:42 -07:00
vf.h ixgbe, ixgbevf: Add new mbox API xcast mode 2015-10-23 05:52:26 -07:00