Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Nov 2008 10:35:46 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r184715 - head/sys/dev/cxgb
Message-ID:  <200811061035.mA6AZkPH053372@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811061035.mA6AZkPH053372>