Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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
/kernel/linux/linux-5.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);
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
977 static int efa_destroy_cq_idx(struct efa_dev *dev, int cq_idx) in efa_destroy_cq_idx() argument
979 struct efa_com_destroy_cq_params params = { .cq_idx = cq_idx }; in efa_destroy_cq_idx()
991 cq->cq_idx, cq->cpu_addr, cq->size, &cq->dma_addr); in efa_destroy_cq()
994 efa_destroy_cq_idx(dev, cq->cq_idx); in efa_destroy_cq()
1102 resp.cq_idx = result.cq_idx; in efa_create_cq()
1103 cq->cq_idx = result.cq_idx; in efa_create_cq()
1110 cq->cq_idx); in efa_create_cq()
1125 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
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
Defa-abi.h61 __u16 cq_idx; member
/kernel/linux/linux-5.10/include/uapi/rdma/
Defa-abi.h67 __u16 cq_idx; member
/kernel/linux/linux-5.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);
/kernel/linux/linux-5.10/drivers/misc/habanalabs/goya/
DgoyaP.h235 u32 goya_get_queue_id_for_cq(struct hl_device *hdev, u32 cq_idx);
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/scsi/qedi/
Dqedi_fw.c2050 u16 cq_idx; in qedi_iscsi_send_ioreq() local
2078 cq_idx = smp_processor_id() % qedi->num_queues; in qedi_iscsi_send_ioreq()
2143 task_params.cq_rss_number = cq_idx; in qedi_iscsi_send_ioreq()

12