On Tue, Oct 24, 2017 at 11:55:42AM +0200, Nélio Laranjeiro wrote: > Hi, > > On Tue, Oct 24, 2017 at 02:19:51PM +0530, gowrishankar muthukrishnan wrote: > > On Tuesday 24 October 2017 11:59 AM, gowrishankar muthukrishnan wrote: > > > Hi Adrien, > > > I am trying to compile mlx4 (and later to try mlx5) pmd in RHEL 7.4 > > > (ppc64le) without Mellanox OFED, > > > using current master (which has below patch series). > > > > > > As I do so, I hit with below compile error: > > > > > > dpdk/drivers/net/mlx4/mlx4.c:53:31: fatal error: infiniband/mlx4dv.h: > > > No such file or directory > > > #include <infiniband/mlx4dv.h> > > > ^ > > > compilation terminated. > > > make[6]: *** [mlx4.o] Error 1 > > > > > > I tried to find rpm for this directverbs include, but I could not. Could > > > you advice if I have to install any additional rpm in RHEL 7.4 ? > > > To note, I have rdma-core and libibverbs installed. > > > > > > > I see we need rdma-core v15 atleast for mlx5 pmd (where as the version > > available in RHEL 7.4 is v13). > > > > https://patchwork.kernel.org/patch/9937201/ > > > > Similar dependency might be there for mlx4 as well. So I think it is not > > possible to compile it in RHEL 7.4 without dependent > > rpms upgraded. > > The procedure is described in the mlx5 documentation [1]. > It should be the same for mlx4. > Regards, <snip> > > [1] http://dpdk.org/doc/guides/nics/mlx5.html#installation
Yes, I confirm mlx4 documentation is not up to date yet regarding its dependencies, it will be modified soon. Thanks for the report. -- Adrien Mazarguil 6WIND