]> 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)
commit92eea7a29ab8d966f029a719506bf6efb459466c
treeabccca3a6779ad6f9879b2ae094ce04e51bdb953
parent81b6f5e33b0458619fb2230ce50957db1d4838d1
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