Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2017 05:55:52 +0000 (UTC)
From:      Sepherosa Ziehau <sephe@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r324518 - head/sys/dev/ixgbe
Message-ID:  <201710110555.v9B5tqGL005572@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sephe
Date: Wed Oct 11 05:55:52 2017
New Revision: 324518
URL: https://svnweb.freebsd.org/changeset/base/324518

Log:
  ixgbe: Remove never defined UDP_IPV4_EX
  
  Reviewed by:	sbruno
  Sponsored by:	Microsoft
  Differential Revision:	https://reviews.freebsd.org/D12454

Modified:
  head/sys/dev/ixgbe/if_ix.c
  head/sys/dev/ixgbe/if_ixv.c
  head/sys/dev/ixgbe/ixgbe_rss.h

Modified: head/sys/dev/ixgbe/if_ix.c
==============================================================================
--- head/sys/dev/ixgbe/if_ix.c	Wed Oct 11 05:28:51 2017	(r324517)
+++ head/sys/dev/ixgbe/if_ix.c	Wed Oct 11 05:55:52 2017	(r324518)
@@ -469,9 +469,6 @@ ixgbe_initialize_rss_mapping(struct adapter *adapter)
 		mrqc |= IXGBE_MRQC_RSS_FIELD_IPV6_EX_TCP;
 	if (rss_hash_config & RSS_HASHTYPE_RSS_UDP_IPV4)
 		mrqc |= IXGBE_MRQC_RSS_FIELD_IPV4_UDP;
-	if (rss_hash_config & RSS_HASHTYPE_RSS_UDP_IPV4_EX)
-		device_printf(adapter->dev, "%s: RSS_HASHTYPE_RSS_UDP_IPV4_EX defined, but not supported\n",
-		    __func__);
 	if (rss_hash_config & RSS_HASHTYPE_RSS_UDP_IPV6)
 		mrqc |= IXGBE_MRQC_RSS_FIELD_IPV6_UDP;
 	if (rss_hash_config & RSS_HASHTYPE_RSS_UDP_IPV6_EX)

Modified: head/sys/dev/ixgbe/if_ixv.c
==============================================================================
--- head/sys/dev/ixgbe/if_ixv.c	Wed Oct 11 05:28:51 2017	(r324517)
+++ head/sys/dev/ixgbe/if_ixv.c	Wed Oct 11 05:55:52 2017	(r324518)
@@ -1403,9 +1403,6 @@ ixv_initialize_rss_mapping(struct adapter *adapter)
 		    __func__);
 	if (rss_hash_config & RSS_HASHTYPE_RSS_UDP_IPV4)
 		mrqc |= IXGBE_MRQC_RSS_FIELD_IPV4_UDP;
-	if (rss_hash_config & RSS_HASHTYPE_RSS_UDP_IPV4_EX)
-		device_printf(adapter->dev, "%s: RSS_HASHTYPE_RSS_UDP_IPV4_EX defined, but not supported\n",
-		    __func__);
 	if (rss_hash_config & RSS_HASHTYPE_RSS_UDP_IPV6)
 		mrqc |= IXGBE_MRQC_RSS_FIELD_IPV6_UDP;
 	if (rss_hash_config & RSS_HASHTYPE_RSS_UDP_IPV6_EX)

Modified: head/sys/dev/ixgbe/ixgbe_rss.h
==============================================================================
--- head/sys/dev/ixgbe/ixgbe_rss.h	Wed Oct 11 05:28:51 2017	(r324517)
+++ head/sys/dev/ixgbe/ixgbe_rss.h	Wed Oct 11 05:55:52 2017	(r324518)
@@ -49,7 +49,6 @@
 #define RSS_HASHTYPE_RSS_IPV6_EX       (1 << 5)
 #define RSS_HASHTYPE_RSS_TCP_IPV6_EX   (1 << 6)
 #define RSS_HASHTYPE_RSS_UDP_IPV4      (1 << 7)
-#define RSS_HASHTYPE_RSS_UDP_IPV4_EX   (1 << 8)
 #define RSS_HASHTYPE_RSS_UDP_IPV6      (1 << 9)
 #define RSS_HASHTYPE_RSS_UDP_IPV6_EX   (1 << 10)
 



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