/drivers/infiniband/core/ |
D | cq.c | 43 struct ib_cq *cq = dim->priv; in ib_cq_rdma_dim_work() 54 static void rdma_dim_init(struct ib_cq *cq) in rdma_dim_init() 75 static void rdma_dim_destroy(struct ib_cq *cq) in rdma_dim_destroy() 84 static int __poll_cq(struct ib_cq *cq, int num_entries, struct ib_wc *wc) in __poll_cq() 93 static int __ib_process_cq(struct ib_cq *cq, int budget, struct ib_wc *wcs, in __ib_process_cq() 139 int ib_process_cq_direct(struct ib_cq *cq, int budget) in ib_process_cq_direct() 147 static void ib_cq_completion_direct(struct ib_cq *cq, void *private) in ib_cq_completion_direct() 154 struct ib_cq *cq = container_of(iop, struct ib_cq, iop); in ib_poll_handler() 173 static void ib_cq_completion_softirq(struct ib_cq *cq, void *private) in ib_cq_completion_softirq() 181 struct ib_cq *cq = container_of(work, struct ib_cq, work); in ib_cq_poll_work() [all …]
|
D | uverbs_std_types_cq.c | 42 struct ib_cq *cq = uobject->object; in uverbs_free_cq() 71 struct ib_cq *cq; in UVERBS_HANDLER() 115 cq = rdma_zalloc_drv_obj(ib_dev, ib_cq); in UVERBS_HANDLER()
|
/drivers/infiniband/sw/rdmavt/ |
D | cq.h | 12 int rvt_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, 14 int rvt_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata); 15 int rvt_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags); 16 int rvt_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata); 17 int rvt_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry);
|
D | cq.c | 158 int rvt_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, in rvt_create_cq() 276 int rvt_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata) in rvt_destroy_cq() 302 int rvt_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags) in rvt_req_notify_cq() 338 int rvt_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata) in rvt_resize_cq() 476 int rvt_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry) in rvt_poll_cq()
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_cq.c | 301 struct ib_device *ibdev = hr_cq->ib_cq.device; in get_cq_ucmd() 316 struct hns_roce_dev *hr_dev = to_hr_dev(hr_cq->ib_cq.device); in set_cq_param() 320 hr_cq->ib_cq.cqe = cq_entries - 1; /* used as cqe index */ in set_cq_param() 332 struct hns_roce_dev *hr_dev = to_hr_dev(hr_cq->ib_cq.device); in set_cqe_size() 355 int hns_roce_create_cq(struct ib_cq *ib_cq, const struct ib_cq_init_attr *attr, in hns_roce_create_cq() argument 358 struct hns_roce_dev *hr_dev = to_hr_dev(ib_cq->device); in hns_roce_create_cq() 360 struct hns_roce_cq *hr_cq = to_hr_cq(ib_cq); in hns_roce_create_cq() 439 int hns_roce_destroy_cq(struct ib_cq *ib_cq, struct ib_udata *udata) in hns_roce_destroy_cq() argument 441 struct hns_roce_dev *hr_dev = to_hr_dev(ib_cq->device); in hns_roce_destroy_cq() 442 struct hns_roce_cq *hr_cq = to_hr_cq(ib_cq); in hns_roce_destroy_cq() [all …]
|
D | hns_roce_restrack.c | 80 struct ib_cq *ib_cq) in hns_roce_fill_res_cq_entry() argument 82 struct hns_roce_dev *hr_dev = to_hr_dev(ib_cq->device); in hns_roce_fill_res_cq_entry() 83 struct hns_roce_cq *hr_cq = to_hr_cq(ib_cq); in hns_roce_fill_res_cq_entry()
|
D | hns_roce_device.h | 435 struct ib_cq ib_cq; member 933 int (*destroy_cq)(struct ib_cq *ibcq, struct ib_udata *udata); 1048 static inline struct hns_roce_cq *to_hr_cq(struct ib_cq *ib_cq) in to_hr_cq() argument 1050 return container_of(ib_cq, struct hns_roce_cq, ib_cq); in to_hr_cq() 1233 struct ib_cq *ib_cq); 1245 int hns_roce_create_cq(struct ib_cq *ib_cq, const struct ib_cq_init_attr *attr, 1248 int hns_roce_destroy_cq(struct ib_cq *ib_cq, struct ib_udata *udata); 1267 struct ib_cq *ib_cq);
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.h | 51 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); 73 int ocrdma_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, 75 int ocrdma_resize_cq(struct ib_cq *, int cqe, struct ib_udata *); 76 int ocrdma_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata);
|
/drivers/infiniband/hw/qedr/ |
D | verbs.h | 54 int qedr_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, 56 int qedr_resize_cq(struct ib_cq *, int cqe, struct ib_udata *); 57 int qedr_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata); 58 int qedr_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags); 90 int qedr_poll_cq(struct ib_cq *, int num_entries, struct ib_wc *wc);
|
/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.h | 97 struct ib_cq ib_cq; member 193 int bnxt_re_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, 195 int 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/ |
D | iscsi_iser.h | 378 struct ib_cq *cq; 515 void iser_login_rsp(struct ib_cq *cq, struct ib_wc *wc); 516 void iser_task_rsp(struct ib_cq *cq, struct ib_wc *wc); 517 void iser_cmd_comp(struct ib_cq *cq, struct ib_wc *wc); 518 void iser_ctrl_comp(struct ib_cq *cq, struct ib_wc *wc); 519 void iser_dataout_comp(struct ib_cq *cq, struct ib_wc *wc); 520 void iser_reg_comp(struct ib_cq *cq, struct ib_wc *wc);
|
D | iser_initiator.c | 562 void iser_login_rsp(struct ib_cq *cq, struct ib_wc *wc) in iser_login_rsp() 657 void iser_task_rsp(struct ib_cq *cq, struct ib_wc *wc) in iser_task_rsp() 709 void iser_cmd_comp(struct ib_cq *cq, struct ib_wc *wc) in iser_cmd_comp() 715 void iser_ctrl_comp(struct ib_cq *cq, struct ib_wc *wc) in iser_ctrl_comp() 731 void iser_dataout_comp(struct ib_cq *cq, struct ib_wc *wc) in iser_dataout_comp()
|
/drivers/infiniband/sw/siw/ |
D | siw_verbs.h | 45 int siw_create_cq(struct ib_cq *base_cq, const struct ib_cq_init_attr *attr, 64 int siw_destroy_cq(struct ib_cq *base_cq, struct ib_udata *udata); 65 int siw_poll_cq(struct ib_cq *base_cq, int num_entries, struct ib_wc *wc); 66 int siw_req_notify_cq(struct ib_cq *base_cq, enum ib_cq_notify_flags flags);
|
/drivers/infiniband/hw/mlx4/ |
D | mlx4_ib.h | 101 struct ib_cq *cq; 116 struct ib_cq ibcq; 481 struct ib_cq *cq; 688 static inline struct mlx4_ib_cq *to_mcq(struct ib_cq *ibcq) in to_mcq() 765 int mlx4_ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period); 766 int mlx4_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata); 767 int mlx4_ib_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, 769 int mlx4_ib_destroy_cq(struct ib_cq *cq, struct ib_udata *udata); 770 int mlx4_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc); 771 int mlx4_ib_arm_cq(struct ib_cq *cq, enum ib_cq_notify_flags flags);
|
D | cq.c | 45 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() 174 int mlx4_ib_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, in mlx4_ib_create_cq() 379 int mlx4_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) in mlx4_ib_resize_cq() 477 int mlx4_ib_destroy_cq(struct ib_cq *cq, struct ib_udata *udata) in mlx4_ib_destroy_cq() 877 int mlx4_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) in mlx4_ib_poll_cq() 904 int mlx4_ib_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) in mlx4_ib_arm_cq()
|
/drivers/infiniband/hw/efa/ |
D | efa.h | 82 struct ib_cq ibcq; 136 int efa_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata); 137 int efa_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr,
|
/drivers/infiniband/hw/usnic/ |
D | usnic_ib_verbs.h | 58 int usnic_ib_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, 60 int usnic_ib_destroy_cq(struct ib_cq *cq, struct ib_udata *udata);
|
/drivers/infiniband/hw/mlx5/ |
D | mlx5_ib.h | 459 struct ib_cq *cq; 556 struct ib_cq ibcq; 733 struct ib_cq *cq; 791 struct ib_cq *c0; 1131 static inline struct mlx5_ib_cq *to_mcq(struct ib_cq *ibcq) in to_mcq() 1237 int mlx5_ib_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, 1239 int mlx5_ib_destroy_cq(struct ib_cq *cq, struct ib_udata *udata); 1240 int mlx5_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc); 1241 int mlx5_ib_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags); 1242 int mlx5_ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period); [all …]
|
D | cq.c | 43 struct ib_cq *ibcq = &to_mibcq(cq)->ibcq; in mlx5_ib_cq_comp() 52 struct ib_cq *ibcq = &cq->ibcq; in mlx5_ib_cq_event() 597 int mlx5_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) in mlx5_ib_poll_cq() 634 int mlx5_ib_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) in mlx5_ib_arm_cq() 934 int mlx5_ib_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, in mlx5_ib_create_cq() 1039 int mlx5_ib_destroy_cq(struct ib_cq *cq, struct ib_udata *udata) in mlx5_ib_destroy_cq() 1122 int mlx5_ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period) in mlx5_ib_modify_cq() 1252 int mlx5_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) in mlx5_ib_resize_cq() 1401 int mlx5_ib_get_cqe_size(struct ib_cq *ibcq) in mlx5_ib_get_cqe_size() 1413 int mlx5_ib_generate_wc(struct ib_cq *ibcq, struct ib_wc *wc) in mlx5_ib_generate_wc()
|
/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_verbs.h | 377 int pvrdma_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, 379 int pvrdma_destroy_cq(struct ib_cq *cq, struct ib_udata *udata); 380 int pvrdma_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc); 381 int pvrdma_req_notify_cq(struct ib_cq *cq, enum ib_cq_notify_flags flags);
|
D | pvrdma_cq.c | 63 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() 241 int pvrdma_destroy_cq(struct ib_cq *cq, struct ib_udata *udata) in pvrdma_destroy_cq() 386 int pvrdma_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) in pvrdma_poll_cq()
|
/drivers/infiniband/hw/cxgb4/ |
D | iw_cxgb4.h | 424 struct ib_cq ibcq; 435 static inline struct c4iw_cq *to_c4iw_cq(struct ib_cq *ibcq) in to_c4iw_cq() 959 int c4iw_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc); 981 int c4iw_destroy_cq(struct ib_cq *ib_cq, struct ib_udata *udata); 983 int c4iw_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, 985 int c4iw_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags); 1043 int c4iw_fill_res_cq_entry(struct sk_buff *msg, struct ib_cq *ibcq);
|
/drivers/nvme/host/ |
D | rdma.c | 91 struct ib_cq *ib_cq; member 153 static void nvme_rdma_recv_done(struct ib_cq *cq, struct ib_wc *wc); 276 init_attr.send_cq = queue->ib_cq; in nvme_rdma_create_qp() 277 init_attr.recv_cq = queue->ib_cq; in nvme_rdma_create_qp() 419 ib_free_cq(queue->ib_cq); in nvme_rdma_free_cq() 421 ib_cq_pool_put(queue->ib_cq, queue->cq_size); in nvme_rdma_free_cq() 480 queue->ib_cq = ib_alloc_cq(ibdev, queue, queue->cq_size, in nvme_rdma_create_cq() 484 queue->ib_cq = ib_cq_pool_get(ibdev, queue->cq_size, in nvme_rdma_create_cq() 488 if (IS_ERR(queue->ib_cq)) { in nvme_rdma_create_cq() 489 ret = PTR_ERR(queue->ib_cq); in nvme_rdma_create_cq() [all …]
|
/drivers/infiniband/ulp/srp/ |
D | ib_srp.h | 149 struct ib_cq *send_cq; 150 struct ib_cq *recv_cq;
|
/drivers/infiniband/hw/mthca/ |
D | mthca_provider.h | 184 struct ib_cq ibcq; 301 static inline struct mthca_cq *to_mcq(struct ib_cq *ibcq) in to_mcq()
|