svn commit: r184715 - head/sys/dev/cxgb
Bjoern A. Zeeb
bz at FreeBSD.org
Thu Nov 6 02:35:47 PST 2008
Author: bz
Date: Thu Nov 6 10:35:46 2008
New Revision: 184715
URL: http://svn.freebsd.org/changeset/base/184715
Log:
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
Modified:
head/sys/dev/cxgb/cxgb_osdep.h
Modified: head/sys/dev/cxgb/cxgb_osdep.h
==============================================================================
--- head/sys/dev/cxgb/cxgb_osdep.h Thu Nov 6 10:17:57 2008 (r184714)
+++ head/sys/dev/cxgb/cxgb_osdep.h Thu Nov 6 10:35:46 2008 (r184715)
@@ -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
More information about the svn-src-head
mailing list