Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_dcb.c96 if (num_tc > hdev->vport[0].alloc_tqps) { in hclge_dcb_common_validate()
99 num_tc, hdev->vport[0].alloc_tqps); in hclge_dcb_common_validate()
Dhclge_tm.c525 min_t(u16, vport->alloc_tqps, hdev->tm_info.num_tc); in hclge_tm_vport_tc_info_update()
530 vport->alloc_tqps / kinfo->num_tc); in hclge_tm_vport_tc_info_update()
Dhclge_main.h890 u16 alloc_tqps; /* Allocated Tx/Rx queues */ member
Dhclge_mbx.c393 memcpy(&resp_data[0], &vport->alloc_tqps, sizeof(u16)); in hclge_get_vf_queue_info()
Dhclge_main.c1518 vport->alloc_tqps = alloced; in hclge_assign_tqp()
1520 vport->alloc_tqps / hdev->tm_info.num_tc); in hclge_assign_tqp()
1563 for (i = 0; i < vport->alloc_tqps; i++) { in hclge_map_tqp_to_vport()
5593 tqps = vf ? hdev->vport[vf].alloc_tqps : vport->alloc_tqps; in hclge_add_fd_entry()
9514 vport->alloc_tqps / kinfo->num_tc); in hclge_get_max_channels()
9527 u16 *alloc_tqps, u16 *max_rss_size) in hclge_get_tqps_and_rss_info() argument
9532 *alloc_tqps = vport->alloc_tqps; in hclge_get_tqps_and_rss_info()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h497 u16 *alloc_tqps, u16 *max_rss_size);
Dhns3_enet.c304 u16 alloc_tqps, max_rss_size, rss_size; in hns3_get_max_available_channels() local
306 h->ae_algo->ops->get_tqps_and_rss_info(h, &alloc_tqps, &max_rss_size); in hns3_get_max_available_channels()
307 rss_size = alloc_tqps / h->kinfo.num_tc; in hns3_get_max_available_channels()
3843 u16 alloc_tqps, max_rss_size; in hns3_client_init() local
3848 handle->ae_algo->ops->get_tqps_and_rss_info(handle, &alloc_tqps, in hns3_client_init()
3850 netdev = alloc_etherdev_mq(sizeof(struct hns3_nic_priv), alloc_tqps); in hns3_client_init()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c2853 u16 *alloc_tqps, u16 *max_rss_size) in hclgevf_get_tqps_and_rss_info() argument
2857 *alloc_tqps = hdev->num_tqps; in hclgevf_get_tqps_and_rss_info()