git: 3b173281764b - main - mlx5ib: Fix ethertype to be ETH_P_IPV6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 28 Oct 2023 21:02:17 UTC
The branch main has been updated by khng:
URL: https://cgit.FreeBSD.org/src/commit/?id=3b173281764ba7c02f9de0a67caa1c4eca604413
commit 3b173281764ba7c02f9de0a67caa1c4eca604413
Author: Ka Ho Ng <khng@FreeBSD.org>
AuthorDate: 2023-10-28 20:54:32 +0000
Commit: Ka Ho Ng <khng@FreeBSD.org>
CommitDate: 2023-10-28 20:59:05 +0000
mlx5ib: Fix ethertype to be ETH_P_IPV6
Sponsored by: Juniper Networks, Inc.
MFC after: 7 days
Reviewed by: ae, kib, zlei
Differential Revision: https://reviews.freebsd.org/D42184
---
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c b/sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
index 232309f79266..1b02c8741a56 100644
--- a/sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
+++ b/sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
@@ -1925,7 +1925,7 @@ static int parse_flow_attr(u32 *match_c, u32 *match_v,
MLX5_SET(fte_match_set_lyr_2_4, outer_headers_c,
ethertype, 0xffff);
MLX5_SET(fte_match_set_lyr_2_4, outer_headers_v,
- ethertype, IPPROTO_IPV6);
+ ethertype, ETH_P_IPV6);
memcpy(MLX5_ADDR_OF(fte_match_set_lyr_2_4, outer_headers_c,
src_ipv4_src_ipv6.ipv6_layout.ipv6),