Lines Matching defs:hashconfig
6822 hashconfig_to_hashen(int hashconfig)
6826 if (hashconfig & RSS_HASHTYPE_RSS_IPV4)
6828 if (hashconfig & RSS_HASHTYPE_RSS_IPV6)
6830 if (hashconfig & RSS_HASHTYPE_RSS_UDP_IPV4) {
6834 if (hashconfig & RSS_HASHTYPE_RSS_UDP_IPV6) {
6838 if (hashconfig & RSS_HASHTYPE_RSS_TCP_IPV4)
6840 if (hashconfig & RSS_HASHTYPE_RSS_TCP_IPV6)
6850 int hashconfig = 0;
6862 hashconfig |= RSS_HASHTYPE_RSS_UDP_IPV4;
6864 hashconfig |= RSS_HASHTYPE_RSS_UDP_IPV6;
6867 hashconfig |= RSS_HASHTYPE_RSS_TCP_IPV4;
6869 hashconfig |= RSS_HASHTYPE_RSS_TCP_IPV6;
6871 hashconfig |= RSS_HASHTYPE_RSS_IPV4;
6873 hashconfig |= RSS_HASHTYPE_RSS_IPV6;
6875 return (hashconfig);
6890 int hashconfig = rss_gethashconfig();
6947 vi->hashen = hashconfig_to_hashen(hashconfig);
6954 extra = hashen_to_hashconfig(vi->hashen) ^ hashconfig;
6963 MPASS((extra & hashconfig) == 0);
6968 hashconfig);