Searched refs:ibwq (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/infiniband/hw/mana/ |
| H A D | wq.c | 44 return &wq->ibwq; in mana_ib_create_wq() 59 int mana_ib_destroy_wq(struct ib_wq *ibwq, struct ib_udata *udata) in mana_ib_destroy_wq() argument 61 struct mana_ib_wq *wq = container_of(ibwq, struct mana_ib_wq, ibwq); in mana_ib_destroy_wq() 62 struct ib_device *ib_dev = ibwq->device; in mana_ib_destroy_wq()
|
| H A D | qp.c | 109 struct ib_wq *ibwq; in mana_ib_create_qp_rss() local 179 ibwq = ind_tbl->ind_tbl[i]; in mana_ib_create_qp_rss() 180 wq = container_of(ibwq, struct mana_ib_wq, ibwq); in mana_ib_create_qp_rss() 182 ibcq = ibwq->cq; in mana_ib_create_qp_rss() 247 ibwq = ind_tbl->ind_tbl[i]; in mana_ib_create_qp_rss() 248 ibcq = ibwq->cq; in mana_ib_create_qp_rss() 249 wq = container_of(ibwq, struct mana_ib_wq, ibwq); in mana_ib_create_qp_rss() 819 struct ib_wq *ibwq; in mana_ib_destroy_qp_rss() local 826 ibwq = ind_tbl->ind_tbl[i]; in mana_ib_destroy_qp_rss() 827 wq = container_of(ibwq, struct mana_ib_wq, ibwq); in mana_ib_destroy_qp_rss()
|
| H A D | mana_ib.h | 89 struct ib_wq ibwq; member 638 int mana_ib_destroy_wq(struct ib_wq *ibwq, struct ib_udata *udata);
|
| /linux/drivers/infiniband/hw/mlx4/ |
| H A D | qp.c | 56 static int _mlx4_ib_modify_wq(struct ib_wq *ibwq, enum ib_wq_state new_state, 1370 to_mcq(qp->ibwq.cq); in get_cqs() 1384 struct ib_wq *ibwq = qp->ibqp.rwq_ind_tbl->ind_tbl[i]; in destroy_qp_rss() local 1385 struct mlx4_ib_qp *wq = to_mqp((struct ib_qp *)ibwq); in destroy_qp_rss() 2020 struct ib_wq *ibwq = ind_tbl->ind_tbl[i]; in bringup_rss_rwqs() local 2021 struct mlx4_ib_qp *wq = to_mqp((struct ib_qp *)ibwq); in bringup_rss_rwqs() 2037 if ((wq->rss_usecnt == 0) && (ibwq->state == IB_WQS_RDY)) { in bringup_rss_rwqs() 2038 err = _mlx4_ib_modify_wq(ibwq, IB_WQS_RDY, udata); in bringup_rss_rwqs() 2053 struct ib_wq *ibwq = ind_tbl->ind_tbl[j]; in bringup_rss_rwqs() local 2054 struct mlx4_ib_qp *wq = to_mqp((struct ib_qp *)ibwq); in bringup_rss_rwqs() [all …]
|
| H A D | mlx4_ib.h | 326 struct ib_wq ibwq; member
|
| /linux/drivers/infiniband/hw/mlx5/ |
| H A D | mlx5_ib.h | 396 struct ib_wq ibwq; member 1294 static inline struct mlx5_ib_rwq *to_mrwq(struct ib_wq *ibwq) in to_mrwq() argument 1296 return container_of(ibwq, struct mlx5_ib_rwq, ibwq); in to_mrwq()
|
| H A D | qp.c | 5194 struct mlx5_ib_dev *dev = to_mdev(rwq->ibwq.device); in mlx5_ib_wq_event() 5197 if (rwq->ibwq.event_handler) { in mlx5_ib_wq_event() 5198 event.device = rwq->ibwq.device; in mlx5_ib_wq_event() 5199 event.element.wq = &rwq->ibwq; in mlx5_ib_wq_event() 5209 rwq->ibwq.event_handler(&event, rwq->ibwq.wq_context); in mlx5_ib_wq_event() 5506 rwq->ibwq.wq_num = rwq->core_qp.qpn; in mlx5_ib_create_wq() 5507 rwq->ibwq.state = IB_WQS_RESET; in mlx5_ib_create_wq() 5517 rwq->ibwq.event_handler = init_attr->event_handler; in mlx5_ib_create_wq() 5518 return &rwq->ibwq; in mlx5_ib_create_wq() 5706 rwq->ibwq.state = (wq_state == MLX5_RQC_STATE_ERR) ? IB_WQS_ERR : wq_state; in mlx5_ib_modify_wq()
|