diff options
author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2008-11-06 10:35:46 +0000 |
---|---|---|
committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2008-11-06 10:35:46 +0000 |
commit | ca6bc428e7d1e610d3677443c5ba4d66a331cb0a (patch) | |
tree | b9daab6ad8caf0df59428d2d1ef1a04a91ae1788 /sys/dev/cxgb/cxgb_osdep.h | |
parent | 34627f9384b99b23c0a20d8f17e7e535be421314 (diff) | |
download | src-ca6bc428e7d1e610d3677443c5ba4d66a331cb0a.tar.gz src-ca6bc428e7d1e610d3677443c5ba4d66a331cb0a.zip |
For now our LRO code (tcp_lro.c) only supports IPv4 properly thus
only enable if INET is on.
Reviewed by: kmacy
MFC after: 2 months
Notes
Notes:
svn path=/head/; revision=184715
Diffstat (limited to 'sys/dev/cxgb/cxgb_osdep.h')
-rw-r--r-- | sys/dev/cxgb/cxgb_osdep.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/cxgb/cxgb_osdep.h b/sys/dev/cxgb/cxgb_osdep.h index 773d12db7bb0..ba37cb94d419 100644 --- a/sys/dev/cxgb/cxgb_osdep.h +++ b/sys/dev/cxgb/cxgb_osdep.h @@ -110,7 +110,10 @@ struct t3_mbuf_hdr { #endif #if __FreeBSD_version >= 701000 +#include "opt_inet.h" +#ifdef INET #define LRO_SUPPORTED +#endif #define TOE_SUPPORTED #endif |