]> Pileus Git - ~andy/linux/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)
commit87648cc925222f16c3bd119af8ae8e8fb2f3fe1d
treeabccca3a6779ad6f9879b2ae094ce04e51bdb953
parentd546a89362dcc35bc1aacf0e8e3b0da5a7d2dc89
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