Home
last modified time | relevance | path

Searched refs:max_rss_size (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.c563 u16 max_rss_size; in hclge_tm_vport_tc_info_update() local
574 max_rss_size = min_t(u16, hdev->rss_size_max, in hclge_tm_vport_tc_info_update()
579 kinfo->req_rss_size <= max_rss_size) { in hclge_tm_vport_tc_info_update()
583 } else if (kinfo->rss_size > max_rss_size || in hclge_tm_vport_tc_info_update()
584 (!kinfo->req_rss_size && kinfo->rss_size < max_rss_size)) { in hclge_tm_vport_tc_info_update()
590 max_rss_size = min_t(u16, max_rss_size, in hclge_tm_vport_tc_info_update()
595 kinfo->rss_size = max_rss_size; in hclge_tm_vport_tc_info_update()
Dhclge_main.c10696 u16 *alloc_tqps, u16 *max_rss_size) in hclge_get_tqps_and_rss_info() argument
10702 *max_rss_size = hdev->rss_size_max; in hclge_get_tqps_and_rss_info()
/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c3378 u16 *alloc_tqps, u16 *max_rss_size) in hclgevf_get_tqps_and_rss_info() argument
3383 *max_rss_size = hdev->rss_size_max; in hclgevf_get_tqps_and_rss_info()
3391 u16 max_rss_size; in hclgevf_update_rss_size() local
3395 max_rss_size = min_t(u16, hdev->rss_size_max, in hclgevf_update_rss_size()
3402 kinfo->req_rss_size <= max_rss_size) in hclgevf_update_rss_size()
3404 else if (kinfo->rss_size > max_rss_size || in hclgevf_update_rss_size()
3405 (!kinfo->req_rss_size && kinfo->rss_size < max_rss_size)) in hclgevf_update_rss_size()
3406 kinfo->rss_size = max_rss_size; in hclgevf_update_rss_size()
/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h586 u16 *alloc_tqps, u16 *max_rss_size);
Dhns3_enet.c319 u16 alloc_tqps, max_rss_size, rss_size; in hns3_get_max_available_channels() local
321 h->ae_algo->ops->get_tqps_and_rss_info(h, &alloc_tqps, &max_rss_size); in hns3_get_max_available_channels()
324 return min_t(u16, rss_size, max_rss_size); in hns3_get_max_available_channels()
4063 u16 alloc_tqps, max_rss_size; in hns3_client_init() local
4069 &max_rss_size); in hns3_client_init()