ibwq 309 drivers/infiniband/hw/mlx4/mlx4_ib.h struct ib_wq ibwq; ibwq 56 drivers/infiniband/hw/mlx4/qp.c static int _mlx4_ib_modify_wq(struct ib_wq *ibwq, enum ib_wq_state new_state, ibwq 1379 drivers/infiniband/hw/mlx4/qp.c to_mcq(qp->ibwq.cq); ibwq 1393 drivers/infiniband/hw/mlx4/qp.c struct ib_wq *ibwq = qp->ibqp.rwq_ind_tbl->ind_tbl[i]; ibwq 1394 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_qp *wq = to_mqp((struct ib_qp *)ibwq); ibwq 2036 drivers/infiniband/hw/mlx4/qp.c struct ib_wq *ibwq = ind_tbl->ind_tbl[i]; ibwq 2037 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_qp *wq = to_mqp((struct ib_qp *)ibwq); ibwq 2053 drivers/infiniband/hw/mlx4/qp.c if ((wq->rss_usecnt == 0) && (ibwq->state == IB_WQS_RDY)) { ibwq 2054 drivers/infiniband/hw/mlx4/qp.c err = _mlx4_ib_modify_wq(ibwq, IB_WQS_RDY, udata); ibwq 2069 drivers/infiniband/hw/mlx4/qp.c struct ib_wq *ibwq = ind_tbl->ind_tbl[j]; ibwq 2070 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_qp *wq = to_mqp((struct ib_qp *)ibwq); ibwq 2075 drivers/infiniband/hw/mlx4/qp.c (ibwq->state == IB_WQS_RDY)) ibwq 2076 drivers/infiniband/hw/mlx4/qp.c if (_mlx4_ib_modify_wq(ibwq, IB_WQS_RESET, ibwq 2079 drivers/infiniband/hw/mlx4/qp.c ibwq->wq_num); ibwq 2095 drivers/infiniband/hw/mlx4/qp.c struct ib_wq *ibwq = ind_tbl->ind_tbl[i]; ibwq 2096 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_qp *wq = to_mqp((struct ib_qp *)ibwq); ibwq 2100 drivers/infiniband/hw/mlx4/qp.c if ((wq->rss_usecnt == 1) && (ibwq->state == IB_WQS_RDY)) ibwq 2101 drivers/infiniband/hw/mlx4/qp.c if (_mlx4_ib_modify_wq(ibwq, IB_WQS_RESET, udata)) ibwq 2103 drivers/infiniband/hw/mlx4/qp.c ibwq->wq_num); ibwq 2155 drivers/infiniband/hw/mlx4/qp.c struct ib_wq *ibwq; ibwq 2157 drivers/infiniband/hw/mlx4/qp.c ibwq = (struct ib_wq *)src; ibwq 2161 drivers/infiniband/hw/mlx4/qp.c qp = to_mqp((struct ib_qp *)ibwq); ibwq 2162 drivers/infiniband/hw/mlx4/qp.c dev = to_mdev(ibwq->device); ibwq 2163 drivers/infiniband/hw/mlx4/qp.c pd = to_mpd(ibwq->pd); ibwq 4194 drivers/infiniband/hw/mlx4/qp.c qp->ibwq.event_handler = init_attr->event_handler; ibwq 4195 drivers/infiniband/hw/mlx4/qp.c qp->ibwq.wq_num = qp->mqp.qpn; ibwq 4196 drivers/infiniband/hw/mlx4/qp.c qp->ibwq.state = IB_WQS_RESET; ibwq 4198 drivers/infiniband/hw/mlx4/qp.c return &qp->ibwq; ibwq 4213 drivers/infiniband/hw/mlx4/qp.c static int _mlx4_ib_modify_wq(struct ib_wq *ibwq, enum ib_wq_state new_state, ibwq 4216 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_qp *qp = to_mqp((struct ib_qp *)ibwq); ibwq 4237 drivers/infiniband/hw/mlx4/qp.c err = __mlx4_ib_modify_qp(ibwq, MLX4_IB_RWQ_SRC, &attr, ibwq 4242 drivers/infiniband/hw/mlx4/qp.c ibwq->wq_num); ibwq 4250 drivers/infiniband/hw/mlx4/qp.c err = __mlx4_ib_modify_qp(ibwq, MLX4_IB_RWQ_SRC, NULL, attr_mask, ibwq 4255 drivers/infiniband/hw/mlx4/qp.c if (__mlx4_ib_modify_qp(ibwq, MLX4_IB_RWQ_SRC, NULL, ibwq 4259 drivers/infiniband/hw/mlx4/qp.c ibwq->wq_num); ibwq 4269 drivers/infiniband/hw/mlx4/qp.c int mlx4_ib_modify_wq(struct ib_wq *ibwq, struct ib_wq_attr *wq_attr, ibwq 4272 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_qp *qp = to_mqp((struct ib_qp *)ibwq); ibwq 4298 drivers/infiniband/hw/mlx4/qp.c ibwq->state; ibwq 4320 drivers/infiniband/hw/mlx4/qp.c err = _mlx4_ib_modify_wq(ibwq, new_state, udata); ibwq 4323 drivers/infiniband/hw/mlx4/qp.c ibwq->state = new_state; ibwq 4330 drivers/infiniband/hw/mlx4/qp.c void mlx4_ib_destroy_wq(struct ib_wq *ibwq, struct ib_udata *udata) ibwq 4332 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_dev *dev = to_mdev(ibwq->device); ibwq 4333 drivers/infiniband/hw/mlx4/qp.c struct mlx4_ib_qp *qp = to_mqp((struct ib_qp *)ibwq); ibwq 301 drivers/infiniband/hw/mlx5/mlx5_ib.h struct ib_wq ibwq; ibwq 1063 drivers/infiniband/hw/mlx5/mlx5_ib.h static inline struct mlx5_ib_rwq *to_mrwq(struct ib_wq *ibwq) ibwq 1065 drivers/infiniband/hw/mlx5/mlx5_ib.h return container_of(ibwq, struct mlx5_ib_rwq, ibwq); ibwq 5878 drivers/infiniband/hw/mlx5/qp.c struct mlx5_ib_dev *dev = to_mdev(rwq->ibwq.device); ibwq 5881 drivers/infiniband/hw/mlx5/qp.c if (rwq->ibwq.event_handler) { ibwq 5882 drivers/infiniband/hw/mlx5/qp.c event.device = rwq->ibwq.device; ibwq 5883 drivers/infiniband/hw/mlx5/qp.c event.element.wq = &rwq->ibwq; ibwq 5893 drivers/infiniband/hw/mlx5/qp.c rwq->ibwq.event_handler(&event, rwq->ibwq.wq_context); ibwq 6160 drivers/infiniband/hw/mlx5/qp.c rwq->ibwq.wq_num = rwq->core_qp.qpn; ibwq 6161 drivers/infiniband/hw/mlx5/qp.c rwq->ibwq.state = IB_WQS_RESET; ibwq 6171 drivers/infiniband/hw/mlx5/qp.c rwq->ibwq.event_handler = init_attr->event_handler; ibwq 6172 drivers/infiniband/hw/mlx5/qp.c return &rwq->ibwq; ibwq 6368 drivers/infiniband/hw/mlx5/qp.c rwq->ibwq.state = (wq_state == MLX5_RQC_STATE_ERR) ? IB_WQS_ERR : wq_state;