Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.c640 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()
Dhclge_main.c12348 u16 *alloc_tqps, u16 *max_rss_size) in hclge_get_tqps_and_rss_info() argument
12354 *max_rss_size = hdev->pf_rss_size_max; in hclge_get_tqps_and_rss_info()
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c3088 u16 *alloc_tqps, u16 *max_rss_size) in hclgevf_get_tqps_and_rss_info() argument
3093 *max_rss_size = hdev->rss_size_max; in hclgevf_get_tqps_and_rss_info()
3101 u16 max_rss_size; in hclgevf_update_rss_size() local
3105 max_rss_size = min_t(u16, hdev->rss_size_max, in hclgevf_update_rss_size()
3112 kinfo->req_rss_size <= max_rss_size) in hclgevf_update_rss_size()
3114 else if (kinfo->rss_size > max_rss_size || in hclgevf_update_rss_size()
3115 (!kinfo->req_rss_size && kinfo->rss_size < max_rss_size)) in hclgevf_update_rss_size()
3116 kinfo->rss_size = max_rss_size; in hclgevf_update_rss_size()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_lib.c882 u16 max_rss_size; in ice_vsi_set_rss_params() local
890 max_rss_size = BIT(cap->rss_table_entry_width); in ice_vsi_set_rss_params()
897 vsi->rss_size = min_t(u16, vsi->num_rxq, max_rss_size); in ice_vsi_set_rss_params()
900 max_rss_size); in ice_vsi_set_rss_params()
905 vsi->rss_size = min_t(u16, num_online_cpus(), max_rss_size); in ice_vsi_set_rss_params()
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h728 u16 *alloc_tqps, u16 *max_rss_size);
Dhns3_enet.c650 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()
5291 u16 alloc_tqps, max_rss_size; in hns3_client_init() local
5297 &max_rss_size); in hns3_client_init()