Lines Matching full:qs
319 mbx.cpi_cfg.rq_cnt = nic->qs->rq_cnt; in nicvf_config_cpi()
441 nic->snicvf[sqs]->qs->rq_cnt = MAX_RCV_QUEUES_PER_QS; in nicvf_request_sqs()
444 nic->snicvf[sqs]->qs->rq_cnt = rx_queues; in nicvf_request_sqs()
449 nic->snicvf[sqs]->qs->sq_cnt = MAX_SND_QUEUES_PER_QS; in nicvf_request_sqs()
452 nic->snicvf[sqs]->qs->sq_cnt = tx_queues; in nicvf_request_sqs()
456 nic->snicvf[sqs]->qs->cq_cnt = in nicvf_request_sqs()
457 max(nic->snicvf[sqs]->qs->rq_cnt, nic->snicvf[sqs]->qs->sq_cnt); in nicvf_request_sqs()
667 sq = &nic->qs->sq[cqe_tx->sq_idx]; in nicvf_snd_pkt_handler()
852 struct queue_set *qs = nic->qs; in nicvf_cq_intr_handler() local
853 struct cmp_queue *cq = &qs->cq[cq_idx]; in nicvf_cq_intr_handler()
856 struct snd_queue *sq = &qs->sq[cq_idx]; in nicvf_cq_intr_handler()
857 struct rcv_queue *rq = &qs->rq[cq_idx]; in nicvf_cq_intr_handler()
988 struct queue_set *qs = nic->qs; in nicvf_handle_qs_err() local
995 for (qidx = 0; qidx < qs->cq_cnt; qidx++) { in nicvf_handle_qs_err()
1004 nicvf_cmp_queue_config(nic, qs, qidx, true); in nicvf_handle_qs_err()
1005 nicvf_sq_free_used_descs(nic->netdev, &qs->sq[qidx], qidx); in nicvf_handle_qs_err()
1006 nicvf_sq_enable(nic, &qs->sq[qidx], qidx); in nicvf_handle_qs_err()
1068 for (qidx = 0; qidx < nic->qs->rbdr_cnt; qidx++) { in nicvf_rbdr_intr_handler()
1138 for (irq = 0; irq < nic->qs->cq_cnt; irq++) { in nicvf_register_interrupts()
1149 irq < (NICVF_INTR_ID_RBDR + nic->qs->rbdr_cnt); irq++) { in nicvf_register_interrupts()
1158 /* Register QS error interrupt */ in nicvf_register_interrupts()
1288 sq = &snic->qs->sq[qid]; in nicvf_xmit()
1315 for (qidx = 0; qidx < nic->qs->cq_cnt; qidx++) { in nicvf_free_cq_poll()
1328 struct queue_set *qs = nic->qs; in nicvf_stop() local
1355 /* Disable RBDR & QS error interrupts */ in nicvf_stop()
1356 for (qidx = 0; qidx < qs->rbdr_cnt; qidx++) { in nicvf_stop()
1372 for (qidx = 0; qidx < nic->qs->cq_cnt; qidx++) { in nicvf_stop()
1453 struct queue_set *qs = nic->qs; in nicvf_open() local
1467 for (qidx = 0; qidx < qs->cq_cnt; qidx++) { in nicvf_open()
1543 for (qidx = 0; qidx < qs->cq_cnt; qidx++) in nicvf_open()
1547 for (qidx = 0; qidx < qs->rbdr_cnt; qidx++) in nicvf_open()
1567 for (qidx = 0; qidx < qs->cq_cnt; qidx++) { in nicvf_open()
1662 struct queue_set *qs = nic->qs; in nicvf_update_stats() local
1713 for (qidx = 0; qidx < qs->rq_cnt; qidx++) in nicvf_update_stats()
1715 for (qidx = 0; qidx < qs->sq_cnt; qidx++) in nicvf_update_stats()
1824 nic->qs->rq_cnt = min_t(u8, nic->rx_queues, MAX_RCV_QUEUES_PER_QS); in nicvf_set_xdp_queues()
1825 nic->qs->sq_cnt = min_t(u8, txq_count, MAX_SND_QUEUES_PER_QS); in nicvf_set_xdp_queues()
1826 nic->qs->cq_cnt = max_t(u8, nic->qs->rq_cnt, nic->qs->sq_cnt); in nicvf_set_xdp_queues()
2197 /* Check if this VF is in QS only mode */ in nicvf_probe()