Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Den_cq.c90 int cq_idx) in mlx4_en_activate_cq() argument
126 cq_idx = cq_idx % priv->rx_ring_num; in mlx4_en_activate_cq()
127 rx_cq = priv->rx_cq[cq_idx]; in mlx4_en_activate_cq()
146 cq->cq_idx = cq_idx; in mlx4_en_activate_cq()
155 netif_queue_set_napi(cq->dev, cq_idx, NETDEV_QUEUE_TYPE_TX, &cq->napi); in mlx4_en_activate_cq()
162 netif_queue_set_napi(cq->dev, cq_idx, NETDEV_QUEUE_TYPE_RX, &cq->napi); in mlx4_en_activate_cq()
205 netif_queue_set_napi(cq->dev, cq->cq_idx, qtype, NULL); in mlx4_en_deactivate_cq()
Dmlx4_en.h383 int cq_idx; member
696 int cq_idx);
/linux-6.12.1/drivers/scsi/lpfc/
Dlpfc_debugfs.h645 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-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_txrx.c38 u64 incr = (u64)(cq->cq_idx) << 32; in otx2_nix_cq_op_status()
352 if (otx2_check_rcv_errors(pfvf, cqe, cq->cq_idx)) in otx2_rcv_pkt_handler()
372 seg_size[seg], parse, cq->cq_idx)) in otx2_rcv_pkt_handler()
379 skb_record_rx_queue(skb, cq->cq_idx); in otx2_rcv_pkt_handler()
429 ((u64)cq->cq_idx << 32) | processed_cqe); in otx2_rx_napi_handler()
443 otx2_aura_freeptr(pfvf, cq->cq_idx, bufptr + OTX2_HEAD_ROOM); in otx2_refill_pool_ptrs()
465 qidx = cq->cq_idx - pfvf->hw.rx_queues; in otx2_tx_napi_handler()
476 qidx = cq->cq_idx - pfvf->hw.rx_queues; in otx2_tx_napi_handler()
494 ((u64)cq->cq_idx << 32) | processed_cqe); in otx2_tx_napi_handler()
499 qidx = cq->cq_idx - pfvf->hw.rx_queues; in otx2_tx_napi_handler()
[all …]
Dotx2_txrx.h131 u8 cq_idx; member
Dcn10k.c122 __cn10k_aura_freeptr(pfvf, cq->cq_idx, ptrs, in cn10k_refill_pool_ptrs()
130 __cn10k_aura_freeptr(pfvf, cq->cq_idx, ptrs, in cn10k_refill_pool_ptrs()
/linux-6.12.1/drivers/infiniband/hw/efa/
Defa_verbs.c713 create_qp_params.send_cq_idx = to_ecq(init_attr->send_cq)->cq_idx; in efa_create_qp()
714 create_qp_params.recv_cq_idx = to_ecq(init_attr->recv_cq)->cq_idx; in efa_create_qp()
1014 static int efa_destroy_cq_idx(struct efa_dev *dev, int cq_idx) in efa_destroy_cq_idx() argument
1016 struct efa_com_destroy_cq_params params = { .cq_idx = cq_idx }; in efa_destroy_cq_idx()
1034 cq->cq_idx, cq->cpu_addr, cq->size, &cq->dma_addr); in efa_destroy_cq()
1036 efa_destroy_cq_idx(dev, cq->cq_idx); in efa_destroy_cq()
1039 xa_erase(&dev->cqs_xa, cq->cq_idx); in efa_destroy_cq()
1186 resp.cq_idx = result.cq_idx; in efa_create_cq()
1187 cq->cq_idx = result.cq_idx; in efa_create_cq()
1194 cq->cq_idx); in efa_create_cq()
[all …]
Defa_com_cmd.h85 u16 cq_idx; member
93 u16 cq_idx; member
Defa_com_cmd.c193 result->cq_idx = cmd_completion.cq_idx; in efa_com_create_cq()
210 destroy_cmd.cq_idx = params->cq_idx; in efa_com_destroy_cq()
222 params->cq_idx, err); in efa_com_destroy_cq()
Defa_admin_cmds_defs.h520 u16 cq_idx; member
538 u16 cq_idx; member
Defa.h107 u16 cq_idx; member
/linux-6.12.1/drivers/net/ethernet/cavium/thunder/
Dnicvf_main.c845 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 …]
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.c765 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()
Dnic.h123 u8 cq_idx; /* Completion queue index */ member
/linux-6.12.1/drivers/net/ethernet/amazon/ena/
Dena_admin_defs.h257 u16 cq_idx; member
345 u16 cq_idx; member
360 u16 cq_idx; member
952 u16 cq_idx; member
Dena_com.c1177 struct ena_com_io_sq *io_sq, u16 cq_idx) in ena_com_create_io_sq() argument
1208 create_cmd.cq_idx = cq_idx; in ena_com_create_io_sq()
1264 rss->rss_ind_tbl[i].cq_idx = io_sq->idx; in ena_com_ind_tbl_convert_to_device()
1373 io_cq->idx = cmd_completion.cq_idx; in ena_com_create_io_cq()
1449 destroy_cmd.cq_idx = io_cq->idx; in ena_com_destroy_io_cq()
/linux-6.12.1/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-6.12.1/include/uapi/rdma/
Defa-abi.h78 __u16 cq_idx; member
/linux-6.12.1/drivers/media/platform/mediatek/mdp3/
Dmdp_sm_mt8183.h114 u32 cq_idx; member
Dmdp_sm_mt8195.h245 u32 cq_idx; member
/linux-6.12.1/drivers/accel/habanalabs/goya/
DgoyaP.h247 u32 goya_get_queue_id_for_cq(struct hl_device *hdev, u32 cq_idx);
/linux-6.12.1/drivers/scsi/snic/
Dsnic_scsi.c1179 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-6.12.1/drivers/accel/habanalabs/common/
Dirq.c86 queue_work(hdev->cq_wq[cq->cq_idx], &job->finish_work); in job_finish()

12