ixgbe: add ethtool counters for OS2BMC
authorEmil Tantilov <emil.s.tantilov@intel.com>
Thu, 21 Apr 2011 08:43:43 +0000 (08:43 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 7 May 2011 10:15:45 +0000 (03:15 -0700)
commit58f6bcf96e95f042a2bee6ace238365cb8fb1ce6
tree7b4d1fb7e77edde1bc60c95e4c215fb686cfe2ad
parent67a74ee2a24957012661dc4400e4f8e363d25fbb
ixgbe: add ethtool counters for OS2BMC

OS2BMC registers are available for X540.
This patch adds ethtool counters based on those registers.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Evan Swanson <evan.swanson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe_ethtool.c
drivers/net/ixgbe/ixgbe_main.c
drivers/net/ixgbe/ixgbe_type.h