git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/hns3: support symmetric RSS
[dpdk.git]
/
drivers
/
net
/
sfc
/
base
/
ef10_nic.c
diff --git
a/drivers/net/sfc/base/ef10_nic.c
b/drivers/net/sfc/base/ef10_nic.c
index
b25ce19
..
34fa45e
100644
(file)
--- a/
drivers/net/sfc/base/ef10_nic.c
+++ b/
drivers/net/sfc/base/ef10_nic.c
@@
-1,7
+1,7
@@
/* SPDX-License-Identifier: BSD-3-Clause
*
/* 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"
*/
#include "efx.h"
@@
-2288,9
+2288,7
@@
ef10_nic_init(
efx_rc_t rc;
boolean_t alloc_vadaptor = B_TRUE;
efx_rc_t rc;
boolean_t alloc_vadaptor = B_TRUE;
- 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));
/* Enable reporting of some events (e.g. link change) */
if ((rc = efx_mcdi_log_ctrl(enp)) != 0)
/* Enable reporting of some events (e.g. link change) */
if ((rc = efx_mcdi_log_ctrl(enp)) != 0)