/linux/drivers/scsi/lpfc/ |
H A D | lpfc_debugfs.h | 645 int cq_idx; in lpfc_debug_dump_cq_by_id() local 647 for (cq_idx = 0; cq_idx < phba->cfg_hdw_queue; cq_idx++) in lpfc_debug_dump_cq_by_id() 648 if (phba->sli4_hba.hdwq[cq_idx].io_cq->queue_id == qid) in lpfc_debug_dump_cq_by_id() 651 if (cq_idx < phba->cfg_hdw_queue) { in lpfc_debug_dump_cq_by_id() 652 pr_err("IO CQ[Idx:%d|Qid:%d]\n", cq_idx, qid); in lpfc_debug_dump_cq_by_id() 653 lpfc_debug_dump_q(phba->sli4_hba.hdwq[cq_idx].io_cq); in lpfc_debug_dump_cq_by_id()
|
/linux/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_main.c | 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() [all …]
|
H A D | nicvf_queues.h | 245 u8 cq_idx; /* CQ index (0 to 7) in the QS */ member 267 u8 cq_idx; /* CQ index (0 to 7) in the above QS */ member
|
H A D | nicvf_queues.c | 765 rq->cq_idx = qidx; in nicvf_rcv_queue_config() 781 (rq->cq_idx << 16) | (rq->cont_rbdr_qs << 9) | in nicvf_rcv_queue_config() 878 sq->cq_idx = qidx; in nicvf_snd_queue_config() 885 mbx.sq.cfg = (sq->cq_qs << 3) | sq->cq_idx; in nicvf_snd_queue_config()
|
H A D | nic.h | 123 u8 cq_idx; /* Completion queue index */ member
|
/linux/drivers/net/ethernet/amazon/ena/ |
H A D | ena_admin_defs.h | 257 u16 cq_idx; member 345 u16 cq_idx; member 360 u16 cq_idx; member 952 u16 cq_idx; member
|
H A D | ena_com.c | 1168 struct ena_com_io_sq *io_sq, u16 cq_idx) in ena_com_create_io_sq() argument 1199 create_cmd.cq_idx = cq_idx; in ena_com_create_io_sq() 1255 rss->rss_ind_tbl[i].cq_idx = io_sq->idx; in ena_com_ind_tbl_convert_to_device() 1364 io_cq->idx = cmd_completion.cq_idx; in ena_com_create_io_cq() 1440 destroy_cmd.cq_idx = io_cq->idx; in ena_com_destroy_io_cq()
|
/linux/drivers/infiniband/hw/usnic/ |
H A D | usnic_abi.h | 83 u32 cq_idx[USNIC_QP_GRP_MAX_CQS]; member
|
H A D | usnic_ib_verbs.c | 154 resp.cq_idx[i] = chunk->res[i]->vnic_idx; in usnic_ib_fill_create_qp_resp()
|
/linux/drivers/media/platform/mediatek/mdp3/ |
H A D | mdp_sm_mt8183.h | 114 u32 cq_idx; member
|
H A D | mdp_sm_mt8195.h | 245 u32 cq_idx; member
|
/linux/drivers/accel/habanalabs/goya/ |
H A D | goyaP.h | 247 u32 goya_get_queue_id_for_cq(struct hl_device *hdev, u32 cq_idx);
|
H A D | goya.c | 5249 u32 goya_get_queue_id_for_cq(struct hl_device *hdev, u32 cq_idx) in goya_get_queue_id_for_cq() argument 5251 return cq_idx; in goya_get_queue_id_for_cq()
|
/linux/drivers/scsi/snic/ |
H A D | snic_scsi.c | 1179 unsigned int cq_idx, in snic_io_cmpl_handler() argument 1262 unsigned int cq_idx; in snic_fwcq_cmpl_handler() local 1266 for (cq_idx = snic->wq_count; cq_idx < snic->cq_count; cq_idx++) { in snic_fwcq_cmpl_handler() 1267 nent_per_cq = vnic_cq_fw_service(&snic->cq[cq_idx], in snic_fwcq_cmpl_handler()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | mlx4_en.h | 383 int cq_idx; member 696 int cq_idx);
|
/linux/drivers/accel/habanalabs/common/ |
H A D | irq.c | 86 queue_work(hdev->cq_wq[cq->cq_idx], &job->finish_work); in job_finish()
|
H A D | habanalabs.h | 1117 u32 cq_idx; member 1723 u32 (*get_queue_id_for_cq)(struct hl_device *hdev, u32 cq_idx);
|
H A D | device.c | 2263 hdev->completion_queue[i].cq_idx = i; in hl_device_init()
|
/linux/drivers/scsi/qedi/ |
H A D | qedi_fw.c | 1993 u16 cq_idx; in qedi_iscsi_send_ioreq() local 2021 cq_idx = smp_processor_id() % qedi->num_queues; in qedi_iscsi_send_ioreq() 2086 task_params.cq_rss_number = cq_idx; in qedi_iscsi_send_ioreq()
|
/linux/drivers/infiniband/hw/irdma/ |
H A D | ctrl.c | 3810 u32 cq_idx; in irdma_sc_process_ceq() local 3814 cq_idx = 0; in irdma_sc_process_ceq() 3823 cq_idx = IRDMA_INVALID_CQ_IDX; in irdma_sc_process_ceq() 3834 cq_idx = irdma_sc_find_reg_cq(ceq, cq); in irdma_sc_process_ceq() 3841 } while (cq_idx == IRDMA_INVALID_CQ_IDX); in irdma_sc_process_ceq()
|
/linux/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_hw.c | 965 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/drivers/nvme/host/ |
H A D | pci.c | 178 static inline unsigned int cq_idx(unsigned int qid, u32 stride) in cq_idx() function 313 nvmeq->dbbuf_cq_db = &dev->dbbuf_dbs[cq_idx(qid, dev->db_stride)]; in nvme_dbbuf_init() 315 nvmeq->dbbuf_cq_ei = &dev->dbbuf_eis[cq_idx(qid, dev->db_stride)]; in nvme_dbbuf_init()
|
/linux/drivers/scsi/qedf/ |
H A D | qedf_io.c | 601 uint16_t cq_idx = smp_processor_id() % qedf->num_queues; in qedf_init_task() local 634 io_req->task_params->cq_rss_number = cq_idx; in qedf_init_task()
|
/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | t3_cpl.h | 234 __be16 cq_idx; member
|
/linux/drivers/accel/habanalabs/gaudi/ |
H A D | gaudi.c | 8419 static u32 gaudi_get_queue_id_for_cq(struct hl_device *hdev, u32 cq_idx) in gaudi_get_queue_id_for_cq() argument 8421 return gaudi_cq_assignment[cq_idx]; in gaudi_get_queue_id_for_cq()
|