Lines Matching refs:rss_cfg
540 struct hclge_comm_rss_cfg *rss_cfg = &hdev->rss_cfg; in hclgevf_get_rss_hash_key() local
563 memcpy(&rss_cfg->rss_hash_key[hash_key_index], in hclgevf_get_rss_hash_key()
567 memcpy(&rss_cfg->rss_hash_key[hash_key_index], in hclgevf_get_rss_hash_key()
578 struct hclge_comm_rss_cfg *rss_cfg = &hdev->rss_cfg; in hclgevf_get_rss() local
582 hclge_comm_get_rss_hash_info(rss_cfg, key, hfunc); in hclgevf_get_rss()
590 memcpy(key, rss_cfg->rss_hash_key, in hclgevf_get_rss()
595 hclge_comm_get_rss_indir_tbl(rss_cfg, indir, in hclgevf_get_rss()
605 struct hclge_comm_rss_cfg *rss_cfg = &hdev->rss_cfg; in hclgevf_set_rss() local
609 ret = hclge_comm_set_rss_hash_key(rss_cfg, &hdev->hw.hw, key, in hclgevf_set_rss()
617 rss_cfg->rss_indirection_tbl[i] = indir[i]; in hclgevf_set_rss()
621 rss_cfg->rss_indirection_tbl); in hclgevf_set_rss()
634 &hdev->rss_cfg, nfc); in hclgevf_set_rss_tuple()
654 ret = hclge_comm_get_rss_tuple(&hdev->rss_cfg, nfc->flow_type, in hclgevf_get_rss_tuple()
667 struct hclge_comm_rss_cfg *rss_cfg = &hdev->rss_cfg; in hclgevf_get_tc_size() local
669 return rss_cfg->rss_size; in hclgevf_get_tc_size()
2147 struct hclge_comm_rss_cfg *rss_cfg = &hdev->rss_cfg; in hclgevf_rss_init_hw() local
2155 rss_cfg->rss_algo, in hclgevf_rss_init_hw()
2156 rss_cfg->rss_hash_key); in hclgevf_rss_init_hw()
2161 false, rss_cfg); in hclgevf_rss_init_hw()
2167 rss_cfg->rss_indirection_tbl); in hclgevf_rss_init_hw()
2171 hclge_comm_get_rss_tc_info(rss_cfg->rss_size, hdev->hw_tc_map, in hclgevf_rss_init_hw()
2948 &hdev->rss_cfg); in hclgevf_init_hdev()
3153 hdev->rss_cfg.rss_size = kinfo->rss_size; in hclgevf_set_channels()