The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=0bf5db3ac9b176cb8d229a888f39714603f2c626
commit 0bf5db3ac9b176cb8d229a888f39714603f2c626 Author: Ariel Ehrenberg <[email protected]> AuthorDate: 2026-07-28 12:02:51 +0000 Commit: Konstantin Belousov <[email protected]> CommitDate: 2026-09-16 14:12:09 +0000 fixup! IB/mlx5: Add tunneling offloads support Import Linux upstream commit 4e2b53a5cb5a ("IB/mlx5: Report inner RSS capability"). Define MLX5_RX_HASH_INNER as (1UL << 31). Shifting 1 into the sign bit of a plain int is undefined behaviour, and user space compiles this header too. The main.c half of that commit is already carried by the preceding fixup. Sponsored by: NVidia networking MFC after: 1 month --- sys/ofed/include/uapi/rdma/mlx5-abi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/ofed/include/uapi/rdma/mlx5-abi.h b/sys/ofed/include/uapi/rdma/mlx5-abi.h index a49eef113688..cc674db460cb 100644 --- a/sys/ofed/include/uapi/rdma/mlx5-abi.h +++ b/sys/ofed/include/uapi/rdma/mlx5-abi.h @@ -299,7 +299,7 @@ enum mlx5_rx_hash_fields { MLX5_RX_HASH_SRC_PORT_UDP = 1 << 6, MLX5_RX_HASH_DST_PORT_UDP = 1 << 7, /* Save bits for future fields */ - MLX5_RX_HASH_INNER = 1 << 31 + MLX5_RX_HASH_INNER = (1UL << 31), }; struct mlx5_ib_create_qp_rss {
