Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jan 2011 23:39:41 +0000 (UTC)
From:      Jack F Vogel <jfv@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r217132 - head/sys/dev/ixgbe
Message-ID:  <201101072339.p07NdfqF069489@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jfv
Date: Fri Jan  7 23:39:41 2011
New Revision: 217132
URL: http://svn.freebsd.org/changeset/base/217132

Log:
  CSUM flags need to be OS version sensitive in ixv code
  
  MFC in 3 days

Modified:
  head/sys/dev/ixgbe/ixv.h

Modified: head/sys/dev/ixgbe/ixv.h
==============================================================================
--- head/sys/dev/ixgbe/ixv.h	Fri Jan  7 23:19:13 2011	(r217131)
+++ head/sys/dev/ixgbe/ixv.h	Fri Jan  7 23:39:41 2011	(r217132)
@@ -175,7 +175,11 @@
 #define VFTA_SIZE			128
 
 /* Offload bits in mbuf flag */
+#if __FreeBSD_version >= 800000
 #define CSUM_OFFLOAD		(CSUM_IP|CSUM_TCP|CSUM_UDP|CSUM_SCTP)
+#else
+#define CSUM_OFFLOAD		(CSUM_IP|CSUM_TCP|CSUM_UDP)
+#endif
 
 /*
  *****************************************************************************



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