From: Andy Moreton Date: Tue, 20 Feb 2018 07:33:40 +0000 (+0000) Subject: net/sfc/base: add Medford2 support to MON module X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=93b05b626ce75bc228f8733a06ed4b511186e693;p=dpdk.git net/sfc/base: add Medford2 support to MON module Signed-off-by: Andy Moreton Signed-off-by: Andrew Rybchenko --- diff --git a/drivers/net/sfc/base/mcdi_mon.c b/drivers/net/sfc/base/mcdi_mon.c index e4de0dab3b..0e44577633 100644 --- 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;