]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Fix internal indices of ethtool stats for EF10
authorEdward Cree <ecree@solarflare.com>
Wed, 25 Sep 2013 16:34:12 +0000 (17:34 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Fri, 4 Oct 2013 22:31:50 +0000 (23:31 +0100)
commitc9a663c97862d81303f27c2b547c5ec7436ed100
treeabccca3a6779ad6f9879b2ae094ce04e51bdb953
parentffa4174e5a6f2d1cbca0bda1acfe19a404bc8314
sfc: Fix internal indices of ethtool stats for EF10

The indices in nic_data->stats need to match the EF10_STAT_whatever
enum values.  In efx_nic_update_stats, only mask; gaps are removed in
efx_ef10_update_stats.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/nic.c