Searched refs:max_rss_size (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.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 | 10621 u16 *alloc_tqps, u16 *max_rss_size) in hclge_get_tqps_and_rss_info() argument 10627 *max_rss_size = hdev->rss_size_max; in hclge_get_tqps_and_rss_info()
|
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_main.c | 3329 u16 *alloc_tqps, u16 *max_rss_size) in hclgevf_get_tqps_and_rss_info() argument 3334 *max_rss_size = hdev->rss_size_max; in hclgevf_get_tqps_and_rss_info() 3342 u16 max_rss_size; in hclgevf_update_rss_size() local 3346 max_rss_size = min_t(u16, hdev->rss_size_max, in hclgevf_update_rss_size() 3353 kinfo->req_rss_size <= max_rss_size) in hclgevf_update_rss_size() 3355 else if (kinfo->rss_size > max_rss_size || in hclgevf_update_rss_size() 3356 (!kinfo->req_rss_size && kinfo->rss_size < max_rss_size)) in hclgevf_update_rss_size() 3357 kinfo->rss_size = max_rss_size; in hclgevf_update_rss_size()
|
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/ |
D | hnae3.h | 586 u16 *alloc_tqps, u16 *max_rss_size);
|
D | hns3_enet.c | 318 u16 alloc_tqps, max_rss_size, rss_size; in hns3_get_max_available_channels() local 320 h->ae_algo->ops->get_tqps_and_rss_info(h, &alloc_tqps, &max_rss_size); in hns3_get_max_available_channels() 323 return min_t(u16, rss_size, max_rss_size); in hns3_get_max_available_channels() 4016 u16 alloc_tqps, max_rss_size; in hns3_client_init() local 4022 &max_rss_size); in hns3_client_init()
|