Home
last modified time | relevance | path

Searched refs:uflow_res (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/include/rdma/
H A Duverbs_std_types.h141 void flow_resources_add(struct ib_uflow_resources *uflow_res,
144 void ib_uverbs_flow_resources_free(struct ib_uflow_resources *uflow_res);
148 struct ib_uflow_resources *uflow_res) in ib_set_flow() argument
162 uflow->resources = uflow_res; in ib_set_flow()
/linux-6.15/drivers/infiniband/core/
H A Duverbs_cmd.c2626 if (!uflow_res) in ib_uverbs_flow_resources_free()
2635 kfree(uflow_res->collection); in ib_uverbs_flow_resources_free()
2636 kfree(uflow_res->counters); in ib_uverbs_flow_resources_free()
2637 kfree(uflow_res); in ib_uverbs_flow_resources_free()
2645 WARN_ON(uflow_res->num >= uflow_res->max); in flow_resources_add()
2650 uflow_res->collection[uflow_res->collection_num++] = in flow_resources_add()
2655 uflow_res->counters[uflow_res->counters_num++] = in flow_resources_add()
2662 uflow_res->num++; in flow_resources_add()
2903 uflow_res); in kern_spec_to_ib_spec()
3298 if (!uflow_res) { in ib_uverbs_ex_create_flow()
[all …]
H A Duverbs.h193 void ib_uverbs_flow_resources_free(struct ib_uflow_resources *uflow_res);
/linux-6.15/drivers/infiniband/hw/mlx5/
H A Dfs.c2468 struct ib_uflow_resources *uflow_res; in UVERBS_HANDLER() local
2531 uflow_res = flow_resources_alloc(MLX5_IB_CREATE_FLOW_MAX_FLOW_ACTIONS); in UVERBS_HANDLER()
2532 if (!uflow_res) { in UVERBS_HANDLER()
2546 flow_resources_add(uflow_res, IB_FLOW_SPEC_ACTION_HANDLE, in UVERBS_HANDLER()
2568 ib_set_flow(uobj, &flow_handler->ibflow, qp, &dev->ib_dev, uflow_res); in UVERBS_HANDLER()
2572 ib_uverbs_flow_resources_free(uflow_res); in UVERBS_HANDLER()