38 static void iceDeviceSetRSSHashFunction(uint64_t *rss_hf)
40 #if RTE_VERSION < RTE_VERSION_NUM(20, 0, 0, 0)
41 *rss_hf = RTE_ETH_RSS_FRAG_IPV4 | RTE_ETH_RSS_NONFRAG_IPV4_OTHER | RTE_ETH_RSS_FRAG_IPV6 |
42 RTE_ETH_RSS_NONFRAG_IPV6_OTHER;
44 *rss_hf = RTE_ETH_RSS_IPV4 | RTE_ETH_RSS_FRAG_IPV4 | RTE_ETH_RSS_NONFRAG_IPV4_OTHER |
45 RTE_ETH_RSS_IPV6 | RTE_ETH_RSS_FRAG_IPV6 | RTE_ETH_RSS_NONFRAG_IPV6_OTHER;
49 void iceDeviceSetRSSConf(
struct rte_eth_rss_conf *rss_conf)
51 iceDeviceSetRSSHashFunction(&rss_conf->rss_hf);
52 rss_conf->rss_key_len = 52;