Lines Matching defs:hashconfig
7122 hashconfig_to_hashen(int hashconfig)
7126 if (hashconfig & RSS_HASHTYPE_RSS_IPV4)
7128 if (hashconfig & RSS_HASHTYPE_RSS_IPV6)
7130 if (hashconfig & RSS_HASHTYPE_RSS_UDP_IPV4) {
7134 if (hashconfig & RSS_HASHTYPE_RSS_UDP_IPV6) {
7138 if (hashconfig & RSS_HASHTYPE_RSS_TCP_IPV4)
7140 if (hashconfig & RSS_HASHTYPE_RSS_TCP_IPV6)
7150 int hashconfig = 0;
7162 hashconfig |= RSS_HASHTYPE_RSS_UDP_IPV4;
7164 hashconfig |= RSS_HASHTYPE_RSS_UDP_IPV6;
7167 hashconfig |= RSS_HASHTYPE_RSS_TCP_IPV4;
7169 hashconfig |= RSS_HASHTYPE_RSS_TCP_IPV6;
7171 hashconfig |= RSS_HASHTYPE_RSS_IPV4;
7173 hashconfig |= RSS_HASHTYPE_RSS_IPV6;
7175 return (hashconfig);
7190 int hashconfig = rss_gethashconfig();
7247 vi->hashen = hashconfig_to_hashen(hashconfig);
7254 extra = hashen_to_hashconfig(vi->hashen) ^ hashconfig;
7263 MPASS((extra & hashconfig) == 0);
7268 hashconfig);