Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c210 for (i = kinfo->num_tqps; i < kinfo->num_tqps * 2; i++) { in hns3_lb_check_rx_ring()
407 return ((HNS3_TQP_STATS_COUNT * h->kinfo.num_tqps) + in hns3_get_sset_count()
419 u32 stat_count, u32 num_tqps, const char *prefix) in hns3_update_strings() argument
426 for (i = 0; i < num_tqps; i++) { in hns3_update_strings()
452 kinfo->num_tqps, tx_prefix); in hns3_get_strings_tqps()
456 kinfo->num_tqps, rx_prefix); in hns3_get_strings_tqps()
492 for (i = 0; i < kinfo->num_tqps; i++) { in hns3_get_stats_tqps()
501 for (i = 0; i < kinfo->num_tqps; i++) { in hns3_get_stats_tqps()
502 ring = &nic_priv->ring[i + kinfo->num_tqps]; in hns3_get_stats_tqps()
591 int queue_num = h->kinfo.num_tqps; in hns3_get_ringparam()
[all …]
Dhns3_debugfs.c31 queue_max = h->kinfo.num_tqps; in hns3_dbg_queue_info()
40 if (queue_num >= h->kinfo.num_tqps) { in hns3_dbg_queue_info()
43 h->kinfo.num_tqps - 1); in hns3_dbg_queue_info()
56 ring = &priv->ring[(u32)(i + h->kinfo.num_tqps)]; in hns3_dbg_queue_info()
157 for (i = 0; i < h->kinfo.num_tqps; i++) { in hns3_dbg_queue_map()
191 if (q_num >= h->kinfo.num_tqps) { in hns3_dbg_bd_info()
193 h->kinfo.num_tqps - 1); in hns3_dbg_bd_info()
230 ring = &priv->ring[q_num + h->kinfo.num_tqps]; in hns3_dbg_bd_info()
345 dev_info(priv->dev, "Task queue pairs numbers: %u\n", kinfo->num_tqps); in hns3_dbg_dev_specs()
Dhns3_enet.c396 for (j = 0; j < h->kinfo.num_tqps; j++) in hns3_nic_net_up()
479 for (i = 0; i < h->kinfo.num_tqps; i++) { in hns3_reset_tx_queue()
498 for (i = 0; i < h->kinfo.num_tqps; i++) in hns3_nic_net_down()
1625 int queue_num = priv->ae_handle->kinfo.num_tqps; in hns3_nic_get_stats64()
3376 if (tqp_vector->num_tqps > 1) in hns3_nic_common_poll()
3377 rx_budget = max(budget / tqp_vector->num_tqps, 1); in hns3_nic_common_poll()
3540 tqp_vector->num_tqps = 0; in hns3_nic_init_vector_data()
3543 for (i = 0; i < h->kinfo.num_tqps; i++) { in hns3_nic_init_vector_data()
3545 u16 tqp_num = h->kinfo.num_tqps; in hns3_nic_init_vector_data()
3557 tqp_vector->num_tqps++; in hns3_nic_init_vector_data()
[all …]
Dhns3_enet.h459 u16 num_tqps; /* total number of tqps in TQP vector */ member
Dhnae3.h680 u16 num_tqps; /* total number of TQPs in this handle */ member
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.c110 for (i = 0; i < kinfo->num_tqps; i++) { in hclgevf_tqps_update_stats()
152 for (i = 0; i < kinfo->num_tqps; i++) { in hclgevf_tqps_get_stats()
156 for (i = 0; i < kinfo->num_tqps; i++) { in hclgevf_tqps_get_stats()
168 return kinfo->num_tqps * 2; in hclgevf_tqps_get_sset_count()
177 for (i = 0; i < kinfo->num_tqps; i++) { in hclgevf_tqps_get_strings()
185 for (i = 0; i < kinfo->num_tqps; i++) { in hclgevf_tqps_get_strings()
308 memcpy(&hdev->num_tqps, &resp_msg[HCLGEVF_TQPS_ALLOC_OFFSET], in hclgevf_get_queue_info()
391 hdev->htqp = devm_kcalloc(&hdev->pdev->dev, hdev->num_tqps, in hclgevf_alloc_tqps()
398 for (i = 0; i < hdev->num_tqps; i++) { in hclgevf_alloc_tqps()
419 u16 new_tqps = hdev->num_tqps; in hclgevf_knic_setup()
[all …]
Dhclgevf_main.h282 u16 num_tqps; /* num task queue pairs of this VF */ member
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c552 for (i = 0; i < kinfo->num_tqps; i++) { in hclge_tqps_update_stats()
571 for (i = 0; i < kinfo->num_tqps; i++) { in hclge_tqps_update_stats()
601 for (i = 0; i < kinfo->num_tqps; i++) { in hclge_tqps_get_stats()
606 for (i = 0; i < kinfo->num_tqps; i++) { in hclge_tqps_get_stats()
619 return kinfo->num_tqps * (2); in hclge_tqps_get_sset_count()
628 for (i = 0; i < kinfo->num_tqps; i++) { in hclge_tqps_get_strings()
636 for (i = 0; i < kinfo->num_tqps; i++) { in hclge_tqps_get_strings()
889 hdev->num_tqps = le16_to_cpu(req->tqp_num); in hclge_query_pf_resource()
1458 hdev->num_tqps = hdev->num_vmdq_vport + hdev->num_req_vfs + 1; in hclge_init_kdump_kernel_config()
1579 hdev->htqp = devm_kcalloc(&hdev->pdev->dev, hdev->num_tqps, in hclge_alloc_tqps()
[all …]
Dhclge_main.h740 u16 num_tqps; /* Num task queue pairs of this PF */ member
Dhclge_tm.c598 kinfo->num_tqps = kinfo->num_tc * kinfo->rss_size; in hclge_tm_vport_tc_info_update()