Lines Matching refs:hashconfig
6833 hashconfig_to_hashen(int hashconfig) in hashconfig_to_hashen() argument
6837 if (hashconfig & RSS_HASHTYPE_RSS_IPV4) in hashconfig_to_hashen()
6839 if (hashconfig & RSS_HASHTYPE_RSS_IPV6) in hashconfig_to_hashen()
6841 if (hashconfig & RSS_HASHTYPE_RSS_UDP_IPV4) { in hashconfig_to_hashen()
6845 if (hashconfig & RSS_HASHTYPE_RSS_UDP_IPV6) { in hashconfig_to_hashen()
6849 if (hashconfig & RSS_HASHTYPE_RSS_TCP_IPV4) in hashconfig_to_hashen()
6851 if (hashconfig & RSS_HASHTYPE_RSS_TCP_IPV6) in hashconfig_to_hashen()
6861 int hashconfig = 0; in hashen_to_hashconfig() local
6873 hashconfig |= RSS_HASHTYPE_RSS_UDP_IPV4; in hashen_to_hashconfig()
6875 hashconfig |= RSS_HASHTYPE_RSS_UDP_IPV6; in hashen_to_hashconfig()
6878 hashconfig |= RSS_HASHTYPE_RSS_TCP_IPV4; in hashen_to_hashconfig()
6880 hashconfig |= RSS_HASHTYPE_RSS_TCP_IPV6; in hashen_to_hashconfig()
6882 hashconfig |= RSS_HASHTYPE_RSS_IPV4; in hashen_to_hashconfig()
6884 hashconfig |= RSS_HASHTYPE_RSS_IPV6; in hashen_to_hashconfig()
6886 return (hashconfig); in hashen_to_hashconfig()
6901 int hashconfig = rss_gethashconfig(); in vi_full_init() local
6958 vi->hashen = hashconfig_to_hashen(hashconfig); in vi_full_init()
6965 extra = hashen_to_hashconfig(vi->hashen) ^ hashconfig; in vi_full_init()
6974 MPASS((extra & hashconfig) == 0); in vi_full_init()
6979 hashconfig); in vi_full_init()