Hi Tom, Can you please provide more information? (OS/kernel versions, gcc version and full ofed version)
Thanks, Ali > -----Original Message----- > From: dev <dev-boun...@dpdk.org> On Behalf Of Tom Barbette > Sent: Thursday, March 14, 2019 1:20 PM > To: Shahaf Shuler <shah...@mellanox.com>; john.mcnam...@intel.com; > marko.kovace...@intel.com > Cc: dev@dpdk.org; Erez Scop <ere...@mellanox.com>; Olga Shern > <ol...@mellanox.com>; Yongseok Koh <ys...@mellanox.com> > Subject: Re: [dpdk-dev] [PATCH 2/2] doc: update Mellanox supported OFED > version > > A bit of an old thread, but I just tried to update the OFED 4.5 as this doc > patch > suggests and DPDK (19.02 or master) do not compile anymore for mlx5? > > Was the doc updated too soon or should I do something special to clean > 4.4 and update 4.5? > > I did install the OFED with --upsteam-libs and --dpdk (4.4 works fine). > > Error sample: > In file included from /usr/include/infiniband/mlx5dv.h:48:0, > from > /home/tom/dpdk-skylake/drivers/net/mlx5/mlx5_glue.c:21: > /home/tom/dpdk-skylake/drivers/net/mlx5/mlx5_glue.h:54:6: error: nested > redefinition of ‘enum mlx5_ib_uapi_flow_action_packet_reformat_type’ > enum mlx5dv_flow_action_packet_reformat_type { packet_reformat_type > = 0, }; > ^ > /home/tom/dpdk-skylake/drivers/net/mlx5/mlx5_glue.h:54:6: error: > redeclaration of ‘enum mlx5_ib_uapi_flow_action_packet_reformat_type’ > In file included from /usr/include/infiniband/mlx5_api.h:36:0, > from /usr/include/infiniband/mlx5dv.h:48, > from > /home/tom/dpdk-skylake/drivers/net/mlx5/mlx5_glue.c:21: > > > On 2018-11-19 13:46, Shahaf Shuler wrote: > > Signed-off-by: Shahaf Shuler <shah...@mellanox.com> > > --- > > doc/guides/nics/mlx4.rst | 2 +- > > doc/guides/nics/mlx5.rst | 2 +- > > 2 files changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/doc/guides/nics/mlx4.rst b/doc/guides/nics/mlx4.rst index > > 4a57c7a6aa..5326d916e1 100644 > > --- a/doc/guides/nics/mlx4.rst > > +++ b/doc/guides/nics/mlx4.rst > > @@ -213,7 +213,7 @@ Current RDMA core package and Linux kernel > (recommended) > > Mellanox OFED as a fallback > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > -- `Mellanox OFED`_ version: **4.3, 4.4**. > > +- `Mellanox OFED`_ version: **4.4, 4.5**. > > - firmware version: **2.42.5000** and above. > > > > .. _`Mellanox OFED`: > > > http://www.mellanox.com/page/products_dyn?product_family=26&mtag=li > nux > > _sw_drivers diff --git a/doc/guides/nics/mlx5.rst > > b/doc/guides/nics/mlx5.rst index 3610e00862..b52f8af708 100644 > > --- a/doc/guides/nics/mlx5.rst > > +++ b/doc/guides/nics/mlx5.rst > > @@ -557,7 +557,7 @@ RMDA Core with Linux Kernel > > Mellanox OFED > > ^^^^^^^^^^^^^ > > > > -- Mellanox OFED version: **4.3, 4.4**. > > +- Mellanox OFED version: **4.4, 4.5**. > > - firmware version: > > > > - ConnectX-4: **12.21.1000** and above. > >