Searched refs:htqp (Results 1 – 4 of 4) sorted by relevance
265 struct hclge_comm_tqp *htqp; member
322 hdev->htqp = devm_kcalloc(&hdev->pdev->dev, hdev->num_tqps, in hclgevf_alloc_tqps()324 if (!hdev->htqp) in hclgevf_alloc_tqps()327 tqp = hdev->htqp; in hclgevf_alloc_tqps()394 hdev->htqp[i].q.handle = &hdev->nic; in hclgevf_knic_setup()395 hdev->htqp[i].q.tqp_index = i; in hclgevf_knic_setup()396 kinfo->tqp[i] = &hdev->htqp[i].q; in hclgevf_knic_setup()
909 struct hclge_comm_tqp *htqp; member
1678 hdev->htqp = devm_kcalloc(&hdev->pdev->dev, hdev->num_tqps, in hclge_alloc_tqps()1680 if (!hdev->htqp) in hclge_alloc_tqps()1683 tqp = hdev->htqp; in hclge_alloc_tqps()1754 if (!hdev->htqp[i].alloced) { in hclge_assign_tqp()1755 hdev->htqp[i].q.handle = &vport->nic; in hclge_assign_tqp()1756 hdev->htqp[i].q.tqp_index = alloced; in hclge_assign_tqp()1757 hdev->htqp[i].q.tx_desc_num = kinfo->num_tx_desc; in hclge_assign_tqp()1758 hdev->htqp[i].q.rx_desc_num = kinfo->num_rx_desc; in hclge_assign_tqp()1759 kinfo->tqp[alloced] = &hdev->htqp[i].q; in hclge_assign_tqp()1760 hdev->htqp[i].alloced = true; in hclge_assign_tqp()
Completed in 36 milliseconds