summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/flow.c
diff options
context:
space:
mode:
authorMark Bloch <markb@mellanox.com>2018-09-06 16:27:02 +0200
committerJason Gunthorpe <jgg@mellanox.com>2018-09-11 17:28:06 +0200
commit86e1d464a8ccd627b6ea3e9a98a0389b0d27fd1f (patch)
tree8ed6bfd4271a810cf23f3d42b8fbfd50825a3523 /drivers/infiniband/hw/mlx5/flow.c
parentIB/uverbs: Add IDRs array attribute type to ioctl() interface (diff)
downloadlinux-86e1d464a8ccd627b6ea3e9a98a0389b0d27fd1f.tar.xz
linux-86e1d464a8ccd627b6ea3e9a98a0389b0d27fd1f.zip
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>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/flow.c')
-rw-r--r--drivers/infiniband/hw/mlx5/flow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx5/flow.c b/drivers/infiniband/hw/mlx5/flow.c
index 5750a650884e..12abbc02af99 100644
--- a/drivers/infiniband/hw/mlx5/flow.c
+++ b/drivers/infiniband/hw/mlx5/flow.c
@@ -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;
}