diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2015-01-18 18:06:40 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2015-01-18 18:06:40 +0000 |
commit | b2bdc62a95a0241981d79c46eb79e3208eeec5f8 (patch) | |
tree | 0df992ee1c079bbd4557d58c1256eb9f1542fd50 /sys/dev/e1000 | |
parent | 6ae52b27b6955cf609e794e15681b392d720ad97 (diff) | |
download | src-b2bdc62a95a0241981d79c46eb79e3208eeec5f8.tar.gz src-b2bdc62a95a0241981d79c46eb79e3208eeec5f8.zip |
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)
Notes
Notes:
svn path=/head/; revision=277331
Diffstat (limited to 'sys/dev/e1000')
-rw-r--r-- | sys/dev/e1000/if_igb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/e1000/if_igb.c b/sys/dev/e1000/if_igb.c index 6e598c4bba60..c875945845f9 100644 --- a/sys/dev/e1000/if_igb.c +++ b/sys/dev/e1000/if_igb.c @@ -73,6 +73,9 @@ #include <net/if_arp.h> #include <net/if_dl.h> #include <net/if_media.h> +#ifdef RSS +#include <net/rss_config.h> +#endif #include <net/if_types.h> #include <net/if_vlan_var.h> @@ -85,9 +88,6 @@ #include <netinet/tcp.h> #include <netinet/tcp_lro.h> #include <netinet/udp.h> -#ifdef RSS -#include <netinet/in_rss.h> -#endif #include <machine/in_cksum.h> #include <dev/led/led.h> |