Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c799 u8 hash_sets = nfc->data & RXH_L4_B_0_1 ? HCLGEVF_S_PORT_BIT : 0; in hclgevf_get_rss_hash_bits() local
802 hash_sets |= HCLGEVF_D_PORT_BIT; in hclgevf_get_rss_hash_bits()
804 hash_sets &= ~HCLGEVF_D_PORT_BIT; in hclgevf_get_rss_hash_bits()
807 hash_sets |= HCLGEVF_S_IP_BIT; in hclgevf_get_rss_hash_bits()
809 hash_sets &= ~HCLGEVF_S_IP_BIT; in hclgevf_get_rss_hash_bits()
812 hash_sets |= HCLGEVF_D_IP_BIT; in hclgevf_get_rss_hash_bits()
814 hash_sets &= ~HCLGEVF_D_IP_BIT; in hclgevf_get_rss_hash_bits()
817 hash_sets |= HCLGEVF_V_TAG_BIT; in hclgevf_get_rss_hash_bits()
819 return hash_sets; in hclgevf_get_rss_hash_bits()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c4226 u8 hash_sets = nfc->data & RXH_L4_B_0_1 ? HCLGE_S_PORT_BIT : 0; in hclge_get_rss_hash_bits() local
4229 hash_sets |= HCLGE_D_PORT_BIT; in hclge_get_rss_hash_bits()
4231 hash_sets &= ~HCLGE_D_PORT_BIT; in hclge_get_rss_hash_bits()
4234 hash_sets |= HCLGE_S_IP_BIT; in hclge_get_rss_hash_bits()
4236 hash_sets &= ~HCLGE_S_IP_BIT; in hclge_get_rss_hash_bits()
4239 hash_sets |= HCLGE_D_IP_BIT; in hclge_get_rss_hash_bits()
4241 hash_sets &= ~HCLGE_D_IP_BIT; in hclge_get_rss_hash_bits()
4244 hash_sets |= HCLGE_V_TAG_BIT; in hclge_get_rss_hash_bits()
4246 return hash_sets; in hclge_get_rss_hash_bits()