Lines Matching full:qs
217 for (qidx = 0; qidx < nic->qs->rq_cnt; qidx++) { in nicvf_get_qset_strings()
225 for (qidx = 0; qidx < nic->qs->sq_cnt; qidx++) { in nicvf_get_qset_strings()
282 (nic->qs->rq_cnt + nic->qs->sq_cnt); in nicvf_get_sset_count()
290 (snic->qs->rq_cnt + snic->qs->sq_cnt); in nicvf_get_sset_count()
306 for (qidx = 0; qidx < nic->qs->rq_cnt; qidx++) { in nicvf_get_qset_stats()
309 *((*data)++) = ((u64 *)&nic->qs->rq[qidx].stats) in nicvf_get_qset_stats()
313 for (qidx = 0; qidx < nic->qs->sq_cnt; qidx++) { in nicvf_get_qset_stats()
316 *((*data)++) = ((u64 *)&nic->qs->sq[qidx].stats) in nicvf_get_qset_stats()
475 struct queue_set *qs = nic->qs; in nicvf_get_ringparam() local
478 ring->rx_pending = qs->cq_len; in nicvf_get_ringparam()
480 ring->tx_pending = qs->sq_len; in nicvf_get_ringparam()
489 struct queue_set *qs = nic->qs; in nicvf_set_ringparam() local
504 if ((tx_count == qs->sq_len) && (rx_count == qs->cq_len)) in nicvf_set_ringparam()
508 qs->sq_len = rounddown_pow_of_two(tx_count); in nicvf_set_ringparam()
509 qs->cq_len = rounddown_pow_of_two(rx_count); in nicvf_set_ringparam()
772 nic->qs->rq_cnt = min_t(u8, nic->rx_queues, MAX_RCV_QUEUES_PER_QS); in nicvf_set_channels()
773 nic->qs->sq_cnt = min_t(u8, txq_count, MAX_SND_QUEUES_PER_QS); in nicvf_set_channels()
774 nic->qs->cq_cnt = max(nic->qs->rq_cnt, nic->qs->sq_cnt); in nicvf_set_channels()