Home
last modified time | relevance | path

Searched refs:cq_idx (Results 1 – 17 of 17) sorted by relevance

/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_debugfs.h647 int cq_idx; in lpfc_debug_dump_cq_by_id() local
649 for (cq_idx = 0; cq_idx < phba->cfg_fcp_io_channel; cq_idx++) in lpfc_debug_dump_cq_by_id()
650 if (phba->sli4_hba.fcp_cq[cq_idx]->queue_id == qid) in lpfc_debug_dump_cq_by_id()
653 if (cq_idx < phba->cfg_fcp_io_channel) { in lpfc_debug_dump_cq_by_id()
654 pr_err("FCP CQ[Idx:%d|Qid:%d]\n", cq_idx, qid); in lpfc_debug_dump_cq_by_id()
655 lpfc_debug_dump_q(phba->sli4_hba.fcp_cq[cq_idx]); in lpfc_debug_dump_cq_by_id()
659 for (cq_idx = 0; cq_idx < phba->cfg_nvme_io_channel; cq_idx++) in lpfc_debug_dump_cq_by_id()
660 if (phba->sli4_hba.nvme_cq[cq_idx]->queue_id == qid) in lpfc_debug_dump_cq_by_id()
663 if (cq_idx < phba->cfg_nvme_io_channel) { in lpfc_debug_dump_cq_by_id()
664 pr_err("NVME CQ[Idx:%d|Qid:%d]\n", cq_idx, qid); in lpfc_debug_dump_cq_by_id()
[all …]
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Den_cq.c93 int cq_idx) in mlx4_en_activate_cq() argument
131 cq_idx = cq_idx % priv->rx_ring_num; in mlx4_en_activate_cq()
132 rx_cq = priv->rx_cq[cq_idx]; in mlx4_en_activate_cq()
Dmlx4_en.h695 int cq_idx);
/Linux-v4.19/drivers/net/ethernet/amazon/ena/
Dena_admin_defs.h277 u16 cq_idx; member
366 u16 cq_idx; member
381 u16 cq_idx; member
734 u16 cq_idx; member
Dena_com.c962 struct ena_com_io_sq *io_sq, u16 cq_idx) in ena_com_create_io_sq() argument
993 create_cmd.cq_idx = cq_idx; in ena_com_create_io_sq()
1052 rss->rss_ind_tbl[i].cq_idx = io_sq->idx; in ena_com_ind_tbl_convert_to_device()
1069 if (rss->rss_ind_tbl[i].cq_idx > ENA_TOTAL_NUM_QUEUES) in ena_com_ind_tbl_convert_from_device()
1071 idx = (u8)rss->rss_ind_tbl[i].cq_idx; in ena_com_ind_tbl_convert_from_device()
1192 io_cq->idx = cmd_completion.cq_idx; in ena_com_create_io_cq()
1272 destroy_cmd.cq_idx = io_cq->idx; in ena_com_destroy_io_cq()
/Linux-v4.19/drivers/net/ethernet/cavium/thunder/
Dnicvf_main.c827 static int nicvf_cq_intr_handler(struct net_device *netdev, u8 cq_idx, in nicvf_cq_intr_handler() argument
835 struct cmp_queue *cq = &qs->cq[cq_idx]; in nicvf_cq_intr_handler()
838 struct snd_queue *sq = &qs->sq[cq_idx]; in nicvf_cq_intr_handler()
839 struct rcv_queue *rq = &qs->rq[cq_idx]; in nicvf_cq_intr_handler()
846 cqe_count = nicvf_queue_reg_read(nic, NIC_QSET_CQ_0_7_STATUS, cq_idx); in nicvf_cq_intr_handler()
852 cqe_head = nicvf_queue_reg_read(nic, NIC_QSET_CQ_0_7_HEAD, cq_idx) >> 9; in nicvf_cq_intr_handler()
893 cq_idx, processed_cqe); in nicvf_cq_intr_handler()
903 txq_idx = nicvf_netdev_qidx(nic, cq_idx); in nicvf_cq_intr_handler()
907 nicvf_xdp_sq_doorbell(nic, sq, cq_idx); in nicvf_cq_intr_handler()
947 work_done = nicvf_cq_intr_handler(netdev, cq->cq_idx, napi, budget); in nicvf_poll()
[all …]
Dnicvf_queues.h248 u8 cq_idx; /* CQ index (0 to 7) in the QS */ member
270 u8 cq_idx; /* CQ index (0 to 7) in the above QS */ member
Dnic.h126 u8 cq_idx; /* Completion queue index */ member
Dnicvf_queues.c767 rq->cq_idx = qidx; in nicvf_rcv_queue_config()
783 (rq->cq_idx << 16) | (rq->cont_rbdr_qs << 9) | in nicvf_rcv_queue_config()
880 sq->cq_idx = qidx; in nicvf_snd_queue_config()
887 mbx.sq.cfg = (sq->cq_qs << 3) | sq->cq_idx; in nicvf_snd_queue_config()
/Linux-v4.19/drivers/infiniband/hw/usnic/
Dusnic_abi.h83 u32 cq_idx[USNIC_QP_GRP_MAX_CQS]; member
Dusnic_ib_verbs.c154 resp.cq_idx[i] = chunk->res[i]->vnic_idx; in usnic_ib_fill_create_qp_resp()
/Linux-v4.19/drivers/scsi/snic/
Dsnic_scsi.c1202 unsigned int cq_idx, in snic_io_cmpl_handler() argument
1285 unsigned int cq_idx; in snic_fwcq_cmpl_handler() local
1289 for (cq_idx = snic->wq_count; cq_idx < snic->cq_count; cq_idx++) { in snic_fwcq_cmpl_handler()
1290 nent_per_cq = vnic_cq_fw_service(&snic->cq[cq_idx], in snic_fwcq_cmpl_handler()
/Linux-v4.19/drivers/scsi/qedi/
Dqedi_fw.c2068 u16 cq_idx; in qedi_iscsi_send_ioreq() local
2096 cq_idx = smp_processor_id() % qedi->num_queues; in qedi_iscsi_send_ioreq()
2161 task_params.cq_rss_number = cq_idx; in qedi_iscsi_send_ioreq()
/Linux-v4.19/drivers/nvme/host/
Dpci.c142 static inline unsigned int cq_idx(unsigned int qid, u32 stride) in cq_idx() function
274 nvmeq->dbbuf_cq_db = &dev->dbbuf_dbs[cq_idx(qid, dev->db_stride)]; in nvme_dbbuf_init()
276 nvmeq->dbbuf_cq_ei = &dev->dbbuf_eis[cq_idx(qid, dev->db_stride)]; in nvme_dbbuf_init()
/Linux-v4.19/drivers/scsi/qedf/
Dqedf_io.c611 uint16_t cq_idx = smp_processor_id() % qedf->num_queues; in qedf_init_task() local
644 io_req->task_params->cq_rss_number = cq_idx; in qedf_init_task()
/Linux-v4.19/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c965 static void ocrdma_qp_cq_handler(struct ocrdma_dev *dev, u16 cq_idx) in ocrdma_qp_cq_handler() argument
970 if (cq_idx >= OCRDMA_MAX_CQ) in ocrdma_qp_cq_handler()
973 cq = dev->cq_tbl[cq_idx]; in ocrdma_qp_cq_handler()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/
Dt3_cpl.h234 __be16 cq_idx; member