Lines Matching refs:ethdev_rss
389 nicvf_rss_ethdev_to_nic(struct nicvf *nic, uint64_t ethdev_rss) in nicvf_rss_ethdev_to_nic() argument
393 if (ethdev_rss & RTE_ETH_RSS_IPV4) in nicvf_rss_ethdev_to_nic()
396 if (ethdev_rss & RTE_ETH_RSS_IPV6) in nicvf_rss_ethdev_to_nic()
399 if (ethdev_rss & RTE_ETH_RSS_NONFRAG_IPV4_UDP) in nicvf_rss_ethdev_to_nic()
402 if (ethdev_rss & RTE_ETH_RSS_NONFRAG_IPV4_TCP) in nicvf_rss_ethdev_to_nic()
405 if (ethdev_rss & RTE_ETH_RSS_NONFRAG_IPV6_UDP) in nicvf_rss_ethdev_to_nic()
408 if (ethdev_rss & RTE_ETH_RSS_NONFRAG_IPV6_TCP) in nicvf_rss_ethdev_to_nic()
411 if (ethdev_rss & RTE_ETH_RSS_PORT) in nicvf_rss_ethdev_to_nic()
415 if (ethdev_rss & RTE_ETH_RSS_VXLAN) in nicvf_rss_ethdev_to_nic()
418 if (ethdev_rss & RTE_ETH_RSS_GENEVE) in nicvf_rss_ethdev_to_nic()
421 if (ethdev_rss & RTE_ETH_RSS_NVGRE) in nicvf_rss_ethdev_to_nic()
431 uint64_t ethdev_rss = 0; in nicvf_rss_nic_to_ethdev() local
434 ethdev_rss |= (RTE_ETH_RSS_IPV4 | RTE_ETH_RSS_IPV6); in nicvf_rss_nic_to_ethdev()
437 ethdev_rss |= (RTE_ETH_RSS_NONFRAG_IPV4_TCP | in nicvf_rss_nic_to_ethdev()
441 ethdev_rss |= (RTE_ETH_RSS_NONFRAG_IPV4_UDP | in nicvf_rss_nic_to_ethdev()
445 ethdev_rss |= RTE_ETH_RSS_PORT; in nicvf_rss_nic_to_ethdev()
449 ethdev_rss |= RTE_ETH_RSS_VXLAN; in nicvf_rss_nic_to_ethdev()
452 ethdev_rss |= RTE_ETH_RSS_GENEVE; in nicvf_rss_nic_to_ethdev()
455 ethdev_rss |= RTE_ETH_RSS_NVGRE; in nicvf_rss_nic_to_ethdev()
457 return ethdev_rss; in nicvf_rss_nic_to_ethdev()