Lines Matching refs:num_tqps
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()
2537 int queue_num = priv->ae_handle->kinfo.num_tqps; in hns3_nic_get_stats64()
4490 if (tqp_vector->num_tqps > 1) in hns3_nic_common_poll()
4491 rx_budget = max(budget / tqp_vector->num_tqps, 1); in hns3_nic_common_poll()
4683 tqp_vector->num_tqps = 0; in hns3_nic_init_vector_data()
4687 for (i = 0; i < h->kinfo.num_tqps; i++) { in hns3_nic_init_vector_data()
4689 u16 tqp_num = h->kinfo.num_tqps; in hns3_nic_init_vector_data()
4701 tqp_vector->num_tqps++; in hns3_nic_init_vector_data()
4776 u16 tqp_num = h->kinfo.num_tqps; in hns3_nic_alloc_vector_data()
4874 int queue_num = priv->ae_handle->kinfo.num_tqps; in hns3_ring_get_cfg()
4918 array3_size(h->kinfo.num_tqps, in hns3_get_ring_config()
4924 for (i = 0; i < h->kinfo.num_tqps; i++) in hns3_get_ring_config()
5100 int ring_num = h->kinfo.num_tqps * 2; in hns3_init_all_ring()
5130 for (i = 0; i < h->kinfo.num_tqps; i++) { in hns3_uninit_all_ring()
5132 hns3_fini_ring(&priv->ring[i + h->kinfo.num_tqps]); in hns3_uninit_all_ring()
5209 dev_info(priv->dev, "Task queue pairs numbers: %u\n", kinfo->num_tqps); in hns3_info_show()
5553 for (i = 0; i < h->kinfo.num_tqps; i++) { in hns3_clear_all_ring()
5559 ring = &priv->ring[i + h->kinfo.num_tqps]; in hns3_clear_all_ring()
5582 for (i = 0; i < h->kinfo.num_tqps; i++) { in hns3_nic_reset_all_ring()
5593 rx_ring = &priv->ring[i + h->kinfo.num_tqps]; in hns3_nic_reset_all_ring()
5845 org_tqp_num = h->kinfo.num_tqps; in hns3_set_channels()
5883 for (i = 0; i < h->kinfo.num_tqps; i++) in hns3_external_lb_prepare()
5919 for (i = 0; i < h->kinfo.num_tqps; i++) in hns3_external_lb_restore()