Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/core/
Dverbs.c2389 struct ib_wq_init_attr *wq_attr) in ib_create_wq() argument
2396 wq = pd->device->ops.create_wq(pd, wq_attr, NULL); in ib_create_wq()
2398 wq->event_handler = wq_attr->event_handler; in ib_create_wq()
2399 wq->wq_context = wq_attr->wq_context; in ib_create_wq()
2400 wq->wq_type = wq_attr->wq_type; in ib_create_wq()
2401 wq->cq = wq_attr->cq; in ib_create_wq()
2406 atomic_inc(&wq_attr->cq->usecnt); in ib_create_wq()
2445 int ib_modify_wq(struct ib_wq *wq, struct ib_wq_attr *wq_attr, in ib_modify_wq() argument
2453 err = wq->device->ops.modify_wq(wq, wq_attr, wq_attr_mask, NULL); in ib_modify_wq()
Duverbs_cmd.c2989 struct ib_wq_attr wq_attr = {}; in ib_uverbs_ex_modify_wq() local
3007 wq_attr.flags = cmd.flags; in ib_uverbs_ex_modify_wq()
3008 wq_attr.flags_mask = cmd.flags_mask; in ib_uverbs_ex_modify_wq()
3015 wq_attr.curr_wq_state = cmd.curr_wq_state; in ib_uverbs_ex_modify_wq()
3017 wq_attr.curr_wq_state = wq->state; in ib_uverbs_ex_modify_wq()
3024 wq_attr.wq_state = cmd.wq_state; in ib_uverbs_ex_modify_wq()
3026 wq_attr.wq_state = wq_attr.curr_wq_state; in ib_uverbs_ex_modify_wq()
3029 ret = wq->device->ops.modify_wq(wq, &wq_attr, cmd.attr_mask, in ib_uverbs_ex_modify_wq()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h927 int mlx4_ib_modify_wq(struct ib_wq *wq, struct ib_wq_attr *wq_attr,
Dqp.c4221 int mlx4_ib_modify_wq(struct ib_wq *ibwq, struct ib_wq_attr *wq_attr, in mlx4_ib_modify_wq() argument
4249 cur_state = wq_attr->curr_wq_state; in mlx4_ib_modify_wq()
4250 new_state = wq_attr->wq_state; in mlx4_ib_modify_wq()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dqp.c5223 int mlx5_ib_modify_wq(struct ib_wq *wq, struct ib_wq_attr *wq_attr, in mlx5_ib_modify_wq() argument
5259 curr_wq_state = wq_attr->curr_wq_state; in mlx5_ib_modify_wq()
5260 wq_state = wq_attr->wq_state; in mlx5_ib_modify_wq()
5270 if (wq_attr->flags_mask & IB_WQ_FLAGS_CVLAN_STRIPPING) { in mlx5_ib_modify_wq()
5281 (wq_attr->flags & IB_WQ_FLAGS_CVLAN_STRIPPING) ? 0 : 1); in mlx5_ib_modify_wq()
5284 if (wq_attr->flags_mask & IB_WQ_FLAGS_PCI_WRITE_END_PADDING) { in mlx5_ib_modify_wq()
Dmlx5_ib.h1258 int mlx5_ib_modify_wq(struct ib_wq *wq, struct ib_wq_attr *wq_attr,