Date: Sat, 26 Dec 2015 17:27:48 +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: r292751 - head/sys/dev/ixgbe Message-ID: <201512261727.tBQHRmw6005306@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512261727.tBQHRmw6005306>