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. */
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to