Searched refs:alloc_tqps (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_dcb.c | 100 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()
|
D | hclge_main.h | 1054 u16 alloc_tqps; /* Allocated Tx/Rx queues */ member
|
D | hclge_tm.c | 644 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()
|
D | hclge_mbx.c | 521 queue_info->num_tqps = cpu_to_le16(vport->alloc_tqps); in hclge_get_vf_queue_info()
|
D | hclge_main.c | 1728 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()
|
D | hclge_debugfs.c | 857 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/ |
D | hnae3.h | 728 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() 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/ |
D | hclgevf_main.c | 3088 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()
|