linux/drivers/net/ethernet/intel
Vinicius Costa Gomes 6b7ed22ae4 igc: Fix returning wrong statistics
'igc_update_stats()' was not updating 'netdev->stats', so the returned
statistics, for example, requested by:

$ ip -s link show dev enp3s0

were not being updated and were always zero.

Fix by returning a set of statistics that are actually being
updated (adapter->stats64).

Fixes: c9a11c23ce ("igc: Add netdev")
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2020-11-10 15:03:14 -08:00
..
e1000 e1000: remove unused and incorrect code 2020-10-13 19:44:01 -07:00
e1000e e1000e: Add support for Meteor Lake 2020-09-28 14:42:46 -07:00
fm10k net: intel: Remove in_interrupt() warnings 2020-09-29 14:02:54 -07:00
i40e i40e, xsk: uninitialized variable in i40e_clean_rx_irq_zc() 2020-11-10 15:03:14 -08:00
iavf Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-10-05 18:40:01 -07:00
ice ice: fix adding IP4 IP6 Flow Director rules 2020-10-09 13:14:19 -07:00
igb net: intel: Remove in_interrupt() warnings 2020-09-29 14:02:54 -07:00
igbvf intel-ethernet: clean up W=1 warnings in kdoc 2020-09-25 16:28:59 -07:00
igc igc: Fix returning wrong statistics 2020-11-10 15:03:14 -08:00
ixgb intel: handle unused assignments 2020-09-25 16:28:59 -07:00
ixgbe net: remove unneeded break 2020-10-20 10:28:21 -07:00
ixgbevf net: intel: Remove in_interrupt() warnings 2020-09-29 14:02:54 -07:00
e100.c net: e100: Remove in_interrupt() usage and pointless GFP_ATOMIC allocation 2020-09-29 14:02:54 -07:00
Kconfig ice: implement device flash update via devlink 2020-07-28 17:07:06 -07:00
Makefile