Home
last modified time | relevance | path

Searched refs:wq_init_attr (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/infiniband/core/
A Duverbs_std_types_wq.c37 struct ib_wq_init_attr wq_init_attr = {}; in UVERBS_HANDLER() local
52 ret = uverbs_copy_from(&wq_init_attr.max_wr, attrs, in UVERBS_HANDLER()
63 if (wq_init_attr.wq_type != IB_WQT_RQ) in UVERBS_HANDLER()
71 wq_init_attr.wq_context = attrs->ufile; in UVERBS_HANDLER()
72 wq_init_attr.cq = cq; in UVERBS_HANDLER()
81 wq->wq_type = wq_init_attr.wq_type; in UVERBS_HANDLER()
85 wq->wq_context = wq_init_attr.wq_context; in UVERBS_HANDLER()
93 &wq_init_attr.max_wr, in UVERBS_HANDLER()
94 sizeof(wq_init_attr.max_wr)); in UVERBS_HANDLER()
99 &wq_init_attr.max_sge, in UVERBS_HANDLER()
[all …]
A Duverbs_cmd.c2882 struct ib_wq_init_attr wq_init_attr = {}; in ib_uverbs_ex_create_wq() local
2909 wq_init_attr.cq = cq; in ib_uverbs_ex_create_wq()
2910 wq_init_attr.max_sge = cmd.max_sge; in ib_uverbs_ex_create_wq()
2911 wq_init_attr.max_wr = cmd.max_wr; in ib_uverbs_ex_create_wq()
2912 wq_init_attr.wq_type = cmd.wq_type; in ib_uverbs_ex_create_wq()
2913 wq_init_attr.event_handler = ib_uverbs_wq_event_handler; in ib_uverbs_ex_create_wq()
2914 wq_init_attr.create_flags = cmd.create_flags; in ib_uverbs_ex_create_wq()
2918 wq = pd->device->ops.create_wq(pd, &wq_init_attr, &attrs->driver_udata); in ib_uverbs_ex_create_wq()
2926 wq->wq_type = wq_init_attr.wq_type; in ib_uverbs_ex_create_wq()
2943 resp.max_sge = wq_init_attr.max_sge; in ib_uverbs_ex_create_wq()
[all …]
/linux/drivers/infiniband/hw/mlx5/
A Dqp.c5170 struct ib_wq_init_attr *wq_init_attr, in set_user_rq_size() argument
5175 if (wq_init_attr->max_wr > (1 << MLX5_CAP_GEN(dev->mdev, log_max_wq_sz))) in set_user_rq_size()

Completed in 17 milliseconds