Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet6/in6_rss.h
Show All 36 Lines | |||||
/* | /* | ||||
* Network stack interface to generate a hash for a protocol tuple. | * Network stack interface to generate a hash for a protocol tuple. | ||||
*/ | */ | ||||
uint32_t rss_hash_ip6_4tuple(const struct in6_addr *src, u_short srcport, | uint32_t rss_hash_ip6_4tuple(const struct in6_addr *src, u_short srcport, | ||||
const struct in6_addr *dst, u_short dstport); | const struct in6_addr *dst, u_short dstport); | ||||
uint32_t rss_hash_ip6_2tuple(const struct in6_addr *src, | uint32_t rss_hash_ip6_2tuple(const struct in6_addr *src, | ||||
const struct in6_addr *dst); | const struct in6_addr *dst); | ||||
/* | |||||
* Functions to calculate a software RSS hash for a given mbuf or | |||||
* packet detail. | |||||
*/ | |||||
int rss_proto_software_hash_v6(const struct in6_addr *src, | |||||
const struct in6_addr *dst, u_short src_port, | |||||
u_short dst_port, int proto, uint32_t *hashval, | |||||
uint32_t *hashtype); | |||||
#endif /* !_NETINET6_IN6_RSS_H_ */ | #endif /* !_NETINET6_IN6_RSS_H_ */ |