linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH 1/1] RDMA/mlx5: Mlx5 does not support IB_FLOW_SPEC_IB
  2022-12-08 10:19 [PATCH 1/1] RDMA/mlx5: Mlx5 does not support IB_FLOW_SPEC_IB Zhu Yanjun
@ 2022-12-08  9:34 ` Leon Romanovsky
  0 siblings, 0 replies; 2+ messages in thread
From: Leon Romanovsky @ 2022-12-08  9:34 UTC (permalink / raw)
  To: Zhu Yanjun, jgg, linux-rdma, yanjun.zhu

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,
-- 
Leon Romanovsky <leon@kernel.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] RDMA/mlx5: Mlx5 does not support IB_FLOW_SPEC_IB
@ 2022-12-08 10:19 Zhu Yanjun
  2022-12-08  9:34 ` Leon Romanovsky
  0 siblings, 1 reply; 2+ messages in thread
From: Zhu Yanjun @ 2022-12-08 10:19 UTC (permalink / raw)
  To: leon, jgg, linux-rdma, yanjun.zhu

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(-)

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
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-08  9:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-08 10:19 [PATCH 1/1] RDMA/mlx5: Mlx5 does not support IB_FLOW_SPEC_IB Zhu Yanjun
2022-12-08  9:34 ` Leon Romanovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).