]> git.baikalelectronics.ru Git - kernel.git/commit
igc: Clean up the hw_stats structure
authorSasha Neftin <sasha.neftin@intel.com>
Sun, 26 Jul 2020 20:52:18 +0000 (13:52 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 27 Jul 2020 15:49:32 +0000 (08:49 -0700)
commit87b6a4e1cec3cc4ff6b25b95df1fe95eab452d80
tree4bd0175335e3bceaddf50b6a85ef6b32641fd50d
parentdb70724cb0f88af58d9b2f9e46557748e6442b66
igc: Clean up the hw_stats structure

Remove ictxptc, ictxatc, cbtmpc, cbrdpc, cbrmpc and htcbdpc fields from
the hw_stats structure. Accordance to the i225 device
specification these fields not in use.
This patch come to clean up the driver code.

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igc/igc_hw.h
drivers/net/ethernet/intel/igc/igc_mac.c
drivers/net/ethernet/intel/igc/igc_main.c
drivers/net/ethernet/intel/igc/igc_regs.h