[dpdk-stable] [PATCH] net/mlx5: fix compilation for rdma-core v19

Shahaf Shuler shahafs at mellanox.com
Tue Jul 24 06:53:55 CEST 2018


Monday, July 23, 2018 8:10 PM, Luca Boccassi:
> Subject: Re: [dpdk-stable] [PATCH] net/mlx5: fix compilation for rdma-core
> v19
> 
> On Mon, 2018-07-23 at 10:30 +0300, Shahaf Shuler wrote:
> > [ backported from upstream commit
> > 06b1fe3f6d2121009b3b879e92b8cca25d4c0c42 ]
> >
> > The flow counter support introduced by commit 9a761de8ea14 ("net/mlx5:
> > flow counter support") was intend to work only with MLNX_OFED_4.2 as
> > the upstream rdma-core libraries were lack such support.
> >
> > On rdma-core v19 the support for the flow counters was added but with
> > different user APIs, hence causing compilation issues on the PMD.
> >
> > This patch fix the compilation errors by forcing the flow counters to
> > be enabled only with MLNX_OFED APIs.
> > Once MLNX_OFED and rdma-core APIs will be aligned, a proper patch to
> > support the new API will be submitted.
> >
> > Fixes: 9a761de8ea14 ("net/mlx5: flow counter support")
> > Cc: stable at dpdk.org
> > Cc: orika at mellanox.com
> >
> > Reported-by: Stephen Hemminger <stephen at networkplumber.org>
> > Reported-by: Ferruh Yigit <ferruh.yigit at intel.com>
> > Signed-off-by: Shahaf Shuler <shahafs at mellanox.com>
> > ---
> >  drivers/net/mlx5/Makefile    |  2 +-
> >  drivers/net/mlx5/mlx5_flow.c | 13 +++++++------
> >  2 files changed, 8 insertions(+), 7 deletions(-)
> 
> Hi Shahaf,
> 
> For which stable release branch is this patch intended?

This one for 18.05.1, I will have to make another one for 17.11.4 

> 
> --
> Kind regards,
> Luca Boccassi


More information about the stable mailing list