aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sfxge/common/efx_check.h
diff options
context:
space:
mode:
authorAndrew Rybchenko <arybchik@FreeBSD.org>2018-11-28 09:23:52 +0000
committerAndrew Rybchenko <arybchik@FreeBSD.org>2018-11-28 09:23:52 +0000
commitedaff290d6a48b996a1410d7f9efe68688250b4f (patch)
tree809863fc198ba3b96bee9faa7c12351abb168891 /sys/dev/sfxge/common/efx_check.h
parentef3b3edeb61bf598794e5f390016ce64c98e1f13 (diff)
downloadsrc-edaff290d6a48b996a1410d7f9efe68688250b4f.tar.gz
src-edaff290d6a48b996a1410d7f9efe68688250b4f.zip
sfxge(4): add Medford2 support for tunnel encapsulations
Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18203
Notes
Notes: svn path=/head/; revision=341128
Diffstat (limited to 'sys/dev/sfxge/common/efx_check.h')
-rw-r--r--sys/dev/sfxge/common/efx_check.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sfxge/common/efx_check.h b/sys/dev/sfxge/common/efx_check.h
index 8ce86f1f273b..d7f8aaae9123 100644
--- a/sys/dev/sfxge/common/efx_check.h
+++ b/sys/dev/sfxge/common/efx_check.h
@@ -365,8 +365,8 @@
/* Support hardware assistance for tunnels */
#if EFSYS_OPT_TUNNEL
-# if !EFSYS_OPT_MEDFORD
-# error "TUNNEL requires MEDFORD"
+# if !(EFSYS_OPT_MEDFORD || EFSYS_OPT_MEDFORD2)
+# error "TUNNEL requires MEDFORD or MEDFORD2"
# endif
#endif /* EFSYS_OPT_TUNNEL */