Home
last modified time | relevance | path

Searched refs:ib_cq (Results 1 – 25 of 91) sorted by relevance

1234

/drivers/infiniband/core/
Dcq.c37 struct ib_cq *cq = dim->priv; in ib_cq_rdma_dim_work()
47 static void rdma_dim_init(struct ib_cq *cq) in rdma_dim_init()
68 static int __ib_process_cq(struct ib_cq *cq, int budget, struct ib_wc *wcs, in __ib_process_cq()
112 int ib_process_cq_direct(struct ib_cq *cq, int budget) in ib_process_cq_direct()
120 static void ib_cq_completion_direct(struct ib_cq *cq, void *private) in ib_cq_completion_direct()
127 struct ib_cq *cq = container_of(iop, struct ib_cq, iop); in ib_poll_handler()
144 static void ib_cq_completion_softirq(struct ib_cq *cq, void *private) in ib_cq_completion_softirq()
151 struct ib_cq *cq = container_of(work, struct ib_cq, work); in ib_cq_poll_work()
163 static void ib_cq_completion_workqueue(struct ib_cq *cq, void *private) in ib_cq_completion_workqueue()
183 struct ib_cq *__ib_alloc_cq_user(struct ib_device *dev, void *private, in __ib_alloc_cq_user()
[all …]
Duverbs_std_types_cq.c41 struct ib_cq *cq = uobject->object; in uverbs_free_cq()
71 struct ib_cq *cq; in UVERBS_HANDLER()
114 cq = rdma_zalloc_drv_obj(ib_dev, ib_cq); in UVERBS_HANDLER()
/drivers/infiniband/sw/rdmavt/
Dcq.h54 int rvt_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr,
56 void rvt_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata);
57 int rvt_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags);
58 int rvt_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata);
59 int rvt_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry);
Dcq.c200 int rvt_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, in rvt_create_cq()
318 void rvt_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata) in rvt_destroy_cq()
343 int rvt_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags) in rvt_req_notify_cq()
379 int rvt_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata) in rvt_resize_cq()
517 int rvt_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry) in rvt_poll_cq()
/drivers/infiniband/hw/hns/
Dhns_roce_cq.c44 struct ib_cq *ibcq = &hr_cq->ib_cq; in hns_roce_ib_cq_comp()
54 struct ib_cq *ibcq; in hns_roce_ib_cq_event()
56 ibcq = &hr_cq->ib_cq; in hns_roce_ib_cq_event()
403 hns_roce_ib_free_cq_buf(hr_dev, &hr_cq->hr_buf, hr_cq->ib_cq.cqe); in destroy_kernel_cq()
409 int hns_roce_ib_create_cq(struct ib_cq *ib_cq, in hns_roce_ib_create_cq() argument
413 struct hns_roce_dev *hr_dev = to_hr_dev(ib_cq->device); in hns_roce_ib_create_cq()
416 struct hns_roce_cq *hr_cq = to_hr_cq(ib_cq); in hns_roce_ib_create_cq()
431 hr_cq->ib_cq.cqe = cq_entries - 1; in hns_roce_ib_create_cq()
492 void hns_roce_ib_destroy_cq(struct ib_cq *ib_cq, struct ib_udata *udata) in hns_roce_ib_destroy_cq() argument
494 struct hns_roce_dev *hr_dev = to_hr_dev(ib_cq->device); in hns_roce_ib_destroy_cq()
[all …]
Dhns_roce_restrack.c82 struct ib_cq *ib_cq = container_of(res, struct ib_cq, res); in hns_roce_fill_res_cq_entry() local
83 struct hns_roce_dev *hr_dev = to_hr_dev(ib_cq->device); in hns_roce_fill_res_cq_entry()
84 struct hns_roce_cq *hr_cq = to_hr_cq(ib_cq); in hns_roce_fill_res_cq_entry()
Dhns_roce_device.h491 struct ib_cq ib_cq; member
974 int (*req_notify_cq)(struct ib_cq *ibcq, enum ib_cq_notify_flags flags);
975 int (*poll_cq)(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc);
978 void (*destroy_cq)(struct ib_cq *ibcq, struct ib_udata *udata);
979 int (*modify_cq)(struct ib_cq *cq, u16 cq_count, u16 cq_period);
1085 static inline struct hns_roce_cq *to_hr_cq(struct ib_cq *ib_cq) in to_hr_cq() argument
1087 return container_of(ib_cq, struct hns_roce_cq, ib_cq); in to_hr_cq()
1247 struct ib_cq *ib_cq);
1260 int hns_roce_ib_create_cq(struct ib_cq *ib_cq,
1264 void hns_roce_ib_destroy_cq(struct ib_cq *ib_cq, struct ib_udata *udata);
/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.h51 int ocrdma_poll_cq(struct ib_cq *, int num_entries, struct ib_wc *wc);
52 int ocrdma_arm_cq(struct ib_cq *, enum ib_cq_notify_flags flags);
74 int ocrdma_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr,
76 int ocrdma_resize_cq(struct ib_cq *, int cqe, struct ib_udata *);
77 void ocrdma_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata);
/drivers/infiniband/hw/qedr/
Dverbs.h53 int qedr_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr,
55 int qedr_resize_cq(struct ib_cq *, int cqe, struct ib_udata *);
56 void qedr_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata);
57 int qedr_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags);
89 int qedr_poll_cq(struct ib_cq *, int num_entries, struct ib_wc *wc);
/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h97 struct ib_cq ib_cq; member
193 int bnxt_re_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr,
195 void bnxt_re_destroy_cq(struct ib_cq *cq, struct ib_udata *udata);
196 int bnxt_re_poll_cq(struct ib_cq *cq, int num_entries, struct ib_wc *wc);
197 int bnxt_re_req_notify_cq(struct ib_cq *cq, enum ib_cq_notify_flags flags);
/drivers/infiniband/ulp/iser/
Discsi_iser.h313 struct ib_cq *cq;
577 void iser_login_rsp(struct ib_cq *cq, struct ib_wc *wc);
578 void iser_task_rsp(struct ib_cq *cq, struct ib_wc *wc);
579 void iser_cmd_comp(struct ib_cq *cq, struct ib_wc *wc);
580 void iser_ctrl_comp(struct ib_cq *cq, struct ib_wc *wc);
581 void iser_dataout_comp(struct ib_cq *cq, struct ib_wc *wc);
582 void iser_reg_comp(struct ib_cq *cq, struct ib_wc *wc);
/drivers/infiniband/sw/siw/
Dsiw_verbs.h45 int siw_create_cq(struct ib_cq *base_cq, const struct ib_cq_init_attr *attr,
66 void siw_destroy_cq(struct ib_cq *base_cq, struct ib_udata *udata);
67 int siw_poll_cq(struct ib_cq *base_cq, int num_entries, struct ib_wc *wc);
68 int siw_req_notify_cq(struct ib_cq *base_cq, enum ib_cq_notify_flags flags);
/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h101 struct ib_cq *cq;
116 struct ib_cq ibcq;
458 struct ib_cq *cq;
661 static inline struct mlx4_ib_cq *to_mcq(struct ib_cq *ibcq) in to_mcq()
744 int mlx4_ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period);
745 int mlx4_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata);
746 int mlx4_ib_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr,
748 void mlx4_ib_destroy_cq(struct ib_cq *cq, struct ib_udata *udata);
749 int mlx4_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc);
750 int mlx4_ib_arm_cq(struct ib_cq *cq, enum ib_cq_notify_flags flags);
Dcq.c45 struct ib_cq *ibcq = &to_mibcq(cq)->ibcq; in mlx4_ib_cq_comp()
52 struct ib_cq *ibcq; in mlx4_ib_cq_event()
93 int mlx4_ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period) in mlx4_ib_modify_cq()
175 int mlx4_ib_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, in mlx4_ib_create_cq()
380 int mlx4_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) in mlx4_ib_resize_cq()
478 void mlx4_ib_destroy_cq(struct ib_cq *cq, struct ib_udata *udata) in mlx4_ib_destroy_cq()
881 int mlx4_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) in mlx4_ib_poll_cq()
908 int mlx4_ib_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) in mlx4_ib_arm_cq()
/drivers/infiniband/hw/efa/
Defa.h90 struct ib_cq ibcq;
137 void efa_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata);
138 int efa_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr,
/drivers/infiniband/hw/mlx5/
Dmlx5_ib.h503 struct ib_cq ibcq;
652 struct ib_cq *cq;
707 struct ib_cq *c0;
1027 static inline struct mlx5_ib_cq *to_mcq(struct ib_cq *ibcq) in to_mcq()
1139 int mlx5_ib_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr,
1141 void mlx5_ib_destroy_cq(struct ib_cq *cq, struct ib_udata *udata);
1142 int mlx5_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc);
1143 int mlx5_ib_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags);
1144 int mlx5_ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period);
1145 int mlx5_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata);
[all …]
Dcq.c42 struct ib_cq *ibcq = &to_mibcq(cq)->ibcq; in mlx5_ib_cq_comp()
51 struct ib_cq *ibcq = &cq->ibcq; in mlx5_ib_cq_event()
573 int mlx5_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) in mlx5_ib_poll_cq()
610 int mlx5_ib_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) in mlx5_ib_arm_cq()
887 int mlx5_ib_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, in mlx5_ib_create_cq()
994 void mlx5_ib_destroy_cq(struct ib_cq *cq, struct ib_udata *udata) in mlx5_ib_destroy_cq()
1072 int mlx5_ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period) in mlx5_ib_modify_cq()
1206 int mlx5_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) in mlx5_ib_resize_cq()
1341 int mlx5_ib_get_cqe_size(struct ib_cq *ibcq) in mlx5_ib_get_cqe_size()
1353 int mlx5_ib_generate_wc(struct ib_cq *ibcq, struct ib_wc *wc) in mlx5_ib_generate_wc()
/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.h61 int usnic_ib_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr,
63 void usnic_ib_destroy_cq(struct ib_cq *cq, struct ib_udata *udata);
/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.h412 int pvrdma_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr,
414 void pvrdma_destroy_cq(struct ib_cq *cq, struct ib_udata *udata);
415 int pvrdma_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc);
416 int pvrdma_req_notify_cq(struct ib_cq *cq, enum ib_cq_notify_flags flags);
Dpvrdma_cq.c63 int pvrdma_req_notify_cq(struct ib_cq *ibcq, in pvrdma_req_notify_cq()
101 int pvrdma_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, in pvrdma_create_cq()
238 void pvrdma_destroy_cq(struct ib_cq *cq, struct ib_udata *udata) in pvrdma_destroy_cq()
382 int pvrdma_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) in pvrdma_poll_cq()
/drivers/infiniband/hw/cxgb3/
Diwch_provider.h104 struct ib_cq ibcq;
114 static inline struct iwch_cq *to_iwch_cq(struct ib_cq *ibcq) in to_iwch_cq()
333 int iwch_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc);
/drivers/nvme/host/
Drdma.c81 struct ib_cq *ib_cq; member
140 static void nvme_rdma_recv_done(struct ib_cq *cq, struct ib_wc *wc);
270 init_attr.send_cq = queue->ib_cq; in nvme_rdma_create_qp()
271 init_attr.recv_cq = queue->ib_cq; in nvme_rdma_create_qp()
419 ib_free_cq(queue->ib_cq); in nvme_rdma_destroy_queue_ib()
463 queue->ib_cq = ib_alloc_cq(ibdev, queue, in nvme_rdma_create_queue_ib()
466 if (IS_ERR(queue->ib_cq)) { in nvme_rdma_create_queue_ib()
467 ret = PTR_ERR(queue->ib_cq); in nvme_rdma_create_queue_ib()
509 ib_free_cq(queue->ib_cq); in nvme_rdma_create_queue_ib()
1094 static void nvme_rdma_wr_error(struct ib_cq *cq, struct ib_wc *wc, in nvme_rdma_wr_error()
[all …]
/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h429 struct ib_cq ibcq;
440 static inline struct c4iw_cq *to_c4iw_cq(struct ib_cq *ibcq) in to_c4iw_cq()
970 int c4iw_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc);
995 void c4iw_destroy_cq(struct ib_cq *ib_cq, struct ib_udata *udata);
996 int c4iw_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr,
998 int c4iw_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags);
/drivers/infiniband/hw/mthca/
Dmthca_provider.h202 struct ib_cq ibcq;
324 static inline struct mthca_cq *to_mcq(struct ib_cq *ibcq) in to_mcq()
/drivers/infiniband/ulp/srp/
Dib_srp.h155 struct ib_cq *send_cq;
156 struct ib_cq *recv_cq;

1234