Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netinet6/in6_rss.c
Show First 20 Lines • Show All 141 Lines • ▼ Show 20 Lines | if ((proto == IPPROTO_TCP) && | ||||
/* RSS doesn't hash on other protocols like SCTP; so 2-tuple */ | /* RSS doesn't hash on other protocols like SCTP; so 2-tuple */ | ||||
hash = rss_hash_ip6_2tuple(s, d); | hash = rss_hash_ip6_2tuple(s, d); | ||||
*hashval = hash; | *hashval = hash; | ||||
*hashtype = M_HASHTYPE_RSS_IPV6; | *hashtype = M_HASHTYPE_RSS_IPV6; | ||||
return (0); | return (0); | ||||
} | } | ||||
/* No configured available hashtypes! */ | /* No configured available hashtypes! */ | ||||
printf("%s: no available hashtypes!\n", __func__); | RSS_DEBUG("no available hashtypes!\n"); | ||||
return (-1); | return (-1); | ||||
} | } |