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:
f67e471
)
net/sfc/base: allow to use PHY stats on Huntington/Medford
author
Mark Spender
<mspender@solarflare.com>
Thu, 16 Nov 2017 08:04:28 +0000
(08:04 +0000)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000
(18:47 +0100)
EFSYS_OPT_PHY_STATS can be used with Huntington or Medford, not just Siena.
Signed-off-by: Mark Spender <mspender@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/efx_check.h
patch
|
blob
|
history
diff --git
a/drivers/net/sfc/base/efx_check.h
b/drivers/net/sfc/base/efx_check.h
index
4ed7148
..
33c16a6
100644
(file)
--- a/
drivers/net/sfc/base/efx_check.h
+++ b/
drivers/net/sfc/base/efx_check.h
@@
-259,8
+259,8
@@
#if EFSYS_OPT_PHY_STATS
/* Support PHY statistics */
-# if !
EFSYS_OPT_SIENA
-# error "PHY_STATS requires SIENA"
+# if !
(EFSYS_OPT_SIENA || EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD)
+# error "PHY_STATS requires SIENA
or HUNTINGTON or MEDFORD
"
# endif
#endif /* EFSYS_OPT_PHY_STATS */