git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b059336
)
net/sfc/base: fix Medford2 FEC stats range
author
Andrew Rybchenko
<arybchenko@solarflare.com>
Thu, 3 May 2018 14:41:16 +0000
(15:41 +0100)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Mon, 14 May 2018 21:31:49 +0000
(22:31 +0100)
Fixes:
400ba3daeeb1
("net/sfc/base: decode Medford2 FEC stats if available")
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andy Moreton <amoreton@solarflare.com>
drivers/net/sfc/base/ef10_mac.c
patch
|
blob
|
history
diff --git
a/drivers/net/sfc/base/ef10_mac.c
b/drivers/net/sfc/base/ef10_mac.c
index
df2c0fb
..
3a62fd0
100644
(file)
--- 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)