Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 May 2014 00:09:12 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r266276 - head/sys/netinet
Message-ID:  <201405170009.s4H09CbY021811@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Sat May 17 00:09:12 2014
New Revision: 266276
URL: http://svnweb.freebsd.org/changeset/base/266276

Log:
  Reserve IP_FLOWID, IP_FLOWTYPE, IP_RSSCPUID socket option IDs for
  near-term future use.
  
  These are intended to fetch the current flow id, flow hash type
  (M_HASHTYPE_* from the sys/mbuf.h) and if RSS is enabled, the
  RSS destined CPU ID for the receive path.

Modified:
  head/sys/netinet/in.h

Modified: head/sys/netinet/in.h
==============================================================================
--- head/sys/netinet/in.h	Fri May 16 23:49:40 2014	(r266275)
+++ head/sys/netinet/in.h	Sat May 17 00:09:12 2014	(r266276)
@@ -468,6 +468,9 @@ __END_DECLS
 #define	IP_MINTTL		66   /* minimum TTL for packet or drop */
 #define	IP_DONTFRAG		67   /* don't fragment packet */
 #define	IP_RECVTOS		68   /* bool; receive IP TOS w/dgram */
+#define	IP_FLOWID		69   /* flow id for the given socket/inp */
+#define	IP_FLOWTYPE		70   /* flow type (M_HASHTYPE) */
+#define	IP_RSSCPUID		71   /* RSS flowid -> CPU id mapping */
 
 /* IPv4 Source Filter Multicast API [RFC3678] */
 #define	IP_ADD_SOURCE_MEMBERSHIP	70   /* join a source-specific group */



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