From: Andrew Rybchenko Date: Thu, 3 May 2018 14:41:16 +0000 (+0100) Subject: net/sfc/base: fix Medford2 FEC stats range X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=af6c389328f60267d4f75f3f4f3ad06125f645f1;p=dpdk.git net/sfc/base: fix Medford2 FEC stats range Fixes: 400ba3daeeb1 ("net/sfc/base: decode Medford2 FEC stats if available") Signed-off-by: Andrew Rybchenko Reviewed-by: Andy Moreton --- diff --git a/drivers/net/sfc/base/ef10_mac.c b/drivers/net/sfc/base/ef10_mac.c index df2c0fb809..3a62fd09ca 100644 --- a/drivers/net/sfc/base/ef10_mac.c +++ b/drivers/net/sfc/base/ef10_mac.c @@ -526,7 +526,7 @@ ef10_mac_stats_get_mask( if (encp->enc_fec_counters) { const struct efx_mac_stats_range ef10_fec[] = { { EFX_MAC_FEC_UNCORRECTED_ERRORS, - MC_CMD_MAC_FEC_CORRECTED_SYMBOLS_LANE3 }, + EFX_MAC_FEC_CORRECTED_SYMBOLS_LANE3 }, }; if ((rc = efx_mac_stats_mask_add_ranges(maskp, mask_size, ef10_fec, EFX_ARRAY_SIZE(ef10_fec))) != 0)