Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c10676 u16 *alloc_tqps, u16 *max_rss_size) in hclge_get_tqps_and_rss_info() argument
10682 *max_rss_size = hdev->rss_size_max; in hclge_get_tqps_and_rss_info()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c3363 u16 *alloc_tqps, u16 *max_rss_size) in hclgevf_get_tqps_and_rss_info() argument
3368 *max_rss_size = hdev->rss_size_max; in hclgevf_get_tqps_and_rss_info()
3376 u16 max_rss_size; in hclgevf_update_rss_size() local
3380 max_rss_size = min_t(u16, hdev->rss_size_max, in hclgevf_update_rss_size()
3387 kinfo->req_rss_size <= max_rss_size) in hclgevf_update_rss_size()
3389 else if (kinfo->rss_size > max_rss_size || in hclgevf_update_rss_size()
3390 (!kinfo->req_rss_size && kinfo->rss_size < max_rss_size)) in hclgevf_update_rss_size()
3391 kinfo->rss_size = max_rss_size; in hclgevf_update_rss_size()
/kernel/linux/linux-5.10/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()