Searched refs:max_rss_size (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_tm.c | 563 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()
|
D | hclge_main.c | 10676 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/ |
D | hclgevf_main.c | 3363 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/ |
D | hnae3.h | 586 u16 *alloc_tqps, u16 *max_rss_size);
|
D | hns3_enet.c | 319 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()
|