diff options
author | 2020-09-25 11:35:37 -0700 | |
---|---|---|
committer | 2020-11-10 15:03:14 -0800 | |
commit | 6b7ed22ae4c96a415001f0c3116ebee15bb8491a (patch) | |
tree | 4cc10da00a7228d56e841e2938cc248d20448327 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | i40e, xsk: uninitialized variable in i40e_clean_rx_irq_zc() (diff) | |
download | wireguard-linux-6b7ed22ae4c96a415001f0c3116ebee15bb8491a.tar.xz wireguard-linux-6b7ed22ae4c96a415001f0c3116ebee15bb8491a.zip |
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: c9a11c23ceb6 ("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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions