Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.c850 u8 hash_sets = nfc->data & RXH_L4_B_0_1 ? HCLGEVF_S_PORT_BIT : 0; in hclgevf_get_rss_hash_bits() local
853 hash_sets |= HCLGEVF_D_PORT_BIT; in hclgevf_get_rss_hash_bits()
855 hash_sets &= ~HCLGEVF_D_PORT_BIT; in hclgevf_get_rss_hash_bits()
858 hash_sets |= HCLGEVF_S_IP_BIT; in hclgevf_get_rss_hash_bits()
860 hash_sets &= ~HCLGEVF_S_IP_BIT; in hclgevf_get_rss_hash_bits()
863 hash_sets |= HCLGEVF_D_IP_BIT; in hclgevf_get_rss_hash_bits()
865 hash_sets &= ~HCLGEVF_D_IP_BIT; in hclgevf_get_rss_hash_bits()
868 hash_sets |= HCLGEVF_V_TAG_BIT; in hclgevf_get_rss_hash_bits()
870 return hash_sets; in hclgevf_get_rss_hash_bits()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c4438 u8 hash_sets = nfc->data & RXH_L4_B_0_1 ? HCLGE_S_PORT_BIT : 0; in hclge_get_rss_hash_bits() local
4441 hash_sets |= HCLGE_D_PORT_BIT; in hclge_get_rss_hash_bits()
4443 hash_sets &= ~HCLGE_D_PORT_BIT; in hclge_get_rss_hash_bits()
4446 hash_sets |= HCLGE_S_IP_BIT; in hclge_get_rss_hash_bits()
4448 hash_sets &= ~HCLGE_S_IP_BIT; in hclge_get_rss_hash_bits()
4451 hash_sets |= HCLGE_D_IP_BIT; in hclge_get_rss_hash_bits()
4453 hash_sets &= ~HCLGE_D_IP_BIT; in hclge_get_rss_hash_bits()
4456 hash_sets |= HCLGE_V_TAG_BIT; in hclge_get_rss_hash_bits()
4458 return hash_sets; in hclge_get_rss_hash_bits()