Lines Matching refs:num_tqps
396 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()
3603 u16 tqp_num = h->kinfo.num_tqps; in hns3_nic_alloc_vector_data()
3701 int queue_num = priv->ae_handle->kinfo.num_tqps; in hns3_ring_get_cfg()
3743 array3_size(h->kinfo.num_tqps, in hns3_get_ring_config()
3749 for (i = 0; i < h->kinfo.num_tqps; i++) in hns3_get_ring_config()
3889 int ring_num = h->kinfo.num_tqps * 2; in hns3_init_all_ring()
3918 for (i = 0; i < h->kinfo.num_tqps; i++) { in hns3_uninit_all_ring()
3920 hns3_fini_ring(&priv->ring[i + h->kinfo.num_tqps]); in hns3_uninit_all_ring()
4002 dev_info(priv->dev, "Task queue pairs numbers: %u\n", kinfo->num_tqps); in hns3_info_show()
4288 for (i = 0; i < h->kinfo.num_tqps; i++) { in hns3_clear_all_ring()
4294 ring = &priv->ring[i + h->kinfo.num_tqps]; in hns3_clear_all_ring()
4313 for (i = 0; i < h->kinfo.num_tqps; i++) { in hns3_nic_reset_all_ring()
4328 rx_ring = &priv->ring[i + h->kinfo.num_tqps]; in hns3_nic_reset_all_ring()
4596 org_tqp_num = h->kinfo.num_tqps; in hns3_set_channels()