Lines Matching refs:nfc
753 struct ethtool_rxnfc *nfc) in fm10k_set_rss_hash_opt() argument
763 if (nfc->data & ~(RXH_IP_SRC | RXH_IP_DST | in fm10k_set_rss_hash_opt()
767 switch (nfc->flow_type) { in fm10k_set_rss_hash_opt()
770 if (!(nfc->data & RXH_IP_SRC) || in fm10k_set_rss_hash_opt()
771 !(nfc->data & RXH_IP_DST) || in fm10k_set_rss_hash_opt()
772 !(nfc->data & RXH_L4_B_0_1) || in fm10k_set_rss_hash_opt()
773 !(nfc->data & RXH_L4_B_2_3)) in fm10k_set_rss_hash_opt()
777 if (!(nfc->data & RXH_IP_SRC) || in fm10k_set_rss_hash_opt()
778 !(nfc->data & RXH_IP_DST)) in fm10k_set_rss_hash_opt()
780 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in fm10k_set_rss_hash_opt()
794 if (!(nfc->data & RXH_IP_SRC) || in fm10k_set_rss_hash_opt()
795 !(nfc->data & RXH_IP_DST)) in fm10k_set_rss_hash_opt()
797 switch (nfc->data & (RXH_L4_B_0_1 | RXH_L4_B_2_3)) { in fm10k_set_rss_hash_opt()
818 if (!(nfc->data & RXH_IP_SRC) || in fm10k_set_rss_hash_opt()
819 !(nfc->data & RXH_IP_DST) || in fm10k_set_rss_hash_opt()
820 (nfc->data & RXH_L4_B_0_1) || in fm10k_set_rss_hash_opt()
821 (nfc->data & RXH_L4_B_2_3)) in fm10k_set_rss_hash_opt()