Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/scsi/lpfc/
Dlpfc_debugfs.h636 int cq_idx; in lpfc_debug_dump_cq_by_id() local
638 for (cq_idx = 0; cq_idx < phba->cfg_hdw_queue; cq_idx++) in lpfc_debug_dump_cq_by_id()
639 if (phba->sli4_hba.hdwq[cq_idx].io_cq->queue_id == qid) in lpfc_debug_dump_cq_by_id()
642 if (cq_idx < phba->cfg_hdw_queue) { in lpfc_debug_dump_cq_by_id()
643 pr_err("IO CQ[Idx:%d|Qid:%d]\n", cq_idx, qid); in lpfc_debug_dump_cq_by_id()
644 lpfc_debug_dump_q(phba->sli4_hba.hdwq[cq_idx].io_cq); in lpfc_debug_dump_cq_by_id()
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_txrx.c281 if (otx2_check_rcv_errors(pfvf, cqe, cq->cq_idx)) in otx2_rcv_pkt_handler()
294 skb_record_rx_queue(skb, cq->cq_idx); in otx2_rcv_pkt_handler()
329 ((u64)cq->cq_idx << 32) | processed_cqe); in otx2_rx_napi_handler()
341 work = &pfvf->refill_wrk[cq->cq_idx]; in otx2_rx_napi_handler()
351 otx2_aura_freeptr(pfvf, cq->cq_idx, bufptr + OTX2_HEAD_ROOM); in otx2_rx_napi_handler()
381 ((u64)cq->cq_idx << 32) | processed_cqe); in otx2_tx_napi_handler()
400 int workdone = 0, cq_idx, i; in otx2_napi_handler() local
410 cq_idx = cq_poll->cq_ids[i]; in otx2_napi_handler()
411 if (unlikely(cq_idx == CINT_INVALID_CQ)) in otx2_napi_handler()
413 cq = &qset->cq[cq_idx]; in otx2_napi_handler()
[all …]
Dotx2_txrx.h121 u8 cq_idx; member
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/
Den_cq.c90 int cq_idx) in mlx4_en_activate_cq() argument
128 cq_idx = cq_idx % priv->rx_ring_num; in mlx4_en_activate_cq()
129 rx_cq = priv->rx_cq[cq_idx]; in mlx4_en_activate_cq()
Dmlx4_en.h702 int cq_idx);
/Linux-v5.10/drivers/net/ethernet/amazon/ena/
Dena_admin_defs.h221 u16 cq_idx; member
309 u16 cq_idx; member
324 u16 cq_idx; member
870 u16 cq_idx; member
Dena_com.c1187 struct ena_com_io_sq *io_sq, u16 cq_idx) in ena_com_create_io_sq() argument
1218 create_cmd.cq_idx = cq_idx; in ena_com_create_io_sq()
1277 rss->rss_ind_tbl[i].cq_idx = io_sq->idx; in ena_com_ind_tbl_convert_to_device()
1382 io_cq->idx = cmd_completion.cq_idx; in ena_com_create_io_cq()
1464 destroy_cmd.cq_idx = io_cq->idx; in ena_com_destroy_io_cq()
/Linux-v5.10/drivers/net/ethernet/cavium/thunder/
Dnicvf_main.c848 static int nicvf_cq_intr_handler(struct net_device *netdev, u8 cq_idx, in nicvf_cq_intr_handler() argument
856 struct cmp_queue *cq = &qs->cq[cq_idx]; in nicvf_cq_intr_handler()
859 struct snd_queue *sq = &qs->sq[cq_idx]; in nicvf_cq_intr_handler()
860 struct rcv_queue *rq = &qs->rq[cq_idx]; in nicvf_cq_intr_handler()
867 cqe_count = nicvf_queue_reg_read(nic, NIC_QSET_CQ_0_7_STATUS, cq_idx); in nicvf_cq_intr_handler()
873 cqe_head = nicvf_queue_reg_read(nic, NIC_QSET_CQ_0_7_HEAD, cq_idx) >> 9; in nicvf_cq_intr_handler()
914 cq_idx, processed_cqe); in nicvf_cq_intr_handler()
924 txq_idx = nicvf_netdev_qidx(nic, cq_idx); in nicvf_cq_intr_handler()
928 nicvf_xdp_sq_doorbell(nic, sq, cq_idx); in nicvf_cq_intr_handler()
968 work_done = nicvf_cq_intr_handler(netdev, cq->cq_idx, napi, budget); in nicvf_poll()
[all …]
Dnicvf_queues.h245 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
Dnicvf_queues.c764 rq->cq_idx = qidx; in nicvf_rcv_queue_config()
780 (rq->cq_idx << 16) | (rq->cont_rbdr_qs << 9) | in nicvf_rcv_queue_config()
877 sq->cq_idx = qidx; in nicvf_snd_queue_config()
884 mbx.sq.cfg = (sq->cq_qs << 3) | sq->cq_idx; in nicvf_snd_queue_config()
Dnic.h123 u8 cq_idx; /* Completion queue index */ member
/Linux-v5.10/drivers/infiniband/hw/usnic/
Dusnic_abi.h83 u32 cq_idx[USNIC_QP_GRP_MAX_CQS]; member
Dusnic_ib_verbs.c155 resp.cq_idx[i] = chunk->res[i]->vnic_idx; in usnic_ib_fill_create_qp_resp()
/Linux-v5.10/drivers/infiniband/hw/efa/
Defa_verbs.c680 create_qp_params.send_cq_idx = to_ecq(init_attr->send_cq)->cq_idx; in efa_create_qp()
681 create_qp_params.recv_cq_idx = to_ecq(init_attr->recv_cq)->cq_idx; in efa_create_qp()
978 static int efa_destroy_cq_idx(struct efa_dev *dev, int cq_idx) in efa_destroy_cq_idx() argument
980 struct efa_com_destroy_cq_params params = { .cq_idx = cq_idx }; in efa_destroy_cq_idx()
992 cq->cq_idx, cq->cpu_addr, cq->size, &cq->dma_addr); in efa_destroy_cq()
995 efa_destroy_cq_idx(dev, cq->cq_idx); in efa_destroy_cq()
1103 resp.cq_idx = result.cq_idx; in efa_create_cq()
1104 cq->cq_idx = result.cq_idx; in efa_create_cq()
1111 cq->cq_idx); in efa_create_cq()
1126 cq->cq_idx, result.actual_depth, &cq->dma_addr, cq->cpu_addr); in efa_create_cq()
[all …]
Defa_com_cmd.h81 u16 cq_idx; member
87 u16 cq_idx; member
Defa_com_cmd.c188 result->cq_idx = cmd_completion.cq_idx; in efa_com_create_cq()
202 destroy_cmd.cq_idx = params->cq_idx; in efa_com_destroy_cq()
214 params->cq_idx, err); in efa_com_destroy_cq()
Defa_admin_cmds_defs.h479 u16 cq_idx; member
488 u16 cq_idx; member
Defa.h89 u16 cq_idx; member
/Linux-v5.10/include/uapi/rdma/
Defa-abi.h67 __u16 cq_idx; member
/Linux-v5.10/drivers/misc/habanalabs/common/
Dirq.c122 queue_work(hdev->cq_wq[cq->cq_idx], &job->finish_work); in hl_irq_handler_cq()
Dhabanalabs.h549 u32 cq_idx; member
806 u32 (*get_queue_id_for_cq)(struct hl_device *hdev, u32 cq_idx);
/Linux-v5.10/drivers/misc/habanalabs/goya/
DgoyaP.h235 u32 goya_get_queue_id_for_cq(struct hl_device *hdev, u32 cq_idx);
/Linux-v5.10/drivers/scsi/snic/
Dsnic_scsi.c1201 unsigned int cq_idx, in snic_io_cmpl_handler() argument
1284 unsigned int cq_idx; in snic_fwcq_cmpl_handler() local
1288 for (cq_idx = snic->wq_count; cq_idx < snic->cq_count; cq_idx++) { in snic_fwcq_cmpl_handler()
1289 nent_per_cq = vnic_cq_fw_service(&snic->cq[cq_idx], in snic_fwcq_cmpl_handler()
/Linux-v5.10/drivers/scsi/qedi/
Dqedi_fw.c2070 u16 cq_idx; in qedi_iscsi_send_ioreq() local
2098 cq_idx = smp_processor_id() % qedi->num_queues; in qedi_iscsi_send_ioreq()
2163 task_params.cq_rss_number = cq_idx; in qedi_iscsi_send_ioreq()
/Linux-v5.10/drivers/nvme/host/
Dpci.c174 static inline unsigned int cq_idx(unsigned int qid, u32 stride) in cq_idx() function
290 nvmeq->dbbuf_cq_db = &dev->dbbuf_dbs[cq_idx(qid, dev->db_stride)]; in nvme_dbbuf_init()
292 nvmeq->dbbuf_cq_ei = &dev->dbbuf_eis[cq_idx(qid, dev->db_stride)]; in nvme_dbbuf_init()

12