diff options
author | adrian <adrian@FreeBSD.org> | 2015-01-18 18:06:40 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2015-01-18 18:06:40 +0000 |
commit | f1c9d3f332580379ca3a231c238944ef36934596 (patch) | |
tree | 0df992ee1c079bbd4557d58c1256eb9f1542fd50 /sys/netinet/in_pcb.c | |
parent | 33d33ed0ad23b7885673bd9f26fd280aa15d1c88 (diff) | |
download | FreeBSD-src-f1c9d3f332580379ca3a231c238944ef36934596.zip FreeBSD-src-f1c9d3f332580379ca3a231c238944ef36934596.tar.gz |
Refactor / restructure the RSS code into generic, IPv4 and IPv6 specific
bits.
The motivation here is to eventually teach netisr and potentially
other networking subsystems a bit more about how RSS work queues / buckets
are configured so things have a hope of auto-configuring in the future.
* net/rss_config.[ch] takes care of the generic bits for doing
configuration, hash function selection, etc;
* topelitz.[ch] is now in net/ rather than netinet/;
* (and would be in libkern if it didn't directly include RSS_KEYSIZE;
that's a later thing to fix up.)
* netinet/in_rss.[ch] now just contains the IPv4 specific methods;
* and netinet/in6_rss.[ch] now just contains the IPv6 specific methods.
This should have no functional impact on anyone currently using
the RSS support.
Differential Revision: D1383
Reviewed by: gnn, jfv (intel driver bits)
Diffstat (limited to 'sys/netinet/in_pcb.c')
-rw-r--r-- | sys/netinet/in_pcb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index 6bec7ef..f8f2905 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -71,12 +71,12 @@ __FBSDID("$FreeBSD$"); #include <net/if_var.h> #include <net/if_types.h> #include <net/route.h> +#include <net/rss_config.h> #include <net/vnet.h> #if defined(INET) || defined(INET6) #include <netinet/in.h> #include <netinet/in_pcb.h> -#include <netinet/in_rss.h> #include <netinet/ip_var.h> #include <netinet/tcp_var.h> #include <netinet/udp.h> |