Re: [PATCH rdma-rc] RDMA/mlx5: Fix flow creation on representors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 24, 2019 at 02:33:32PM +0200, Leon Romanovsky wrote:
> From: Mark Bloch <markb@xxxxxxxxxxxx>
> 
> The intention of the flow_is_supported was to disable the entire tree and
> methods that allow raw flow creation, but the grammar syntax has this
> disable the entire UVERBS_FLOW object. Since the method requires a
> MLX5_IB_OBJECT_FLOW_MATCHER there is no need to do anything, as it is
> automatically disabled when matchers are disabled.
> 
> This restores the ability to create flow steering rules on representors
> via regular verbs.
> 
> Fixes: a1462351b590 ("RDMA/mlx5: Fail early if user tries to create flows on IB representors")
> Signed-off-by: Mark Bloch <markb@xxxxxxxxxxxx>
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> ---
>  drivers/infiniband/hw/mlx5/flow.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Applied to for-rc

Thanks,
Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux