Searched refs:uflow_res (Results 1 – 2 of 2) sorted by relevance
141 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()
2463 struct ib_uflow_resources *uflow_res; in UVERBS_HANDLER() local2526 uflow_res = flow_resources_alloc(MLX5_IB_CREATE_FLOW_MAX_FLOW_ACTIONS); in UVERBS_HANDLER()2527 if (!uflow_res) { in UVERBS_HANDLER()2541 flow_resources_add(uflow_res, IB_FLOW_SPEC_ACTION_HANDLE, in UVERBS_HANDLER()2563 ib_set_flow(uobj, &flow_handler->ibflow, qp, &dev->ib_dev, uflow_res); in UVERBS_HANDLER()2567 ib_uverbs_flow_resources_free(uflow_res); in UVERBS_HANDLER()