Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2017 06:31:55 +0000
From:      Phabricator <phabric-noreply@FreeBSD.org>
To:        freebsd-net@freebsd.org
Subject:   [Differential] D12453: mbuf: Remove UDP_IPV4_EX, which is never defined.
Message-ID:  <07cfec04d520e9261052384bb95b6a1d@localhost.localdomain>
In-Reply-To: <differential-rev-PHID-DREV-6kyidkqupmcyjfhm6yfd-req@FreeBSD.org>
References:  <differential-rev-PHID-DREV-6kyidkqupmcyjfhm6yfd-req@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
This revision was automatically updated to reflect the committed changes.
Closed by commit rS324052: mbuf: Remove UDP_IPV4_EX, which was never defined. (authored by sephe, committed by ).

CHANGED PRIOR TO COMMIT
  https://reviews.freebsd.org/D12453?vs=33300&id=33483#toc

REPOSITORY
  rS FreeBSD src repository

CHANGES SINCE LAST UPDATE
  https://reviews.freebsd.org/D12453?vs=33300&id=33483

REVISION DETAIL
  https://reviews.freebsd.org/D12453

AFFECTED FILES
  head/sys/sys/mbuf.h

EMAIL PREFERENCES
  https://reviews.freebsd.org/settings/panel/emailpreferences/

To: sepherosa_gmail.com, rwatson, adrian, gallatin, freebsd-net-list, glebius

[-- Attachment #2 --]
diff --git a/head/sys/sys/mbuf.h b/head/sys/sys/mbuf.h
--- a/head/sys/sys/mbuf.h
+++ b/head/sys/sys/mbuf.h
@@ -335,6 +335,16 @@
  * for ordering and distribution without explicit affinity.  Additionally,
  * M_HASHTYPE_OPAQUE_HASH indicates that the flow identifier has hash
  * properties.
+ *
+ * The meaning of the IPV6_EX suffix:
+ * "o  Home address from the home address option in the IPv6 destination
+ *     options header.  If the extension header is not present, use the Source
+ *     IPv6 Address.
+ *  o  IPv6 address that is contained in the Routing-Header-Type-2 from the
+ *     associated extension header.  If the extension header is not present,
+ *     use the Destination IPv6 Address."
+ * Quoted from:
+ * https://docs.microsoft.com/en-us/windows-hardware/drivers/network/rss-hashing-types#ndishashipv6ex
  */
 #define	M_HASHTYPE_HASHPROP		0x80	/* has hash properties */
 #define	M_HASHTYPE_HASH(t)		(M_HASHTYPE_HASHPROP | (t))
@@ -348,10 +358,7 @@
 							    * ext hdrs */
 #define	M_HASHTYPE_RSS_TCP_IPV6_EX	M_HASHTYPE_HASH(6) /* TCPv6 4-tuple +
 							    * ext hdrs */
-/* Non-standard RSS hash types */
 #define	M_HASHTYPE_RSS_UDP_IPV4		M_HASHTYPE_HASH(7) /* IPv4 UDP 4-tuple*/
-#define	M_HASHTYPE_RSS_UDP_IPV4_EX	M_HASHTYPE_HASH(8) /* IPv4 UDP 4-tuple +
-							    * ext hdrs */
 #define	M_HASHTYPE_RSS_UDP_IPV6		M_HASHTYPE_HASH(9) /* IPv6 UDP 4-tuple*/
 #define	M_HASHTYPE_RSS_UDP_IPV6_EX	M_HASHTYPE_HASH(10)/* IPv6 UDP 4-tuple +
 							    * ext hdrs */


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