[PATCH v7 01/10] net/mlx5: Add IFC structures for CQE and WQE
Leon Romanovsky
leon at kernel.org
Mon Sep 28 12:21:21 PDT 2026
On Mon, Sep 21, 2026 at 07:35:41PM -0300, Jason Gunthorpe wrote:
> Building the WQE and CQE using the IFC system is easier than with a
> C layout struct. Add definitions for their layout. Structs for:
>
> - wqe_ctrl_seg_bits (16B): WQE control segment
> - wqe_raddr_seg_bits (16B): RDMA remote address segment
> - wqe_data_seg_bits (16B): data segment
> - cqe64_bits (64B): 64-byte CQE with error syndrome union
>
> The VFIO mlx5 selftest will use these.
>
> Assisted-by: Claude:claude-opus-4.6
> Signed-off-by: Jason Gunthorpe <jgg at nvidia.com>
> ---
> include/linux/mlx5/mlx5_ifc.h | 55 +++++++++++++++++++++++++++++++++++
> 1 file changed, 55 insertions(+)
>
Thanks,
Acked-by: Leon Romanovsky <leonro at nvidia.com>
More information about the linux-arm-kernel
mailing list