Home
last modified time | relevance | path

Searched refs:rss_size_max (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.h261 u16 rss_size_max; /* HW defined max RSS task queue */ member
Dhclgevf_main.c287 memcpy(&hdev->rss_size_max, &resp_msg[2], sizeof(u16)); in hclgevf_get_queue_info()
399 = min_t(u16, hdev->rss_size_max, new_tqps / kinfo->num_tc); in hclgevf_knic_setup()
2827 return min_t(u32, hdev->rss_size_max, in hclgevf_get_max_channels()
2858 *max_rss_size = hdev->rss_size_max; in hclgevf_get_tqps_and_rss_info()
2870 max_rss_size = min_t(u16, hdev->rss_size_max, in hclgevf_update_rss_size()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.h340 u16 rss_size_max; member
736 u16 rss_size_max; /* HW defined max RSS task queue */ member
Dhclge_tm.c529 max_rss_size = min_t(u16, hdev->rss_size_max, in hclge_tm_vport_tc_info_update()
Dhclge_main.c1236 cfg->rss_size_max = hnae3_get_field(__le32_to_cpu(req->param[3]), in hclge_parse_cfg()
1342 hdev->rss_size_max = cfg.rss_size_max; in hclge_configure()
1519 kinfo->rss_size = min_t(u16, hdev->rss_size_max, in hclge_assign_tqp()
4383 return hdev->rss_size_max; in hclge_get_tc_size()
9513 return min_t(u32, hdev->rss_size_max, in hclge_get_max_channels()
9533 *max_rss_size = hdev->rss_size_max; in hclge_get_tqps_and_rss_info()
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e.h474 u16 rss_size_max; /* HW defined max RSS queues */ member
Di40e_main.c11681 new_rss_size = min_t(int, queue_count, pf->rss_size_max); in i40e_reconfig_rss_queues()
11709 vsi->req_queue_pairs, pf->rss_size_max); in i40e_reconfig_rss_queues()
11864 pf->rss_size_max = BIT(pf->hw.func_caps.rss_table_entry_width); in i40e_sw_init()
11867 pf->rss_size_max = min_t(int, pf->rss_size_max, in i40e_sw_init()
11871 pf->alloc_rss_size = min_t(int, pf->rss_size_max, in i40e_sw_init()
14387 q_max = max_t(int, pf->rss_size_max, num_online_cpus()); in i40e_determine_queue_usage()