aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sfxge/common/efx_rx.c
diff options
context:
space:
mode:
authorAndrew Rybchenko <arybchik@FreeBSD.org>2016-05-11 06:16:53 +0000
committerAndrew Rybchenko <arybchik@FreeBSD.org>2016-05-11 06:16:53 +0000
commita4983a11aa49d27319c2bcc608e068f972998984 (patch)
tree08b53eb71493e7ede3477ec0c4523b8c382b3522 /sys/dev/sfxge/common/efx_rx.c
parentf49cb708cd405a7a0d66a8b30a7e29c841867652 (diff)
downloadsrc-a4983a11aa49d27319c2bcc608e068f972998984.tar.gz
src-a4983a11aa49d27319c2bcc608e068f972998984.zip
sfxge(4): remove Falcon-specific code paths from common code
Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D6289
Notes
Notes: svn path=/head/; revision=299403
Diffstat (limited to 'sys/dev/sfxge/common/efx_rx.c')
-rw-r--r--sys/dev/sfxge/common/efx_rx.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/sfxge/common/efx_rx.c b/sys/dev/sfxge/common/efx_rx.c
index 13d1f6933699..ad683b1e777c 100644
--- a/sys/dev/sfxge/common/efx_rx.c
+++ b/sys/dev/sfxge/common/efx_rx.c
@@ -692,11 +692,6 @@ fail1:
do { \
efx_oword_t oword; \
\
- if ((_enp)->en_family == EFX_FAMILY_FALCON) { \
- (_rc) = ((_ip) || (_tcp)) ? ENOTSUP : 0; \
- break; \
- } \
- \
EFX_BAR_READO((_enp), FR_CZ_RX_RSS_IPV6_REG3, &oword); \
EFX_SET_OWORD_FIELD(oword, \
FRF_CZ_RX_RSS_IPV6_THASH_ENABLE, 1); \
@@ -799,8 +794,6 @@ falconsiena_rx_scale_key_set(
if ((enp->en_features & EFX_FEATURE_IPV6) == 0)
goto done;
- EFSYS_ASSERT3U(enp->en_family, !=, EFX_FAMILY_FALCON);
-
byte = 0;
/* Write Toeplitz IPv6 hash key 3 */