Home
last modified time | relevance | path

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

/linux/drivers/infiniband/core/
A Dverbs.c2461 struct ib_wq_init_attr *wq_attr) in ib_create_wq() argument
2468 wq = pd->device->ops.create_wq(pd, wq_attr, NULL); in ib_create_wq()
2470 wq->event_handler = wq_attr->event_handler; in ib_create_wq()
2471 wq->wq_context = wq_attr->wq_context; in ib_create_wq()
2472 wq->wq_type = wq_attr->wq_type; in ib_create_wq()
2473 wq->cq = wq_attr->cq; in ib_create_wq()
2478 atomic_inc(&wq_attr->cq->usecnt); in ib_create_wq()
A Duverbs_cmd.c2992 struct ib_wq_attr wq_attr = {}; in ib_uverbs_ex_modify_wq() local
3010 wq_attr.flags = cmd.flags; in ib_uverbs_ex_modify_wq()
3011 wq_attr.flags_mask = cmd.flags_mask; in ib_uverbs_ex_modify_wq()
3018 wq_attr.curr_wq_state = cmd.curr_wq_state; in ib_uverbs_ex_modify_wq()
3020 wq_attr.curr_wq_state = wq->state; in ib_uverbs_ex_modify_wq()
3027 wq_attr.wq_state = cmd.wq_state; in ib_uverbs_ex_modify_wq()
3029 wq_attr.wq_state = wq_attr.curr_wq_state; in ib_uverbs_ex_modify_wq()
3032 ret = wq->device->ops.modify_wq(wq, &wq_attr, cmd.attr_mask, in ib_uverbs_ex_modify_wq()
/linux/drivers/infiniband/hw/mlx4/
A Dmlx4_ib.h926 int mlx4_ib_modify_wq(struct ib_wq *wq, struct ib_wq_attr *wq_attr,
A 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()
/linux/drivers/infiniband/hw/mlx5/
A Dqp.c5443 int mlx5_ib_modify_wq(struct ib_wq *wq, struct ib_wq_attr *wq_attr, in mlx5_ib_modify_wq() argument
5479 curr_wq_state = wq_attr->curr_wq_state; in mlx5_ib_modify_wq()
5480 wq_state = wq_attr->wq_state; in mlx5_ib_modify_wq()
5490 if (wq_attr->flags_mask & IB_WQ_FLAGS_CVLAN_STRIPPING) { in mlx5_ib_modify_wq()
5501 (wq_attr->flags & IB_WQ_FLAGS_CVLAN_STRIPPING) ? 0 : 1); in mlx5_ib_modify_wq()
5504 if (wq_attr->flags_mask & IB_WQ_FLAGS_PCI_WRITE_END_PADDING) { in mlx5_ib_modify_wq()
A Dmlx5_ib.h1354 int mlx5_ib_modify_wq(struct ib_wq *wq, struct ib_wq_attr *wq_attr,

Completed in 55 milliseconds