[dpdk-dev] [PATCH] net/mlx5: fix compilation error of rdma-core on ARM
Shahaf Shuler
shahafs at mellanox.com
Mon Mar 19 18:56:46 CET 2018
Wednesday, March 14, 2018 7:52 PM, Yongseok Koh:
> rdma-core v16 has a bug. The following compilation error occurs on ARM
> hosts.
>
> In file included
> from /auto/mswg/yskoh/git/dpdk.org/drivers/net/mlx5/mlx5_glue.h:16:0,
> from /auto/mswg/yskoh/git/dpdk.org/drivers/net/mlx5/mlx5_glue.c:11:
> /usr/include/infiniband/mlx5dv.h:144:2: error: unknown type name ‘off_t’
> off_t uar_mmap_offset;
> ^
>
> As a temporary fix, sys/types.h is included in PMD. This has been fixed in
> rdma-core v17. This can be removed when all the Linux distros are shipped
> with rdma-core v17 or back-ported fix. As of now, RedHat 7.5 is known to
> have rdma-core v16.
>
> Signed-off-by: Yongseok Koh <yskoh at mellanox.com>
> Acked-by: Adrien Mazarguil <adrien.mazarguil at 6wind.com>
Applied to next-net-mlx, thanks.
More information about the dev
mailing list