diff mbox series

[1/1] RDMA/mlx5: Mlx5 does not support IB_FLOW_SPEC_IB

Message ID 20221208101954.687960-1-yanjun.zhu@intel.com (mailing list archive)
State Accepted
Headers show
Series [1/1] RDMA/mlx5: Mlx5 does not support IB_FLOW_SPEC_IB | expand

Commit Message

Zhu Yanjun Dec. 8, 2022, 10:19 a.m. UTC
From: Zhu Yanjun <yanjun.zhu@linux.dev>

IB_FLOW_SPEC_IB is not supported in MLX5. As such, LAST_IB_FIELD need
not be checked.

Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev>
---
 drivers/infiniband/hw/mlx5/fs.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Leon Romanovsky Dec. 8, 2022, 9:34 a.m. UTC | #1
On Thu, 8 Dec 2022 05:19:54 -0500, Zhu Yanjun wrote:
> From: Zhu Yanjun <yanjun.zhu@linux.dev>
> 
> IB_FLOW_SPEC_IB is not supported in MLX5. As such, LAST_IB_FIELD need
> not be checked.
> 
> 

Applied, thanks!

[1/1] RDMA/mlx5: Mlx5 does not support IB_FLOW_SPEC_IB
      https://git.kernel.org/rdma/rdma/c/6cfe7bd0dfd330

Best regards,
diff mbox series

Patch

diff --git a/drivers/infiniband/hw/mlx5/fs.c b/drivers/infiniband/hw/mlx5/fs.c
index 490ec308e309..3008632a6c20 100644
--- a/drivers/infiniband/hw/mlx5/fs.c
+++ b/drivers/infiniband/hw/mlx5/fs.c
@@ -127,7 +127,6 @@  static int check_mpls_supp_fields(u32 field_support, const __be32 *set_mask)
 }
 
 #define LAST_ETH_FIELD vlan_tag
-#define LAST_IB_FIELD sl
 #define LAST_IPV4_FIELD tos
 #define LAST_IPV6_FIELD traffic_class
 #define LAST_TCP_UDP_FIELD src_port