num_tqps 580 drivers/net/ethernet/hisilicon/hns3/hnae3.h u16 num_tqps; /* total number of TQPs in this handle */ num_tqps 609 drivers/net/ethernet/hisilicon/hns3/hnae3.h u16 num_tqps; /* total number of tqps in this handle */ num_tqps 31 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c queue_max = h->kinfo.num_tqps; num_tqps 40 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c if (queue_num >= h->kinfo.num_tqps) { num_tqps 43 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c h->kinfo.num_tqps - 1); num_tqps 57 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c ring = ring_data[(u32)(i + h->kinfo.num_tqps)].ring; num_tqps 142 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c for (i = 0; i < h->kinfo.num_tqps; i++) { num_tqps 180 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c if (q_num >= h->kinfo.num_tqps) { num_tqps 182 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c h->kinfo.num_tqps - 1); num_tqps 217 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c ring = ring_data[q_num + h->kinfo.num_tqps].ring; num_tqps 396 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c for (j = 0; j < h->kinfo.num_tqps; j++) num_tqps 486 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c for (i = 0; i < h->kinfo.num_tqps; i++) { num_tqps 505 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c for (i = 0; i < h->kinfo.num_tqps; i++) num_tqps 1490 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c int queue_num = priv->ae_handle->kinfo.num_tqps; num_tqps 3162 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c if (tqp_vector->num_tqps > 1) num_tqps 3163 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c rx_budget = max(budget / tqp_vector->num_tqps, 1); num_tqps 3326 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c tqp_vector->num_tqps = 0; num_tqps 3329 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c for (i = 0; i < h->kinfo.num_tqps; i++) { num_tqps 3331 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c u16 tqp_num = h->kinfo.num_tqps; num_tqps 3343 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c tqp_vector->num_tqps++; num_tqps 3389 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c u16 tqp_num = h->kinfo.num_tqps; num_tqps 3490 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c int queue_num = priv->ae_handle->kinfo.num_tqps; num_tqps 3551 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c array3_size(h->kinfo.num_tqps, num_tqps 3558 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c for (i = 0; i < h->kinfo.num_tqps; i++) { num_tqps 3569 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c priv->ring_data[i + h->kinfo.num_tqps].ring); num_tqps 3585 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c for (i = 0; i < h->kinfo.num_tqps; i++) { num_tqps 3588 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c priv->ring_data[i + h->kinfo.num_tqps].ring); num_tqps 3718 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c int ring_num = h->kinfo.num_tqps * 2; num_tqps 3747 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c for (i = 0; i < h->kinfo.num_tqps; i++) { num_tqps 3749 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c hns3_fini_ring(priv->ring_data[i + h->kinfo.num_tqps].ring); num_tqps 3839 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c dev_info(priv->dev, "Task queue pairs numbers: %d\n", kinfo->num_tqps); num_tqps 4157 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c for (i = 0; i < h->kinfo.num_tqps; i++) { num_tqps 4163 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c ring = priv->ring_data[i + h->kinfo.num_tqps].ring; num_tqps 4182 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c for (i = 0; i < h->kinfo.num_tqps; i++) { num_tqps 4196 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c rx_ring = priv->ring_data[i + h->kinfo.num_tqps].ring; num_tqps 4486 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c org_tqp_num = h->kinfo.num_tqps; num_tqps 491 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h u16 num_tqps; /* total number of tqps in TQP vector */ num_tqps 200 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c for (i = kinfo->num_tqps; i < kinfo->num_tqps * 2; i++) { num_tqps 402 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c return ((HNS3_TQP_STATS_COUNT * h->kinfo.num_tqps) + num_tqps 414 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c u32 stat_count, u32 num_tqps, const char *prefix) num_tqps 421 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c for (i = 0; i < num_tqps; i++) { num_tqps 448 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c kinfo->num_tqps, tx_prefix); num_tqps 452 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c kinfo->num_tqps, rx_prefix); num_tqps 488 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c for (i = 0; i < kinfo->num_tqps; i++) { num_tqps 497 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c for (i = 0; i < kinfo->num_tqps; i++) { num_tqps 498 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c ring = nic_priv->ring_data[i + kinfo->num_tqps].ring; num_tqps 591 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c int queue_num = h->kinfo.num_tqps; num_tqps 870 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c cmd->data = h->kinfo.num_tqps; num_tqps 903 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c for (i = 0; i < h->kinfo.num_tqps; i++) { num_tqps 905 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c priv->ring_data[i + h->kinfo.num_tqps].ring->desc_num = num_tqps 916 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c tmp_rings = kcalloc(handle->kinfo.num_tqps * 2, num_tqps 921 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c for (i = 0; i < handle->kinfo.num_tqps * 2; i++) { num_tqps 960 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c u16 queue_num = h->kinfo.num_tqps; num_tqps 999 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c for (i = 0; i < h->kinfo.num_tqps * 2; i++) num_tqps 1003 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c for (i = 0; i < h->kinfo.num_tqps * 2; i++) num_tqps 1089 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c u16 queue_num = h->kinfo.num_tqps; num_tqps 1225 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c int queue_num = h->kinfo.num_tqps; num_tqps 1251 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c u16 queue_num = h->kinfo.num_tqps; num_tqps 546 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c for (i = 0; i < kinfo->num_tqps; i++) { num_tqps 565 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c for (i = 0; i < kinfo->num_tqps; i++) { num_tqps 595 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c for (i = 0; i < kinfo->num_tqps; i++) { num_tqps 600 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c for (i = 0; i < kinfo->num_tqps; i++) { num_tqps 613 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c return kinfo->num_tqps * (2); num_tqps 622 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c for (i = 0; i < kinfo->num_tqps; i++) { num_tqps 630 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c for (i = 0; i < kinfo->num_tqps; i++) { num_tqps 882 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hdev->num_tqps = __le16_to_cpu(req->tqp_num); num_tqps 1323 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hdev->num_tqps = hdev->num_vmdq_vport + hdev->num_req_vfs + 1; num_tqps 1452 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hdev->htqp = devm_kcalloc(&hdev->pdev->dev, hdev->num_tqps, num_tqps 1459 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c for (i = 0; i < hdev->num_tqps; i++) { num_tqps 1500 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_assign_tqp(struct hclge_vport *vport, u16 num_tqps) num_tqps 1506 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c for (i = 0, alloced = 0; i < hdev->num_tqps && num_tqps 1507 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c alloced < num_tqps; i++) { num_tqps 1529 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_knic_setup(struct hclge_vport *vport, u16 num_tqps, num_tqps 1543 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c kinfo->tqp = devm_kcalloc(&hdev->pdev->dev, num_tqps, num_tqps 1548 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c ret = hclge_assign_tqp(vport, num_tqps); num_tqps 1598 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_vport_setup(struct hclge_vport *vport, u16 num_tqps) num_tqps 1608 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c ret = hclge_knic_setup(vport, num_tqps, num_tqps 1628 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (hdev->num_tqps < num_vport) { num_tqps 1630 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hdev->num_tqps, num_vport); num_tqps 1635 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c tqp_per_vport = hdev->num_tqps / num_vport; num_tqps 1636 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c tqp_main_vport = tqp_per_vport + hdev->num_tqps % num_vport; num_tqps 6598 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c for (i = 0; i < kinfo->num_tqps; i++) { num_tqps 6632 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c for (i = 0; i < kinfo->num_tqps; i++) { num_tqps 6694 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c for (i = 0; i < handle->kinfo.num_tqps; i++) num_tqps 8827 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c dev_info(dev, "Task queue pairs numbers: %d\n", hdev->num_tqps); num_tqps 9560 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int cur_tqps = kinfo->num_tqps; num_tqps 9947 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c for (j = 0; j < kinfo->num_tqps; j++) { num_tqps 9955 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c data_num_sum += (reg_num + separator_num) * kinfo->num_tqps; num_tqps 10009 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c return (cmdq_lines + common_lines + ring_lines * kinfo->num_tqps + num_tqps 731 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h u16 num_tqps; /* Num task queue pairs of this PF */ num_tqps 553 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c kinfo->num_tqps = kinfo->num_tc * kinfo->rss_size; num_tqps 107 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c for (i = 0; i < kinfo->num_tqps; i++) { num_tqps 149 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c for (i = 0; i < kinfo->num_tqps; i++) { num_tqps 153 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c for (i = 0; i < kinfo->num_tqps; i++) { num_tqps 165 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c return kinfo->num_tqps * 2; num_tqps 174 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c for (i = 0; i < kinfo->num_tqps; i++) { num_tqps 182 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c for (i = 0; i < kinfo->num_tqps; i++) { num_tqps 286 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c memcpy(&hdev->num_tqps, &resp_msg[0], sizeof(u16)); num_tqps 358 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c hdev->htqp = devm_kcalloc(&hdev->pdev->dev, hdev->num_tqps, num_tqps 365 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c for (i = 0; i < hdev->num_tqps; i++) { num_tqps 386 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c u16 new_tqps = hdev->num_tqps; num_tqps 401 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c kinfo->num_tqps = min(new_tqps, hdev->num_tqps); num_tqps 403 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c kinfo->tqp = devm_kcalloc(&hdev->pdev->dev, kinfo->num_tqps, num_tqps 408 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c for (i = 0; i < kinfo->num_tqps; i++) { num_tqps 417 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c kinfo->num_tqps = min_t(u16, hdev->num_nic_msix - 1, kinfo->num_tqps); num_tqps 418 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c kinfo->rss_size = min_t(u16, kinfo->num_tqps / kinfo->num_tc, num_tqps 1171 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c for (i = 0; i < kinfo->num_tqps; i++) { num_tqps 2162 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c for (i = 0; i < handle->kinfo.num_tqps; i++) num_tqps 2351 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c dev_info(dev, "Task queue pairs numbers: %d\n", hdev->num_tqps); num_tqps 2828 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c hdev->num_tqps / kinfo->num_tc); num_tqps 2857 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c *alloc_tqps = hdev->num_tqps; num_tqps 2871 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c hdev->num_tqps / kinfo->num_tc); num_tqps 2883 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c kinfo->num_tqps = kinfo->num_tc * kinfo->rss_size; num_tqps 2892 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c u16 cur_tqps = kinfo->num_tqps; num_tqps 3025 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c return (cmdq_lines + common_lines + ring_lines * hdev->num_tqps + num_tqps 3055 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c for (j = 0; j < hdev->num_tqps; j++) { num_tqps 258 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h u16 num_tqps; /* num task queue pairs of this PF */