Searched refs:max_rss_size (Results 1 – 5 of 5) sorted by relevance
/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 | 10696 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/ |
D | hclgevf_main.c | 3378 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/ |
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()
|