Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_dcb.c98 if (num_tc > hdev->vport[0].alloc_tqps) { in hclge_dcb_common_validate()
101 num_tc, hdev->vport[0].alloc_tqps); in hclge_dcb_common_validate()
Dhclge_tm.c570 min_t(u16, vport->alloc_tqps, hdev->tm_info.num_tc); in hclge_tm_vport_tc_info_update()
575 vport->alloc_tqps / kinfo->num_tc); in hclge_tm_vport_tc_info_update()
Dhclge_main.h900 u16 alloc_tqps; /* Allocated Tx/Rx queues */ member
Dhclge_mbx.c419 &vport->alloc_tqps, sizeof(u16)); in hclge_get_vf_queue_info()
Dhclge_main.c1645 vport->alloc_tqps = alloced; in hclge_assign_tqp()
1647 vport->alloc_tqps / hdev->tm_info.num_tc); in hclge_assign_tqp()
1690 for (i = 0; i < vport->alloc_tqps; i++) { in hclge_map_tqp_to_vport()
5885 tqps = vf ? hdev->vport[vf].alloc_tqps : vport->alloc_tqps; in hclge_add_fd_entry()
10608 vport->alloc_tqps / kinfo->num_tc); in hclge_get_max_channels()
10621 u16 *alloc_tqps, u16 *max_rss_size) in hclge_get_tqps_and_rss_info() argument
10626 *alloc_tqps = vport->alloc_tqps; in hclge_get_tqps_and_rss_info()
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h586 u16 *alloc_tqps, u16 *max_rss_size);
Dhns3_enet.c318 u16 alloc_tqps, max_rss_size, rss_size; in hns3_get_max_available_channels() local
320 h->ae_algo->ops->get_tqps_and_rss_info(h, &alloc_tqps, &max_rss_size); in hns3_get_max_available_channels()
321 rss_size = alloc_tqps / h->kinfo.num_tc; in hns3_get_max_available_channels()
4016 u16 alloc_tqps, max_rss_size; in hns3_client_init() local
4021 handle->ae_algo->ops->get_tqps_and_rss_info(handle, &alloc_tqps, in hns3_client_init()
4023 netdev = alloc_etherdev_mq(sizeof(struct hns3_nic_priv), alloc_tqps); in hns3_client_init()
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c3329 u16 *alloc_tqps, u16 *max_rss_size) in hclgevf_get_tqps_and_rss_info() argument
3333 *alloc_tqps = hdev->num_tqps; in hclgevf_get_tqps_and_rss_info()