RDMA/uverbs: Move flow resources initialization
Use ib_set_flow() when initializing flow related resources. Signed-off-by: Mark Bloch <markb@mellanox.com> Reviewed-by: Yishai Hadas <yishaih@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:

committed by
Jason Gunthorpe

parent
70cd20aed0
commit
86e1d464a8
@@ -128,7 +128,7 @@ static int UVERBS_HANDLER(MLX5_IB_METHOD_CREATE_FLOW)(
|
||||
if (IS_ERR(flow_handler))
|
||||
return PTR_ERR(flow_handler);
|
||||
|
||||
ib_set_flow(uobj, &flow_handler->ibflow, qp, &dev->ib_dev);
|
||||
ib_set_flow(uobj, &flow_handler->ibflow, qp, &dev->ib_dev, NULL);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user