Home
last modified time | relevance | path

Searched refs:hash_sets (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c834 u8 hash_sets = nfc->data & RXH_L4_B_0_1 ? HCLGEVF_S_PORT_BIT : 0; in hclgevf_get_rss_hash_bits() local
837 hash_sets |= HCLGEVF_D_PORT_BIT; in hclgevf_get_rss_hash_bits()
839 hash_sets &= ~HCLGEVF_D_PORT_BIT; in hclgevf_get_rss_hash_bits()
842 hash_sets |= HCLGEVF_S_IP_BIT; in hclgevf_get_rss_hash_bits()
844 hash_sets &= ~HCLGEVF_S_IP_BIT; in hclgevf_get_rss_hash_bits()
847 hash_sets |= HCLGEVF_D_IP_BIT; in hclgevf_get_rss_hash_bits()
849 hash_sets &= ~HCLGEVF_D_IP_BIT; in hclgevf_get_rss_hash_bits()
852 hash_sets |= HCLGEVF_V_TAG_BIT; in hclgevf_get_rss_hash_bits()
854 return hash_sets; in hclgevf_get_rss_hash_bits()
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c4420 u8 hash_sets = nfc->data & RXH_L4_B_0_1 ? HCLGE_S_PORT_BIT : 0; in hclge_get_rss_hash_bits() local
4423 hash_sets |= HCLGE_D_PORT_BIT; in hclge_get_rss_hash_bits()
4425 hash_sets &= ~HCLGE_D_PORT_BIT; in hclge_get_rss_hash_bits()
4428 hash_sets |= HCLGE_S_IP_BIT; in hclge_get_rss_hash_bits()
4430 hash_sets &= ~HCLGE_S_IP_BIT; in hclge_get_rss_hash_bits()
4433 hash_sets |= HCLGE_D_IP_BIT; in hclge_get_rss_hash_bits()
4435 hash_sets &= ~HCLGE_D_IP_BIT; in hclge_get_rss_hash_bits()
4438 hash_sets |= HCLGE_V_TAG_BIT; in hclge_get_rss_hash_bits()
4440 return hash_sets; in hclge_get_rss_hash_bits()