If debugging options to generate assert are configured there was build failure due to wrong variable naming pushed from backported patch (see "Fixes" tag). This fix is for 19.11 LTS only, issue origin is in 19.11 LTS only, not in Upstream. Fixes: ce4c764761d0 ("net/mlx5: fix port shared data reference count") Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com> --- drivers/net/mlx5/mlx5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c index 36e6937..4307005 100644 --- a/drivers/net/mlx5/mlx5.c +++ b/drivers/net/mlx5/mlx5.c @@ -1046,7 +1046,7 @@ struct mlx5_flow_id_pool * { struct mlx5_ibv_shared *sh = priv->sh; - assert(sh && sh->dv_refcnt); + assert(sh && sh->refcnt); if (sh->refcnt > 1) return; #ifdef HAVE_MLX5DV_DR -- 1.8.3.1
On Wed, 2020-12-16 at 15:30 +0000, Viacheslav Ovsiienko wrote:
> If debugging options to generate assert are configured there was
> build failure due to wrong variable naming pushed from backported
> patch (see "Fixes" tag).
>
> This fix is for 19.11 LTS only, issue origin is in 19.11 LTS only,
> not in Upstream.
>
> Fixes: ce4c764761d0 ("net/mlx5: fix port shared data reference count")
>
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
> ---
> drivers/net/mlx5/mlx5.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Thank you, applied. Must have made a mistake during a rebase, my bad.
--
Kind regards,
Luca Boccassi