Lines Matching refs:q_num
56 int q_num = rcb_comm->max_q_per_vf; in hns_ae_get_base_ring_pair() local
59 return &rcb_comm->ring_pair_cb[port * q_num * vf_num]; in hns_ae_get_base_ring_pair()
95 ae_handle->q_num = qnum_per_vf; in hns_ae_get_handle()
143 for (i = 0; i < handle->q_num; i++) in hns_ae_put_handle()
157 for (i = 0; i < handle->q_num; i++) { in hns_ae_wait_flow_down()
186 int q_num = handle->q_num; in hns_ae_ring_enable_all() local
189 for (i = 0; i < q_num; i++) in hns_ae_ring_enable_all()
315 for (i = 0; i < handle->q_num; i++) { in hns_ae_set_mtu()
342 for (k = 0; k < handle->q_num; k++) { in hns_ae_start()
363 hns_rcb_wait_fbd_clean(handle->qs, handle->q_num, RCB_INT_FLAG_TX); in hns_ae_stop()
374 hns_rcb_wait_fbd_clean(handle->qs, handle->q_num, RCB_INT_FLAG_RX); in hns_ae_stop()
639 for (idx = 0; idx < handle->q_num; idx++) { in hns_ae_update_stats()
718 for (idx = 0; idx < handle->q_num; idx++) { in hns_ae_get_stats()
751 for (idx = 0; idx < handle->q_num; idx++) { in hns_ae_get_strings()
776 sset_count += hns_rcb_get_ring_sset_count(stringset) * handle->q_num; in hns_ae_get_sset_count()
849 for (i = 0; i < handle->q_num; i++) { in hns_ae_get_regs()
868 total_num += hns_rcb_get_ring_regs_count() * handle->q_num; in hns_ae_get_regs_len()