Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Dec 2015 17:05:25 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r292697 - head/sys/dev/ixgbe
Message-ID:  <201512241705.tBOH5Pss035373@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbruno
Date: Thu Dec 24 17:05:25 2015
New Revision: 292697
URL: https://svnweb.freebsd.org/changeset/base/292697

Log:
  Fix NO INET6 build broken at svn r292674
  
  Reported by: ohartman@zedat.fu-berlin.de

Modified:
  head/sys/dev/ixgbe/ix_txrx.c

Modified: head/sys/dev/ixgbe/ix_txrx.c
==============================================================================
--- head/sys/dev/ixgbe/ix_txrx.c	Thu Dec 24 16:55:09 2015	(r292696)
+++ head/sys/dev/ixgbe/ix_txrx.c	Thu Dec 24 17:05:25 2015	(r292697)
@@ -808,12 +808,14 @@ ixgbe_tx_ctx_setup(struct tx_ring *txr, 
 				*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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512241705.tBOH5Pss035373>