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:
4ae9e50
)
net/sfc/base: add Medford2 support to MON module
author
Andy Moreton
<amoreton@solarflare.com>
Tue, 20 Feb 2018 07:33:40 +0000
(07:33 +0000)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:42 +0000
(14:08 +0200)
Signed-off-by: Andy Moreton <amoreton@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/mcdi_mon.c
patch
|
blob
|
history
diff --git
a/drivers/net/sfc/base/mcdi_mon.c
b/drivers/net/sfc/base/mcdi_mon.c
index
e4de0da
..
0e44577
100644
(file)
--- a/
drivers/net/sfc/base/mcdi_mon.c
+++ b/
drivers/net/sfc/base/mcdi_mon.c
@@
-476,6
+476,11
@@
mcdi_mon_cfg_build(
case EFX_FAMILY_MEDFORD:
encp->enc_mon_type = EFX_MON_SFC92X0;
break;
+#endif
+#if EFSYS_OPT_MEDFORD2
+ case EFX_FAMILY_MEDFORD2:
+ encp->enc_mon_type = EFX_MON_SFC92X0;
+ break;
#endif
default:
rc = EINVAL;