OpenCloudOS-Kernel/drivers/infiniband/hw
Mark Bloch c1b03c25f5 RDMA/mlx5: Fix flow creation on representors
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: a1462351b5 ("RDMA/mlx5: Fail early if user tries to create flows on IB representors")
Signed-off-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-01-25 11:58:06 -07:00
..
bnxt_re cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
cxgb3 cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
cxgb4 cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
hfi1 IB/hfi1: Remove overly conservative VM_EXEC flag check 2019-01-21 14:20:08 -07:00
hns RDMA/hns: Update the kernel header file of hns 2019-01-25 09:55:48 -07:00
i40iw cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
mlx4 IB/mlx4: Fix using wrong function to destroy sqp AHs under SRIOV 2019-01-21 14:20:08 -07:00
mlx5 RDMA/mlx5: Fix flow creation on representors 2019-01-25 11:58:06 -07:00
mthca First 5.0 rc pull request 2019-01-18 17:17:20 +12:00
nes 4.21 merge window pull request 2018-12-28 14:57:10 -08:00
ocrdma cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
qedr cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
qib IB/{hfi1, qib}: Fix WC.byte_len calculation for UD_SEND_WITH_IMM 2019-01-21 14:20:08 -07:00
usnic IB/usnic: Fix potential deadlock 2018-12-19 16:30:16 -07:00
vmw_pvrdma First 5.0 rc pull request 2019-01-18 17:17:20 +12:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00