From nobody Sat Oct 28 21:02:17 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SHsRY5ZGbz4y1vx; Sat, 28 Oct 2023 21:02:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SHsRY54Skz4R9k; Sat, 28 Oct 2023 21:02:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698526937; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JhWjAUwNKTN1s8UjrKVvqq8VWFh+1EFSr64rgQ3rwKY=; b=LlzMOdyermpzdQAgZcONDJP39M3pX+7fTvZzGlSx4HBeOxLUdUcCiSC0YXTfGGZZR/HHW2 NWuUMYhGVAKbCjmvZn/jCGSn0ShEoSMCtsycC3Hgfw3kUvZevh2jp8BaARf+442w4poa98 iTUvfspzOaI9s4WruZf+L8gxzxJW5A9dscVnt0Hx4eS3O+oelXxqVSA+02K4ftM/qDYjdm 3smmdX77oYfH5UW8Py4BRGwuI1H482eghsb7dRsQyF1Fgq0cLXAz+n1dbtNhbpGcldtkrB MSzWyMPZPXaqPo47ZbXVc8zPbKuC+ph4EnXSg1Uhgq9hz4thjzhc9nNh0VXwGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698526937; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JhWjAUwNKTN1s8UjrKVvqq8VWFh+1EFSr64rgQ3rwKY=; b=sHyEZo7TACQnbmKxkrxCCze8EBjTr4HyNrl+dUbcSN6yDk4RKdNiHdX+kj00ATbmqD2VlX L1Ztr9Jjji9HPxH93vOP/4KZVatJZ5zP02GFsnqp3i/8jJt2hVdD1UZ8JZk6ffSHCVrLJv ASzoL466D2hSw5c6symDe62uiuiROyk//nbS0Cz2yErYBBj2YdKPG8uP47P+dW8vqfS+VO H3FoA19NvEw+BoxTtRw0gPmnDjXD6RBCJtgul2MsSOIGe6EeiFq2EMfiUuyiqqsdiKHUtf dTbKx9HIgZu4HK5uDJKyf4goeusc5ZEaaDGFgBVwXJp+syCAlCmP4c/LaSXK5w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698526937; a=rsa-sha256; cv=none; b=r9pVOjhleUF8eOL5D8HFz93AndeUSZxdXBnO/Cd4aNxKoPUVlxChoxng1gICVF7ZmAMefe qE6cCkeTn7cvNVGkC/Qy2pSx/akqye578Kbz9ZV/Q0Ta2g85/HwUe8UfEry5MBMynLgoYn v3OYVy/Okb5C0MIX+OiQXquKhfCeLIu+sW9JdNYKusPoNkhkpq6x6EC6g5OAvWGImg7tyy cN1Yma6+OZCSu0PEcy3AsZ4MomKNZuZZT7FykYrcbgQHw4yVhr12KGxoYbi7GdLgo8tqMj pj3ed+EW3w2wPrFQHlMPz8COeIIQ6Np0ssvh1baVlYTnWTAksNBKqX/lOlEVzA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SHsRY47wsz1BJF; Sat, 28 Oct 2023 21:02:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39SL2HbD040705; Sat, 28 Oct 2023 21:02:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39SL2Hqr040702; Sat, 28 Oct 2023 21:02:17 GMT (envelope-from git) Date: Sat, 28 Oct 2023 21:02:17 GMT Message-Id: <202310282102.39SL2Hqr040702@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ka Ho Ng Subject: git: 3b173281764b - main - mlx5ib: Fix ethertype to be ETH_P_IPV6 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: khng X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3b173281764ba7c02f9de0a67caa1c4eca604413 Auto-Submitted: auto-generated The branch main has been updated by khng: URL: https://cgit.FreeBSD.org/src/commit/?id=3b173281764ba7c02f9de0a67caa1c4eca604413 commit 3b173281764ba7c02f9de0a67caa1c4eca604413 Author: Ka Ho Ng AuthorDate: 2023-10-28 20:54:32 +0000 Commit: Ka Ho Ng 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),