summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorsbruno <sbruno@FreeBSD.org>2015-12-24 17:05:25 +0000
committersbruno <sbruno@FreeBSD.org>2015-12-24 17:05:25 +0000
commitab462287a23c30ebb4e4a045151c96c10841c839 (patch)
treef395261134f79203e3143b6110f0c478d1416f6e /sys/dev
parent8f7b2c3360650b345f3d9a54759921409ac24ad0 (diff)
downloadFreeBSD-src-ab462287a23c30ebb4e4a045151c96c10841c839.zip
FreeBSD-src-ab462287a23c30ebb4e4a045151c96c10841c839.tar.gz
Fix NO INET6 build broken at svn r292674
Reported by: ohartman@zedat.fu-berlin.de
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ixgbe/ix_txrx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ixgbe/ix_txrx.c b/sys/dev/ixgbe/ix_txrx.c
index 2aee3f7..c0467be 100644
--- a/sys/dev/ixgbe/ix_txrx.c
+++ b/sys/dev/ixgbe/ix_txrx.c
@@ -808,12 +808,14 @@ ixgbe_tx_ctx_setup(struct tx_ring *txr, struct mbuf *mp,
*olinfo_status |= IXGBE_TXD_POPTS_IXSM << 8;
}
break;
+#ifdef INET6
case ETHERTYPE_IPV6:
ip6 = (struct ip6_hdr *)(l3d);
ip_hlen = sizeof(struct ip6_hdr);
ipproto = ip6->ip6_nxt;
type_tucmd_mlhl |= IXGBE_ADVTXD_TUCMD_IPV6;
break;
+#endif
default:
offload = FALSE;
break;
OpenPOWER on IntegriCloud