Lines Matching refs:ethdev_rss
403 nicvf_rss_ethdev_to_nic(struct nicvf *nic, uint64_t ethdev_rss) in nicvf_rss_ethdev_to_nic() argument
407 if (ethdev_rss & ETH_RSS_IPV4) in nicvf_rss_ethdev_to_nic()
410 if (ethdev_rss & ETH_RSS_IPV6) in nicvf_rss_ethdev_to_nic()
413 if (ethdev_rss & ETH_RSS_NONFRAG_IPV4_UDP) in nicvf_rss_ethdev_to_nic()
416 if (ethdev_rss & ETH_RSS_NONFRAG_IPV4_TCP) in nicvf_rss_ethdev_to_nic()
419 if (ethdev_rss & ETH_RSS_NONFRAG_IPV6_UDP) in nicvf_rss_ethdev_to_nic()
422 if (ethdev_rss & ETH_RSS_NONFRAG_IPV6_TCP) in nicvf_rss_ethdev_to_nic()
425 if (ethdev_rss & ETH_RSS_PORT) in nicvf_rss_ethdev_to_nic()
429 if (ethdev_rss & ETH_RSS_VXLAN) in nicvf_rss_ethdev_to_nic()
432 if (ethdev_rss & ETH_RSS_GENEVE) in nicvf_rss_ethdev_to_nic()
435 if (ethdev_rss & ETH_RSS_NVGRE) in nicvf_rss_ethdev_to_nic()
445 uint64_t ethdev_rss = 0; in nicvf_rss_nic_to_ethdev() local
448 ethdev_rss |= (ETH_RSS_IPV4 | ETH_RSS_IPV6); in nicvf_rss_nic_to_ethdev()
451 ethdev_rss |= (ETH_RSS_NONFRAG_IPV4_TCP | in nicvf_rss_nic_to_ethdev()
455 ethdev_rss |= (ETH_RSS_NONFRAG_IPV4_UDP | in nicvf_rss_nic_to_ethdev()
459 ethdev_rss |= ETH_RSS_PORT; in nicvf_rss_nic_to_ethdev()
463 ethdev_rss |= ETH_RSS_VXLAN; in nicvf_rss_nic_to_ethdev()
466 ethdev_rss |= ETH_RSS_GENEVE; in nicvf_rss_nic_to_ethdev()
469 ethdev_rss |= ETH_RSS_NVGRE; in nicvf_rss_nic_to_ethdev()
471 return ethdev_rss; in nicvf_rss_nic_to_ethdev()