/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | en_cq.c | 40 static void mlx4_en_cq_event(struct mlx4_cq *cq, enum mlx4_event event) in mlx4_en_cq_event() argument 52 struct mlx4_en_cq *cq; in mlx4_en_create_cq() local 55 cq = kzalloc_node(sizeof(*cq), GFP_KERNEL, node); in mlx4_en_create_cq() 56 if (!cq) { in mlx4_en_create_cq() 61 cq->size = entries; in mlx4_en_create_cq() 62 cq->buf_size = cq->size * mdev->dev->caps.cqe_size; in mlx4_en_create_cq() 64 cq->ring = ring; in mlx4_en_create_cq() 65 cq->type = mode; in mlx4_en_create_cq() 66 cq->vector = mdev->dev->caps.num_comp_vectors; in mlx4_en_create_cq() 72 err = mlx4_alloc_hwq_res(mdev->dev, &cq->wqres, in mlx4_en_create_cq() [all …]
|
D | cq.c | 82 static void mlx4_add_cq_to_tasklet(struct mlx4_cq *cq) in mlx4_add_cq_to_tasklet() argument 84 struct mlx4_eq_tasklet *tasklet_ctx = cq->tasklet_ctx.priv; in mlx4_add_cq_to_tasklet() 94 if (list_empty_careful(&cq->tasklet_ctx.list)) { in mlx4_add_cq_to_tasklet() 95 refcount_inc(&cq->refcount); in mlx4_add_cq_to_tasklet() 97 list_add_tail(&cq->tasklet_ctx.list, &tasklet_ctx->list); in mlx4_add_cq_to_tasklet() 106 struct mlx4_cq *cq; in mlx4_cq_completion() local 109 cq = radix_tree_lookup(&mlx4_priv(dev)->cq_table.tree, in mlx4_cq_completion() 113 if (!cq) { in mlx4_cq_completion() 121 ++cq->arm_sn; in mlx4_cq_completion() 123 cq->comp(cq); in mlx4_cq_completion() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | cq.c | 43 struct ib_cq *cq = dim->priv; in ib_cq_rdma_dim_work() local 50 trace_cq_modify(cq, comps, usec); in ib_cq_rdma_dim_work() 51 cq->device->ops.modify_cq(cq, comps, usec); in ib_cq_rdma_dim_work() 54 static void rdma_dim_init(struct ib_cq *cq) in rdma_dim_init() argument 58 if (!cq->device->ops.modify_cq || !cq->device->use_cq_dim || in rdma_dim_init() 59 cq->poll_ctx == IB_POLL_DIRECT) in rdma_dim_init() 69 dim->priv = cq; in rdma_dim_init() 70 cq->dim = dim; in rdma_dim_init() 75 static void rdma_dim_destroy(struct ib_cq *cq) in rdma_dim_destroy() argument 77 if (!cq->dim) in rdma_dim_destroy() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
D | rxe_cq.c | 11 int rxe_cq_chk_attr(struct rxe_dev *rxe, struct rxe_cq *cq, in rxe_cq_chk_attr() argument 27 if (cq) { in rxe_cq_chk_attr() 28 count = queue_count(cq->queue); in rxe_cq_chk_attr() 44 struct rxe_cq *cq = from_tasklet(cq, t, comp_task); in rxe_send_complete() local 47 spin_lock_irqsave(&cq->cq_lock, flags); in rxe_send_complete() 48 if (cq->is_dying) { in rxe_send_complete() 49 spin_unlock_irqrestore(&cq->cq_lock, flags); in rxe_send_complete() 52 spin_unlock_irqrestore(&cq->cq_lock, flags); in rxe_send_complete() 54 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context); in rxe_send_complete() 57 int rxe_cq_from_init(struct rxe_dev *rxe, struct rxe_cq *cq, int cqe, in rxe_cq_from_init() argument [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
D | ice_controlq.c | 36 struct ice_ctl_q_info *cq = &hw->adminq; in ice_adminq_init_regs() local 38 ICE_CQ_INIT_REGS(cq, PF_FW); in ice_adminq_init_regs() 49 struct ice_ctl_q_info *cq = &hw->mailboxq; in ice_mailbox_init_regs() local 51 ICE_CQ_INIT_REGS(cq, PF_MBX); in ice_mailbox_init_regs() 61 bool ice_check_sq_alive(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_check_sq_alive() argument 64 if (cq->sq.len && cq->sq.len_mask && cq->sq.len_ena_mask) in ice_check_sq_alive() 65 return (rd32(hw, cq->sq.len) & (cq->sq.len_mask | in ice_check_sq_alive() 66 cq->sq.len_ena_mask)) == in ice_check_sq_alive() 67 (cq->num_sq_entries | cq->sq.len_ena_mask); in ice_check_sq_alive() 78 ice_alloc_ctrlq_sq_ring(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_alloc_ctrlq_sq_ring() argument [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
D | mthca_cq.c | 169 static inline struct mthca_cqe *get_cqe(struct mthca_cq *cq, int entry) in get_cqe() argument 171 return get_cqe_from_buf(&cq->buf, entry); in get_cqe() 179 static inline struct mthca_cqe *next_cqe_sw(struct mthca_cq *cq) in next_cqe_sw() argument 181 return cqe_sw(get_cqe(cq, cq->cons_index & cq->ibcq.cqe)); in next_cqe_sw() 204 static inline void update_cons_index(struct mthca_dev *dev, struct mthca_cq *cq, in update_cons_index() argument 208 *cq->set_ci_db = cpu_to_be32(cq->cons_index); in update_cons_index() 211 mthca_write64(MTHCA_TAVOR_CQ_DB_INC_CI | cq->cqn, incr - 1, in update_cons_index() 219 struct mthca_cq *cq; in mthca_cq_completion() local 221 cq = mthca_array_get(&dev->cq_table.cq, cqn & (dev->limits.num_cqs - 1)); in mthca_cq_completion() 223 if (!cq) { in mthca_cq_completion() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/ |
D | vnic_cq.c | 29 void vnic_cq_free(struct vnic_cq *cq) in vnic_cq_free() argument 31 vnic_dev_free_desc_ring(cq->vdev, &cq->ring); in vnic_cq_free() 33 cq->ctrl = NULL; in vnic_cq_free() 36 int vnic_cq_alloc(struct vnic_dev *vdev, struct vnic_cq *cq, unsigned int index, in vnic_cq_alloc() argument 41 cq->index = index; in vnic_cq_alloc() 42 cq->vdev = vdev; in vnic_cq_alloc() 44 cq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_CQ, index); in vnic_cq_alloc() 45 if (!cq->ctrl) { in vnic_cq_alloc() 50 err = vnic_dev_alloc_desc_ring(vdev, &cq->ring, desc_count, desc_size); in vnic_cq_alloc() 57 void vnic_cq_init(struct vnic_cq *cq, unsigned int flow_control_enable, in vnic_cq_init() argument [all …]
|
D | vnic_cq.h | 72 static inline unsigned int vnic_cq_service(struct vnic_cq *cq, in vnic_cq_service() argument 83 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs + in vnic_cq_service() 84 cq->ring.desc_size * cq->to_clean); in vnic_cq_service() 88 while (color != cq->last_color) { in vnic_cq_service() 90 if ((*q_service)(cq->vdev, cq_desc, type, in vnic_cq_service() 94 cq->to_clean++; in vnic_cq_service() 95 if (cq->to_clean == cq->ring.desc_count) { in vnic_cq_service() 96 cq->to_clean = 0; in vnic_cq_service() 97 cq->last_color = cq->last_color ? 0 : 1; in vnic_cq_service() 100 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs + in vnic_cq_service() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/snic/ |
D | vnic_cq.c | 24 void svnic_cq_free(struct vnic_cq *cq) in svnic_cq_free() argument 26 svnic_dev_free_desc_ring(cq->vdev, &cq->ring); in svnic_cq_free() 28 cq->ctrl = NULL; in svnic_cq_free() 31 int svnic_cq_alloc(struct vnic_dev *vdev, struct vnic_cq *cq, in svnic_cq_alloc() argument 34 cq->index = index; in svnic_cq_alloc() 35 cq->vdev = vdev; in svnic_cq_alloc() 37 cq->ctrl = svnic_dev_get_res(vdev, RES_TYPE_CQ, index); in svnic_cq_alloc() 38 if (!cq->ctrl) { in svnic_cq_alloc() 44 return svnic_dev_alloc_desc_ring(vdev, &cq->ring, desc_count, desc_size); in svnic_cq_alloc() 47 void svnic_cq_init(struct vnic_cq *cq, unsigned int flow_control_enable, in svnic_cq_init() argument [all …]
|
D | vnic_cq_fw.h | 24 vnic_cq_fw_service(struct vnic_cq *cq, in vnic_cq_fw_service() argument 35 desc = (struct snic_fw_req *)((u8 *)cq->ring.descs + in vnic_cq_fw_service() 36 cq->ring.desc_size * cq->to_clean); in vnic_cq_fw_service() 39 while (color != cq->last_color) { in vnic_cq_fw_service() 41 if ((*q_service)(cq->vdev, cq->index, desc)) in vnic_cq_fw_service() 44 cq->to_clean++; in vnic_cq_fw_service() 45 if (cq->to_clean == cq->ring.desc_count) { in vnic_cq_fw_service() 46 cq->to_clean = 0; in vnic_cq_fw_service() 47 cq->last_color = cq->last_color ? 0 : 1; in vnic_cq_fw_service() 50 desc = (struct snic_fw_req *)((u8 *)cq->ring.descs + in vnic_cq_fw_service() [all …]
|
D | vnic_cq.h | 60 static inline unsigned int svnic_cq_service(struct vnic_cq *cq, in svnic_cq_service() argument 71 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs + in svnic_cq_service() 72 cq->ring.desc_size * cq->to_clean); in svnic_cq_service() 76 while (color != cq->last_color) { in svnic_cq_service() 78 if ((*q_service)(cq->vdev, cq_desc, type, in svnic_cq_service() 82 cq->to_clean++; in svnic_cq_service() 83 if (cq->to_clean == cq->ring.desc_count) { in svnic_cq_service() 84 cq->to_clean = 0; in svnic_cq_service() 85 cq->last_color = cq->last_color ? 0 : 1; in svnic_cq_service() 88 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs + in svnic_cq_service() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
D | cq.c | 43 static void mlx4_ib_cq_comp(struct mlx4_cq *cq) in mlx4_ib_cq_comp() argument 45 struct ib_cq *ibcq = &to_mibcq(cq)->ibcq; in mlx4_ib_cq_comp() 49 static void mlx4_ib_cq_event(struct mlx4_cq *cq, enum mlx4_event type) in mlx4_ib_cq_event() argument 56 "on CQ %06x\n", type, cq->cqn); in mlx4_ib_cq_event() 60 ibcq = &to_mibcq(cq)->ibcq; in mlx4_ib_cq_event() 64 event.element.cq = ibcq; in mlx4_ib_cq_event() 74 static void *get_cqe(struct mlx4_ib_cq *cq, int n) in get_cqe() argument 76 return get_cqe_from_buf(&cq->buf, n); in get_cqe() 79 static void *get_sw_cqe(struct mlx4_ib_cq *cq, int n) in get_sw_cqe() argument 81 struct mlx4_cqe *cqe = get_cqe(cq, n & cq->ibcq.cqe); in get_sw_cqe() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/ |
D | cq.c | 67 bool rvt_cq_enter(struct rvt_cq *cq, struct ib_wc *entry, bool solicited) in rvt_cq_enter() argument 78 spin_lock_irqsave(&cq->lock, flags); in rvt_cq_enter() 80 if (cq->ip) { in rvt_cq_enter() 81 u_wc = cq->queue; in rvt_cq_enter() 86 k_wc = cq->kqueue; in rvt_cq_enter() 96 if (head >= (unsigned)cq->ibcq.cqe) { in rvt_cq_enter() 97 head = cq->ibcq.cqe; in rvt_cq_enter() 103 if (unlikely(next == tail || cq->cq_full)) { in rvt_cq_enter() 104 struct rvt_dev_info *rdi = cq->rdi; in rvt_cq_enter() 106 if (!cq->cq_full) in rvt_cq_enter() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/fnic/ |
D | vnic_cq.c | 24 void vnic_cq_free(struct vnic_cq *cq) in vnic_cq_free() argument 26 vnic_dev_free_desc_ring(cq->vdev, &cq->ring); in vnic_cq_free() 28 cq->ctrl = NULL; in vnic_cq_free() 31 int vnic_cq_alloc(struct vnic_dev *vdev, struct vnic_cq *cq, unsigned int index, in vnic_cq_alloc() argument 36 cq->index = index; in vnic_cq_alloc() 37 cq->vdev = vdev; in vnic_cq_alloc() 39 cq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_CQ, index); in vnic_cq_alloc() 40 if (!cq->ctrl) { in vnic_cq_alloc() 45 err = vnic_dev_alloc_desc_ring(vdev, &cq->ring, desc_count, desc_size); in vnic_cq_alloc() 52 void vnic_cq_init(struct vnic_cq *cq, unsigned int flow_control_enable, in vnic_cq_init() argument [all …]
|
D | vnic_cq_copy.h | 24 struct vnic_cq *cq, in vnic_cq_copy_service() argument 35 desc = (struct fcpio_fw_req *)((u8 *)cq->ring.descs + in vnic_cq_copy_service() 36 cq->ring.desc_size * cq->to_clean); in vnic_cq_copy_service() 39 while (color != cq->last_color) { in vnic_cq_copy_service() 41 if ((*q_service)(cq->vdev, cq->index, desc)) in vnic_cq_copy_service() 44 cq->to_clean++; in vnic_cq_copy_service() 45 if (cq->to_clean == cq->ring.desc_count) { in vnic_cq_copy_service() 46 cq->to_clean = 0; in vnic_cq_copy_service() 47 cq->last_color = cq->last_color ? 0 : 1; in vnic_cq_copy_service() 50 desc = (struct fcpio_fw_req *)((u8 *)cq->ring.descs + in vnic_cq_copy_service() [all …]
|
D | vnic_cq.h | 70 static inline unsigned int vnic_cq_service(struct vnic_cq *cq, in vnic_cq_service() argument 81 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs + in vnic_cq_service() 82 cq->ring.desc_size * cq->to_clean); in vnic_cq_service() 86 while (color != cq->last_color) { in vnic_cq_service() 88 if ((*q_service)(cq->vdev, cq_desc, type, in vnic_cq_service() 92 cq->to_clean++; in vnic_cq_service() 93 if (cq->to_clean == cq->ring.desc_count) { in vnic_cq_service() 94 cq->to_clean = 0; in vnic_cq_service() 95 cq->last_color = cq->last_color ? 0 : 1; in vnic_cq_service() 98 cq_desc = (struct cq_desc *)((u8 *)cq->ring.descs + in vnic_cq_service() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_cq.c | 67 struct pvrdma_cq *cq = to_vcq(ibcq); in pvrdma_req_notify_cq() local 68 u32 val = cq->cq_handle; in pvrdma_req_notify_cq() 75 spin_lock_irqsave(&cq->cq_lock, flags); in pvrdma_req_notify_cq() 82 has_data = pvrdma_idx_ring_has_data(&cq->ring_state->rx, in pvrdma_req_notify_cq() 83 cq->ibcq.cqe, &head); in pvrdma_req_notify_cq() 88 spin_unlock_irqrestore(&cq->cq_lock, flags); in pvrdma_req_notify_cq() 107 struct pvrdma_cq *cq = to_vcq(ibcq); in pvrdma_create_cq() local 129 cq->ibcq.cqe = entries; in pvrdma_create_cq() 130 cq->is_kernel = !udata; in pvrdma_create_cq() 132 if (!cq->is_kernel) { in pvrdma_create_cq() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | cq.c | 41 static void mlx5_ib_cq_comp(struct mlx5_core_cq *cq, struct mlx5_eqe *eqe) in mlx5_ib_cq_comp() argument 43 struct ib_cq *ibcq = &to_mibcq(cq)->ibcq; in mlx5_ib_cq_comp() 50 struct mlx5_ib_cq *cq = container_of(mcq, struct mlx5_ib_cq, mcq); in mlx5_ib_cq_event() local 51 struct mlx5_ib_dev *dev = to_mdev(cq->ibcq.device); in mlx5_ib_cq_event() 52 struct ib_cq *ibcq = &cq->ibcq; in mlx5_ib_cq_event() 64 event.element.cq = ibcq; in mlx5_ib_cq_event() 69 static void *get_cqe(struct mlx5_ib_cq *cq, int n) in get_cqe() argument 71 return mlx5_frag_buf_get_wqe(&cq->buf.fbc, n); in get_cqe() 79 static void *get_sw_cqe(struct mlx5_ib_cq *cq, int n) in get_sw_cqe() argument 81 void *cqe = get_cqe(cq, n & cq->ibcq.cqe); in get_sw_cqe() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | cq.c | 70 static void mlx5_add_cq_to_tasklet(struct mlx5_core_cq *cq, in mlx5_add_cq_to_tasklet() argument 74 struct mlx5_eq_tasklet *tasklet_ctx = cq->tasklet_ctx.priv; in mlx5_add_cq_to_tasklet() 82 if (list_empty_careful(&cq->tasklet_ctx.list)) { in mlx5_add_cq_to_tasklet() 83 mlx5_cq_hold(cq); in mlx5_add_cq_to_tasklet() 84 list_add_tail(&cq->tasklet_ctx.list, &tasklet_ctx->list); in mlx5_add_cq_to_tasklet() 89 int mlx5_core_create_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, in mlx5_core_create_cq() argument 107 cq->cqn = MLX5_GET(create_cq_out, out, cqn); in mlx5_core_create_cq() 108 cq->cons_index = 0; in mlx5_core_create_cq() 109 cq->arm_sn = 0; in mlx5_core_create_cq() 110 cq->eq = eq; in mlx5_core_create_cq() [all …]
|
D | en_txrx.c | 59 dim_update_sample(sq->cq.event_ctr, stats->packets, stats->bytes, &dim_sample); in mlx5e_handle_tx_dim() 71 dim_update_sample(rq->cq.event_ctr, stats->packets, stats->bytes, &dim_sample); in mlx5e_handle_rx_dim() 138 busy |= mlx5e_poll_tx_cq(&c->sq[i].cq, budget); in mlx5e_napi_poll() 144 busy |= mlx5e_poll_xdpsq_cq(&c->xdpsq.cq); in mlx5e_napi_poll() 147 busy |= mlx5e_poll_xdpsq_cq(&c->rq_xdpsq.cq); in mlx5e_napi_poll() 150 work_done = mlx5e_poll_rx_cq(&xskrq->cq, budget); in mlx5e_napi_poll() 153 work_done += mlx5e_poll_rx_cq(&rq->cq, budget - work_done); in mlx5e_napi_poll() 157 mlx5e_poll_ico_cq(&c->icosq.cq); in mlx5e_napi_poll() 158 if (mlx5e_poll_ico_cq(&c->async_icosq.cq)) in mlx5e_napi_poll() 169 busy |= mlx5e_poll_xdpsq_cq(&xsksq->cq); in mlx5e_napi_poll() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/ |
D | cq.c | 37 static void destroy_cq(struct c4iw_rdev *rdev, struct t4_cq *cq, in destroy_cq() argument 56 res->u.cq.restype = FW_RI_RES_TYPE_CQ; in destroy_cq() 57 res->u.cq.op = FW_RI_RES_OP_RESET; in destroy_cq() 58 res->u.cq.iqid = cpu_to_be32(cq->cqid); in destroy_cq() 63 kfree(cq->sw_queue); in destroy_cq() 65 cq->memsize, cq->queue, in destroy_cq() 66 dma_unmap_addr(cq, mapping)); in destroy_cq() 67 c4iw_put_cqid(rdev, cq->cqid, uctx); in destroy_cq() 70 static int create_cq(struct c4iw_rdev *rdev, struct t4_cq *cq, in create_cq() argument 85 cq->cqid = c4iw_get_cqid(rdev, uctx); in create_cq() [all …]
|
D | t4.h | 718 static inline void write_gts(struct t4_cq *cq, u32 val) in write_gts() argument 720 if (cq->bar2_va) in write_gts() 721 writel(val | INGRESSQID_V(cq->bar2_qid), in write_gts() 722 cq->bar2_va + SGE_UDB_GTS); in write_gts() 724 writel(val | INGRESSQID_V(cq->cqid), cq->gts); in write_gts() 727 static inline int t4_clear_cq_armed(struct t4_cq *cq) in t4_clear_cq_armed() argument 729 return test_and_clear_bit(CQ_ARMED, &cq->flags); in t4_clear_cq_armed() 732 static inline int t4_arm_cq(struct t4_cq *cq, int se) in t4_arm_cq() argument 736 set_bit(CQ_ARMED, &cq->flags); in t4_arm_cq() 737 while (cq->cidx_inc > CIDXINC_M) { in t4_arm_cq() [all …]
|
D | restrack.c | 271 static int fill_cq(struct sk_buff *msg, struct t4_cq *cq) in fill_cq() argument 273 if (rdma_nl_put_driver_u32(msg, "cqid", cq->cqid)) in fill_cq() 275 if (rdma_nl_put_driver_u32(msg, "memsize", cq->memsize)) in fill_cq() 277 if (rdma_nl_put_driver_u32(msg, "size", cq->size)) in fill_cq() 279 if (rdma_nl_put_driver_u32(msg, "cidx", cq->cidx)) in fill_cq() 281 if (rdma_nl_put_driver_u32(msg, "cidx_inc", cq->cidx_inc)) in fill_cq() 283 if (rdma_nl_put_driver_u32(msg, "sw_cidx", cq->sw_cidx)) in fill_cq() 285 if (rdma_nl_put_driver_u32(msg, "sw_pidx", cq->sw_pidx)) in fill_cq() 287 if (rdma_nl_put_driver_u32(msg, "sw_in_use", cq->sw_in_use)) in fill_cq() 289 if (rdma_nl_put_driver_u32(msg, "vector", cq->vector)) in fill_cq() [all …]
|
/kernel/linux/linux-5.10/include/linux/mlx5/ |
D | cq.h | 49 void (*comp)(struct mlx5_core_cq *cq, struct mlx5_eqe *eqe); 57 void (*comp)(struct mlx5_core_cq *cq, struct mlx5_eqe *eqe); 141 static inline void mlx5_cq_set_ci(struct mlx5_core_cq *cq) in mlx5_cq_set_ci() argument 143 *cq->set_ci_db = cpu_to_be32(cq->cons_index & 0xffffff); in mlx5_cq_set_ci() 151 static inline void mlx5_cq_arm(struct mlx5_core_cq *cq, u32 cmd, in mlx5_cq_arm() argument 159 sn = cq->arm_sn & 3; in mlx5_cq_arm() 162 *cq->arm_db = cpu_to_be32(sn << 28 | cmd | ci); in mlx5_cq_arm() 170 doorbell[1] = cpu_to_be32(cq->cqn); in mlx5_cq_arm() 175 static inline void mlx5_cq_hold(struct mlx5_core_cq *cq) in mlx5_cq_hold() argument 177 refcount_inc(&cq->refcount); in mlx5_cq_hold() [all …]
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | rdma_core.h | 51 struct ib_cq *cq 54 TP_ARGS(cq), 61 cq->timestamp = ktime_get(); 62 cq->interrupt = true; 64 __entry->cq_id = cq->res.id; 72 struct ib_cq *cq 75 TP_ARGS(cq), 82 cq->timestamp = ktime_get(); 83 cq->interrupt = false; 85 __entry->cq_id = cq->res.id; [all …]
|