/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/ |
D | en_cq.c | 90 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()
|
D | mlx4_en.h | 383 int cq_idx; member 696 int cq_idx);
|
/linux-6.12.1/drivers/scsi/lpfc/ |
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-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_txrx.c | 38 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 …]
|
D | otx2_txrx.h | 131 u8 cq_idx; member
|
D | cn10k.c | 122 __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/ |
D | efa_verbs.c | 713 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 …]
|
D | efa_com_cmd.h | 85 u16 cq_idx; member 93 u16 cq_idx; member
|
D | efa_com_cmd.c | 193 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()
|
D | efa_admin_cmds_defs.h | 520 u16 cq_idx; member 538 u16 cq_idx; member
|
D | efa.h | 107 u16 cq_idx; member
|
/linux-6.12.1/drivers/net/ethernet/cavium/thunder/ |
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 …]
|
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
|
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()
|
D | nic.h | 123 u8 cq_idx; /* Completion queue index */ member
|
/linux-6.12.1/drivers/net/ethernet/amazon/ena/ |
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
|
D | ena_com.c | 1177 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/ |
D | usnic_abi.h | 83 u32 cq_idx[USNIC_QP_GRP_MAX_CQS]; member
|
D | usnic_ib_verbs.c | 154 resp.cq_idx[i] = chunk->res[i]->vnic_idx; in usnic_ib_fill_create_qp_resp()
|
/linux-6.12.1/include/uapi/rdma/ |
D | efa-abi.h | 78 __u16 cq_idx; member
|
/linux-6.12.1/drivers/media/platform/mediatek/mdp3/ |
D | mdp_sm_mt8183.h | 114 u32 cq_idx; member
|
D | mdp_sm_mt8195.h | 245 u32 cq_idx; member
|
/linux-6.12.1/drivers/accel/habanalabs/goya/ |
D | goyaP.h | 247 u32 goya_get_queue_id_for_cq(struct hl_device *hdev, u32 cq_idx);
|
/linux-6.12.1/drivers/scsi/snic/ |
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-6.12.1/drivers/accel/habanalabs/common/ |
D | irq.c | 86 queue_work(hdev->cq_wq[cq->cq_idx], &job->finish_work); in job_finish()
|