git: f6e15b66206a - stable/14 - mlx5: assert CQE structure size
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Mar 2025 03:14:09 UTC
The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=f6e15b66206ab59fd8a128d22da53c11a39f8069 commit f6e15b66206ab59fd8a128d22da53c11a39f8069 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2025-02-10 02:02:03 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2025-03-20 03:13:38 +0000 mlx5: assert CQE structure size (cherry picked from commit 7560ed3a6b9deff85b2e865b6db74eb5e0f5f64b) --- 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 4b7cf8686794..9e11d6591b3a 100644 --- a/sys/dev/mlx5/device.h +++ b/sys/dev/mlx5/device.h @@ -712,6 +712,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)