net/bnxt: add TruFlow core identifier
[dpdk.git] / drivers / net / sfc / base / ef10_mac.c
index 28dba92..7e89f34 100644 (file)
@@ -1,7 +1,7 @@
 /* SPDX-License-Identifier: BSD-3-Clause
  *
- * Copyright (c) 2012-2018 Solarflare Communications Inc.
- * All rights reserved.
+ * Copyright(c) 2019-2020 Xilinx, Inc.
+ * Copyright(c) 2012-2019 Solarflare Communications Inc.
  */
 
 #include "efx.h"
@@ -351,9 +351,7 @@ ef10_mac_multicast_list_set(
        const efx_mac_ops_t *emop = epp->ep_emop;
        efx_rc_t rc;
 
-       EFSYS_ASSERT(enp->en_family == EFX_FAMILY_HUNTINGTON ||
-           enp->en_family == EFX_FAMILY_MEDFORD ||
-           enp->en_family == EFX_FAMILY_MEDFORD2);
+       EFSYS_ASSERT(EFX_FAMILY_IS_EF10(enp));
 
        if ((rc = emop->emo_reconfigure(enp)) != 0)
                goto fail1;