Lines Matching refs:cq_idx
845 static int nicvf_cq_intr_handler(struct net_device *netdev, u8 cq_idx, in nicvf_cq_intr_handler() argument
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()
864 cqe_count = nicvf_queue_reg_read(nic, NIC_QSET_CQ_0_7_STATUS, cq_idx); in nicvf_cq_intr_handler()
870 cqe_head = nicvf_queue_reg_read(nic, NIC_QSET_CQ_0_7_HEAD, cq_idx) >> 9; in nicvf_cq_intr_handler()
911 cq_idx, processed_cqe); in nicvf_cq_intr_handler()
921 txq_idx = nicvf_netdev_qidx(nic, cq_idx); in nicvf_cq_intr_handler()
925 nicvf_xdp_sq_doorbell(nic, sq, cq_idx); in nicvf_cq_intr_handler()
965 work_done = nicvf_cq_intr_handler(netdev, cq->cq_idx, napi, budget); in nicvf_poll()
972 cq->cq_idx); in nicvf_poll()
973 nicvf_clear_intr(nic, NICVF_INTR_CQ, cq->cq_idx); in nicvf_poll()
975 cq->cq_idx, cq_head); in nicvf_poll()
976 nicvf_enable_intr(nic, NICVF_INTR_CQ, cq->cq_idx); in nicvf_poll()
1043 int qidx = cq_poll->cq_idx; in nicvf_intr_handler()
1473 cq_poll->cq_idx = qidx; in nicvf_open()