svn commit: r266418 - head/sys/netinet
Adrian Chadd
adrian at FreeBSD.org
Sun May 18 22:30:12 UTC 2014
Author: adrian
Date: Sun May 18 22:30:12 2014
New Revision: 266418
URL: http://svnweb.freebsd.org/changeset/base/266418
Log:
Add the flowtype to the inpcb.
The flowid isn't enough to use as part of any RSS related CPU affinity
lookups - the RSS code would like to know what kind of hash it is.
Modified:
head/sys/netinet/in_pcb.h
Modified: head/sys/netinet/in_pcb.h
==============================================================================
--- head/sys/netinet/in_pcb.h Sun May 18 21:16:59 2014 (r266417)
+++ head/sys/netinet/in_pcb.h Sun May 18 22:30:12 2014 (r266418)
@@ -180,7 +180,8 @@ struct inpcb {
uint32_t inp_flowid; /* (x) flow id / queue id */
u_int inp_refcount; /* (i) refcount */
void *inp_pspare[5]; /* (x) route caching / general use */
- u_int inp_ispare[6]; /* (x) route caching / user cookie /
+ uint32_t inp_flowtype; /* (x) M_HASHTYPE value */
+ u_int inp_ispare[5]; /* (x) route caching / user cookie /
* general use */
/* Local and foreign ports, local and foreign addr. */
More information about the svn-src-all
mailing list