Date: Fri, 7 Jan 2011 19:00:23 GMT From: Andrew Boyer <aboyer@averesystems.com> To: freebsd-net@FreeBSD.org Subject: Re: kern/150247: [patch] [ixgbe] Version in -current won't build on 7.x systems Message-ID: <201101071900.p07J0Nm7062045@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/150247; it has been noted by GNATS.
From: Andrew Boyer <aboyer@averesystems.com>
To: bug-followup@FreeBSD.org,
Andrew Boyer <aboyer@averesystems.com>
Cc:
Subject: Re: kern/150247: [patch] [ixgbe] Version in -current won't build on 7.x systems
Date: Fri, 7 Jan 2011 13:36:15 -0500
The problem has spread to the new file ixv.h:
--- ixv.h 2010-11-26 17:46:32.000000000 -0500
+++ ixv.h 2011-01-07 13:08:45.000000000 -0500
@@ -175,7 +175,11 @@
#define VFTA_SIZE 128
=20
/* Offload bits in mbuf flag */
+#if __FreeBSD_version >=3D 800000
#define CSUM_OFFLOAD (CSUM_IP|CSUM_TCP|CSUM_UDP|CSUM_SCTP)
+#else
+#define CSUM_OFFLOAD (CSUM_IP|CSUM_TCP|CSUM_UDP)
+#endif
=20
/*
=
**************************************************************************=
***
@@ -400,7 +404,7 @@
#define IXV_TX_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->tx_mtx, =
MA_OWNED)
=20
/* Workaround to make 8.0 buildable */
-#if __FreeBSD_version < 800504
+#if __FreeBSD_version >=3D 800000 && __FreeBSD_version < 800504
static __inline int
drbr_needs_enqueue(struct ifnet *ifp, struct buf_ring *br)
{
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101071900.p07J0Nm7062045>
