diff options
author | jfv <jfv@FreeBSD.org> | 2011-01-07 23:39:41 +0000 |
---|---|---|
committer | jfv <jfv@FreeBSD.org> | 2011-01-07 23:39:41 +0000 |
commit | 16de4d95f52c6e680c13464902c761f154b200af (patch) | |
tree | 370e4a7f3a6d9a74adedf22f94ca7d2cb95f1dcc | |
parent | cc26d4fc8dc1cf2112517d3d31fcb74250a19f4f (diff) | |
download | FreeBSD-src-16de4d95f52c6e680c13464902c761f154b200af.zip FreeBSD-src-16de4d95f52c6e680c13464902c761f154b200af.tar.gz |
CSUM flags need to be OS version sensitive in ixv code
MFC in 3 days
-rw-r--r-- | sys/dev/ixgbe/ixv.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/ixgbe/ixv.h b/sys/dev/ixgbe/ixv.h index 142f7cd..32a682e 100644 --- a/sys/dev/ixgbe/ixv.h +++ b/sys/dev/ixgbe/ixv.h @@ -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 /* ***************************************************************************** |