Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.h320 struct hclgevf_tqp *htqp; member
Dhclgevf_main.c391 hdev->htqp = devm_kcalloc(&hdev->pdev->dev, hdev->num_tqps, in hclgevf_alloc_tqps()
393 if (!hdev->htqp) in hclgevf_alloc_tqps()
396 tqp = hdev->htqp; in hclgevf_alloc_tqps()
442 hdev->htqp[i].q.handle = &hdev->nic; in hclgevf_knic_setup()
443 hdev->htqp[i].q.tqp_index = i; in hclgevf_knic_setup()
444 kinfo->tqp[i] = &hdev->htqp[i].q; in hclgevf_knic_setup()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.h788 struct hclge_tqp *htqp; member
Dhclge_main.c1582 hdev->htqp = devm_kcalloc(&hdev->pdev->dev, hdev->num_tqps, in hclge_alloc_tqps()
1584 if (!hdev->htqp) in hclge_alloc_tqps()
1587 tqp = hdev->htqp; in hclge_alloc_tqps()
1638 if (!hdev->htqp[i].alloced) { in hclge_assign_tqp()
1639 hdev->htqp[i].q.handle = &vport->nic; in hclge_assign_tqp()
1640 hdev->htqp[i].q.tqp_index = alloced; in hclge_assign_tqp()
1641 hdev->htqp[i].q.tx_desc_num = kinfo->num_tx_desc; in hclge_assign_tqp()
1642 hdev->htqp[i].q.rx_desc_num = kinfo->num_rx_desc; in hclge_assign_tqp()
1643 kinfo->tqp[alloced] = &hdev->htqp[i].q; in hclge_assign_tqp()
1644 hdev->htqp[i].alloced = true; in hclge_assign_tqp()