ime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ahjn0GDSDib5/HDyvC77NfKb8C/Wn/hhHFFZO23vVAU=; b=EaLUlmuwhH1YQl+N0ggt/PEmoEkO8Pjw3TYi0qyaeXVEjIhDKuInnAOUaQHtigxi/9MR7B 6sspzPJBuiQ76qkAgo6TsVUoCuCwV2LR+x9Ykt30KAdAZrJhJTAqcSKckQQK8wtdoxr1tU KAo9nL0zHtenDs/3kOAI0pMKM4j8Pa9KEFbRm4a1t3lbEQ69xtbTFN7QMjiwiu4qkBz2O+ TvFmM2zv5ewD1Y0dUz2XqstjB/O5750geuIJe8csT3VjEP4N6mXmnUfcw7zcOZc1T9RC6k r7pZp4HWG0eoHrNGhWR93sr6W4H6QbLu8LQvoior3NPUXDQrNsmP5llm4P4fmw== 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 4ZDC2x4yJMz14tK; Thu, 13 Mar 2025 16:03:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 52DG3LrK048761; Thu, 13 Mar 2025 16:03:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 52DG3Lb9048758; Thu, 13 Mar 2025 16:03:21 GMT (envelope-from git) Date: Thu, 13 Mar 2025 16:03:21 GMT Message-Id: <202503131603.52DG3Lb9048758@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 7560ed3a6b9d - main - mlx5: assert CQE structure size List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7560ed3a6b9deff85b2e865b6db74eb5e0f5f64b Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=7560ed3a6b9deff85b2e865b6db74eb5e0f5f64b commit 7560ed3a6b9deff85b2e865b6db74eb5e0f5f64b Author: Konstantin Belousov AuthorDate: 2025-02-10 02:02:03 +0000 Commit: Konstantin Belousov CommitDate: 2025-03-13 16:00:53 +0000 mlx5: assert CQE structure size Reviewed by: Ariel Ehrenberg , Slava Shwartsman Sponsored by: NVidia networking MFC after: 1 week --- sys/dev/mlx5/device.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/mlx5/device.h b/sys/dev/mlx5/device.h index 67c129a0f2b3..e6d46507a5d2 100644 --- a/sys/dev/mlx5/device.h +++ b/sys/dev/mlx5/device.h @@ -727,6 +727,7 @@ struct mlx5_cqe64 { u8 signature; u8 op_own; }; +_Static_assert(sizeof(struct mlx5_cqe64) == 0x40, "CQE layout broken"); #define MLX5_CQE_TSTMP_PTP (1ULL << 63)