Searched refs:num_tqps (Results 1 – 12 of 12) sorted by relevance
/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_ethtool.c | 210 for (i = kinfo->num_tqps; i < kinfo->num_tqps * 2; i++) { in hns3_lb_check_rx_ring() 453 return ((HNS3_TQP_STATS_COUNT * h->kinfo.num_tqps) + in hns3_get_sset_count() 468 u32 stat_count, u32 num_tqps, const char *prefix) in hns3_update_strings() argument 475 for (i = 0; i < num_tqps; i++) { in hns3_update_strings() 501 kinfo->num_tqps, tx_prefix); in hns3_get_strings_tqps() 505 kinfo->num_tqps, rx_prefix); in hns3_get_strings_tqps() 549 for (i = 0; i < kinfo->num_tqps; i++) { in hns3_get_stats_tqps() 558 for (i = 0; i < kinfo->num_tqps; i++) { in hns3_get_stats_tqps() 559 ring = &nic_priv->ring[i + kinfo->num_tqps]; in hns3_get_stats_tqps() 648 int queue_num = h->kinfo.num_tqps; in hns3_get_ringparam() [all …]
|
D | hns3_debugfs.c | 539 for (i = 0; i < h->kinfo.num_tqps; i++) { in hns3_dbg_rx_queue_info() 548 ring = &priv->ring[(u32)(i + h->kinfo.num_tqps)]; in hns3_dbg_rx_queue_info() 643 for (i = 0; i < h->kinfo.num_tqps; i++) { in hns3_dbg_tx_queue_info() 661 hns3_dbg_tx_spare_info(ring, buf, len, h->kinfo.num_tqps, &pos); in hns3_dbg_tx_queue_info() 691 for (i = 0; i < h->kinfo.num_tqps; i++) { in hns3_dbg_queue_map() 763 if (d->qid >= d->handle->kinfo.num_tqps) { in hns3_dbg_rx_bd_info() 778 ring = &priv->ring[d->qid + d->handle->kinfo.num_tqps]; in hns3_dbg_rx_bd_info() 837 if (d->qid >= d->handle->kinfo.num_tqps) { in hns3_dbg_tx_bd_info() 909 kinfo->num_tqps); in hns3_dbg_dev_specs()
|
D | hns3_enet.c | 613 unsigned int queue_size = kinfo->num_tqps; in hns3_nic_set_real_num_queue() 728 for (j = 0; j < h->kinfo.num_tqps; j++) in hns3_nic_net_up() 816 for (i = 0; i < h->kinfo.num_tqps; i++) { in hns3_reset_tx_queue() 835 for (i = 0; i < h->kinfo.num_tqps; i++) in hns3_nic_net_down() 2356 int queue_num = priv->ae_handle->kinfo.num_tqps; in hns3_nic_get_stats64() 4251 if (tqp_vector->num_tqps > 1) in hns3_nic_common_poll() 4252 rx_budget = max(budget / tqp_vector->num_tqps, 1); in hns3_nic_common_poll() 4461 tqp_vector->num_tqps = 0; in hns3_nic_init_vector_data() 4465 for (i = 0; i < h->kinfo.num_tqps; i++) { in hns3_nic_init_vector_data() 4467 u16 tqp_num = h->kinfo.num_tqps; in hns3_nic_init_vector_data() [all …]
|
D | hns3_enet.h | 554 u16 num_tqps; /* total number of tqps in TQP vector */ member
|
D | hnae3.h | 774 u16 num_tqps; /* total number of TQPs in this handle */ member
|
/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_main.c | 114 for (i = 0; i < kinfo->num_tqps; i++) { in hclgevf_tqps_update_stats() 156 for (i = 0; i < kinfo->num_tqps; i++) { in hclgevf_tqps_get_stats() 160 for (i = 0; i < kinfo->num_tqps; i++) { in hclgevf_tqps_get_stats() 172 return kinfo->num_tqps * 2; in hclgevf_tqps_get_sset_count() 181 for (i = 0; i < kinfo->num_tqps; i++) { in hclgevf_tqps_get_strings() 189 for (i = 0; i < kinfo->num_tqps; i++) { in hclgevf_tqps_get_strings() 320 memcpy(&hdev->num_tqps, &resp_msg[HCLGEVF_TQPS_ALLOC_OFFSET], in hclgevf_get_queue_info() 403 hdev->htqp = devm_kcalloc(&hdev->pdev->dev, hdev->num_tqps, in hclgevf_alloc_tqps() 410 for (i = 0; i < hdev->num_tqps; i++) { in hclgevf_alloc_tqps() 443 u16 new_tqps = hdev->num_tqps; in hclgevf_knic_setup() [all …]
|
D | hclgevf_main.h | 295 u16 num_tqps; /* num task queue pairs of this VF */ member
|
/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 579 for (i = 0; i < kinfo->num_tqps; i++) { in hclge_tqps_update_stats() 598 for (i = 0; i < kinfo->num_tqps; i++) { in hclge_tqps_update_stats() 628 for (i = 0; i < kinfo->num_tqps; i++) { in hclge_tqps_get_stats() 633 for (i = 0; i < kinfo->num_tqps; i++) { in hclge_tqps_get_stats() 646 return kinfo->num_tqps * (2); in hclge_tqps_get_sset_count() 655 for (i = 0; i < kinfo->num_tqps; i++) { in hclge_tqps_get_strings() 663 for (i = 0; i < kinfo->num_tqps; i++) { in hclge_tqps_get_strings() 917 hdev->num_tqps = le16_to_cpu(req->tqp_num) + in hclge_query_pf_resource() 1524 hdev->num_tqps = hdev->num_req_vfs + 1; in hclge_init_kdump_kernel_config() 1652 hdev->htqp = devm_kcalloc(&hdev->pdev->dev, hdev->num_tqps, in hclge_alloc_tqps() [all …]
|
D | hclge_debugfs.c | 487 for (nq_id = 0; nq_id < hdev->num_tqps; nq_id++) { in hclge_dbg_dump_dcb_queue() 834 grp_num = hdev->num_tqps <= HCLGE_TQP_MAX_SIZE_DEV_V2 ? in hclge_dbg_dump_tm_bp_qset_map() 879 for (queue_id = 0; queue_id < hdev->num_tqps; queue_id++) { in hclge_dbg_dump_tm_map()
|
D | hclge_main.h | 850 u16 num_tqps; /* Num task queue pairs of this PF */ member
|
D | hclge_mbx.c | 603 if (queue_id >= handle->kinfo.num_tqps) { in hclge_get_queue_id_in_pf()
|
D | hclge_tm.c | 679 kinfo->num_tqps = hclge_vport_get_tqp_num(vport); in hclge_tm_vport_tc_info_update() 1402 if (hdev->num_tqps > HCLGE_TQP_MAX_SIZE_DEV_V2) { in hclge_bp_setup_hw()
|