Searched refs:max_rss_size (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_tm.c | 640 u16 max_rss_size = 0; in hclge_vport_get_max_rss_size() local 649 if (max_rss_size < tc_info->tqp_count[i]) in hclge_vport_get_max_rss_size() 650 max_rss_size = tc_info->tqp_count[i]; in hclge_vport_get_max_rss_size() 653 return max_rss_size; in hclge_vport_get_max_rss_size() 680 u16 max_rss_size; in hclge_tm_update_kinfo_rss_size() local 699 max_rss_size = min_t(u16, vport_max_rss_size, in hclge_tm_update_kinfo_rss_size() 704 kinfo->req_rss_size <= max_rss_size) { in hclge_tm_update_kinfo_rss_size() 708 } else if (kinfo->rss_size > max_rss_size || in hclge_tm_update_kinfo_rss_size() 709 (!kinfo->req_rss_size && kinfo->rss_size < max_rss_size)) { in hclge_tm_update_kinfo_rss_size() 711 kinfo->rss_size = max_rss_size; in hclge_tm_update_kinfo_rss_size()
|
D | hclge_main.c | 12226 u16 *alloc_tqps, u16 *max_rss_size) in hclge_get_tqps_and_rss_info() argument 12232 *max_rss_size = hdev->pf_rss_size_max; in hclge_get_tqps_and_rss_info()
|
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_main.c | 3050 u16 *alloc_tqps, u16 *max_rss_size) in hclgevf_get_tqps_and_rss_info() argument 3055 *max_rss_size = hdev->rss_size_max; in hclgevf_get_tqps_and_rss_info() 3063 u16 max_rss_size; in hclgevf_update_rss_size() local 3067 max_rss_size = min_t(u16, hdev->rss_size_max, in hclgevf_update_rss_size() 3074 kinfo->req_rss_size <= max_rss_size) in hclgevf_update_rss_size() 3076 else if (kinfo->rss_size > max_rss_size || in hclgevf_update_rss_size() 3077 (!kinfo->req_rss_size && kinfo->rss_size < max_rss_size)) in hclgevf_update_rss_size() 3078 kinfo->rss_size = max_rss_size; in hclgevf_update_rss_size()
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ |
D | ice_lib.c | 910 u16 max_rss_size; in ice_vsi_set_rss_params() local 918 max_rss_size = BIT(cap->rss_table_entry_width); in ice_vsi_set_rss_params() 925 vsi->rss_size = min_t(u16, vsi->num_rxq, max_rss_size); in ice_vsi_set_rss_params() 928 max_rss_size); in ice_vsi_set_rss_params() 933 vsi->rss_size = min_t(u16, num_online_cpus(), max_rss_size); in ice_vsi_set_rss_params()
|
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/ |
D | hnae3.h | 709 u16 *alloc_tqps, u16 *max_rss_size);
|
D | hns3_enet.c | 650 u16 alloc_tqps, max_rss_size, rss_size; in hns3_get_max_available_channels() local 652 h->ae_algo->ops->get_tqps_and_rss_info(h, &alloc_tqps, &max_rss_size); in hns3_get_max_available_channels() 655 return min_t(u16, rss_size, max_rss_size); in hns3_get_max_available_channels() 5292 u16 alloc_tqps, max_rss_size; in hns3_client_init() local 5298 &max_rss_size); in hns3_client_init()
|