Home
last modified time | relevance | path

Searched refs:alloc_tqps (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_dcb.c100 if (num_tc > hdev->vport[0].alloc_tqps) { in hclge_dcb_common_validate()
103 num_tc, hdev->vport[0].alloc_tqps); in hclge_dcb_common_validate()
558 if (hdev->vport[0].alloc_tqps < queue_sum) { in hclge_mqprio_qopt_check()
561 hdev->vport[0].alloc_tqps); in hclge_mqprio_qopt_check()
Dhclge_main.h1054 u16 alloc_tqps; /* Allocated Tx/Rx queues */ member
Dhclge_tm.c644 return vport->alloc_tqps / tc_info->num_tc; in hclge_vport_get_max_rss_size()
694 min_t(u16, vport->alloc_tqps, hdev->tm_info.num_tc); in hclge_tm_update_kinfo_rss_size()
Dhclge_mbx.c521 queue_info->num_tqps = cpu_to_le16(vport->alloc_tqps); in hclge_get_vf_queue_info()
Dhclge_main.c1728 vport->alloc_tqps = alloced; in hclge_assign_tqp()
1730 vport->alloc_tqps / hdev->tm_info.num_tc); in hclge_assign_tqp()
1774 for (i = 0; i < vport->alloc_tqps; i++) { in hclge_map_tqp_to_vport()
12335 return min_t(u32, hdev->pf_rss_size_max, vport->alloc_tqps); in hclge_get_max_channels()
12348 u16 *alloc_tqps, u16 *max_rss_size) in hclge_get_tqps_and_rss_info() argument
12353 *alloc_tqps = vport->alloc_tqps; in hclge_get_tqps_and_rss_info()
Dhclge_debugfs.c857 for (index = 0; index < hdev->vport[0].alloc_tqps; index++) { in hclge_dbg_dump_reg_tqp()
/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()
653 rss_size = alloc_tqps / h->kinfo.tc_info.num_tc; in hns3_get_max_available_channels()
5291 u16 alloc_tqps, max_rss_size; in hns3_client_init() local
5296 handle->ae_algo->ops->get_tqps_and_rss_info(handle, &alloc_tqps, in hns3_client_init()
5298 netdev = alloc_etherdev_mq(sizeof(struct hns3_nic_priv), alloc_tqps); in hns3_client_init()
/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
3092 *alloc_tqps = hdev->num_tqps; in hclgevf_get_tqps_and_rss_info()