git: cdb26f08e5cc - stable/13 - mlx5ib: Fix ethertype to be ETH_P_IPV6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 Nov 2023 19:25:07 UTC
The branch stable/13 has been updated by khng: URL: https://cgit.FreeBSD.org/src/commit/?id=cdb26f08e5cc21b67bec03268edc5347bbcb47da commit cdb26f08e5cc21b67bec03268edc5347bbcb47da Author: Ka Ho Ng <khng@FreeBSD.org> AuthorDate: 2023-10-28 20:54:32 +0000 Commit: Ka Ho Ng <khng@FreeBSD.org> CommitDate: 2023-11-04 19:24:35 +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 (cherry picked from commit 3b173281764ba7c02f9de0a67caa1c4eca604413) --- 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 f2fcca2c741c..d43cdadb21b2 100644 --- a/sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c +++ b/sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c @@ -1975,7 +1975,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),