Home
last modified time | relevance | path

Searched refs:wq_attr (Results 1 – 8 of 8) sorted by relevance

/drivers/infiniband/hw/mana/
Dwq.c74 int mana_ib_modify_wq(struct ib_wq *wq, struct ib_wq_attr *wq_attr, in mana_ib_modify_wq() argument
Dmana_ib.h105 int mana_ib_modify_wq(struct ib_wq *wq, struct ib_wq_attr *wq_attr,
/drivers/infiniband/core/
Dverbs.c2525 struct ib_wq_init_attr *wq_attr) in ib_create_wq() argument
2532 wq = pd->device->ops.create_wq(pd, wq_attr, NULL); in ib_create_wq()
2534 wq->event_handler = wq_attr->event_handler; in ib_create_wq()
2535 wq->wq_context = wq_attr->wq_context; in ib_create_wq()
2536 wq->wq_type = wq_attr->wq_type; in ib_create_wq()
2537 wq->cq = wq_attr->cq; in ib_create_wq()
2542 atomic_inc(&wq_attr->cq->usecnt); in ib_create_wq()
Duverbs_cmd.c2999 struct ib_wq_attr wq_attr = {}; in ib_uverbs_ex_modify_wq() local
3017 wq_attr.flags = cmd.flags; in ib_uverbs_ex_modify_wq()
3018 wq_attr.flags_mask = cmd.flags_mask; in ib_uverbs_ex_modify_wq()
3025 wq_attr.curr_wq_state = cmd.curr_wq_state; in ib_uverbs_ex_modify_wq()
3027 wq_attr.curr_wq_state = wq->state; in ib_uverbs_ex_modify_wq()
3034 wq_attr.wq_state = cmd.wq_state; in ib_uverbs_ex_modify_wq()
3036 wq_attr.wq_state = wq_attr.curr_wq_state; in ib_uverbs_ex_modify_wq()
3039 ret = wq->device->ops.modify_wq(wq, &wq_attr, cmd.attr_mask, in ib_uverbs_ex_modify_wq()
/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h928 int mlx4_ib_modify_wq(struct ib_wq *wq, struct ib_wq_attr *wq_attr,
Dqp.c4260 int mlx4_ib_modify_wq(struct ib_wq *ibwq, struct ib_wq_attr *wq_attr, in mlx4_ib_modify_wq() argument
4288 cur_state = wq_attr->curr_wq_state; in mlx4_ib_modify_wq()
4289 new_state = wq_attr->wq_state; in mlx4_ib_modify_wq()
/drivers/infiniband/hw/mlx5/
Dqp.c5583 int mlx5_ib_modify_wq(struct ib_wq *wq, struct ib_wq_attr *wq_attr, in mlx5_ib_modify_wq() argument
5619 curr_wq_state = wq_attr->curr_wq_state; in mlx5_ib_modify_wq()
5620 wq_state = wq_attr->wq_state; in mlx5_ib_modify_wq()
5630 if (wq_attr->flags_mask & IB_WQ_FLAGS_CVLAN_STRIPPING) { in mlx5_ib_modify_wq()
5640 (wq_attr->flags & IB_WQ_FLAGS_CVLAN_STRIPPING) ? 0 : 1); in mlx5_ib_modify_wq()
5643 if (wq_attr->flags_mask & IB_WQ_FLAGS_PCI_WRITE_END_PADDING) { in mlx5_ib_modify_wq()
Dmlx5_ib.h1397 int mlx5_ib_modify_wq(struct ib_wq *wq, struct ib_wq_attr *wq_attr,