svn commit: r292751 - head/sys/dev/ixgbe
Bjoern A. Zeeb
bz at FreeBSD.org
Sat Dec 26 17:27:49 UTC 2015
Author: bz
Date: Sat Dec 26 17:27:48 2015
New Revision: 292751
URL: https://svnweb.freebsd.org/changeset/base/292751
Log:
Add missing #ifdef INET after r292674 to allow NOIP and NOINET kernels
to build.
Modified:
head/sys/dev/ixgbe/ix_txrx.c
Modified: head/sys/dev/ixgbe/ix_txrx.c
==============================================================================
--- head/sys/dev/ixgbe/ix_txrx.c Sat Dec 26 17:22:02 2015 (r292750)
+++ head/sys/dev/ixgbe/ix_txrx.c Sat Dec 26 17:27:48 2015 (r292751)
@@ -797,6 +797,7 @@ ixgbe_tx_ctx_setup(struct tx_ring *txr,
l3d = mtod(mp, caddr_t) + ehdrlen;
switch (etype) {
+#ifdef INET
case ETHERTYPE_IP:
ip = (struct ip *)(l3d);
ip_hlen = ip->ip_hl << 2;
@@ -808,6 +809,7 @@ ixgbe_tx_ctx_setup(struct tx_ring *txr,
*olinfo_status |= IXGBE_TXD_POPTS_IXSM << 8;
}
break;
+#endif
#ifdef INET6
case ETHERTYPE_IPV6:
ip6 = (struct ip6_hdr *)(l3d);
More information about the svn-src-head
mailing list