Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet6/in6_pcbgroup.c
Show All 31 Lines | |||||
__FBSDID("$FreeBSD$"); | __FBSDID("$FreeBSD$"); | ||||
#include "opt_inet6.h" | #include "opt_inet6.h" | ||||
#include "opt_rss.h" | #include "opt_rss.h" | ||||
#include <sys/param.h> | #include <sys/param.h> | ||||
#include <sys/mbuf.h> | #include <sys/mbuf.h> | ||||
#include <net/rss_config.h> | |||||
#include <netinet/in.h> | #include <netinet/in.h> | ||||
#include <netinet/in_pcb.h> | #include <netinet/in_pcb.h> | ||||
#include <netinet/in_rss.h> | |||||
#ifdef INET6 | #ifdef INET6 | ||||
bz: Outside #ifdef INET6 | |||||
#include <netinet6/in6_pcb.h> | #include <netinet6/in6_pcb.h> | ||||
#include <netinet6/in6_rss.h> | |||||
#endif /* INET6 */ | #endif /* INET6 */ | ||||
/* | /* | ||||
* Given a hash of whatever the covered tuple might be, return a pcbgroup | * Given a hash of whatever the covered tuple might be, return a pcbgroup | ||||
* index. Where RSS is supported, try to align bucket selection with RSS CPU | * index. Where RSS is supported, try to align bucket selection with RSS CPU | ||||
* affinity strategy. | * affinity strategy. | ||||
*/ | */ | ||||
static __inline u_int | static __inline u_int | ||||
▲ Show 20 Lines • Show All 96 Lines • Show Last 20 Lines |
Outside #ifdef INET6