Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c1793 u16 i, num_vport; in hclge_map_tqp() local
1795 num_vport = hdev->num_req_vfs + 1; in hclge_map_tqp()
1796 for (i = 0; i < num_vport; i++) { in hclge_map_tqp()
1835 int num_vport, i; in hclge_alloc_vport() local
1839 num_vport = hdev->num_req_vfs + 1; in hclge_alloc_vport()
1841 if (hdev->num_tqps < num_vport) { in hclge_alloc_vport()
1843 hdev->num_tqps, num_vport); in hclge_alloc_vport()
1848 tqp_per_vport = hdev->num_tqps / num_vport; in hclge_alloc_vport()
1849 tqp_main_vport = tqp_per_vport + hdev->num_tqps % num_vport; in hclge_alloc_vport()
1851 vport = devm_kcalloc(&pdev->dev, num_vport, sizeof(struct hclge_vport), in hclge_alloc_vport()
[all …]