• Jason Gunthorpe's avatar
    RDMA/mlx4: Fix uABI structure layouts for 32/64 compat · 366380a0
    Jason Gunthorpe authored
    rss_caps in struct mlx4_uverbs_ex_query_device_resp is misaligned on
    32 bit compared to 64 bit, add explicit padding.
    
    The rss caps were introduced recently and are very rarely used in user
    space, mainly for DPDK.
    
    We don't expect there to be a real 32 bit user, so this change is done
    without compat considerations.
    
    Fixes: 09d208b2 ("IB/mlx4: Add report for RSS capabilities by vendor channel")
    Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
    366380a0
mlx4-abi.h 4.91 KB