patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH 19.11] net/mlx5: fix debug configuration build issue
@ 2020-12-16 15:30 Viacheslav Ovsiienko
  2020-12-17  9:26 ` Luca Boccassi
  0 siblings, 1 reply; 2+ messages in thread
From: Viacheslav Ovsiienko @ 2020-12-16 15:30 UTC (permalink / raw)
  To: stable; +Cc: bluca, alialnu

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-stable] [PATCH 19.11] net/mlx5: fix debug configuration build issue
  2020-12-16 15:30 [dpdk-stable] [PATCH 19.11] net/mlx5: fix debug configuration build issue Viacheslav Ovsiienko
@ 2020-12-17  9:26 ` Luca Boccassi
  0 siblings, 0 replies; 2+ messages in thread
From: Luca Boccassi @ 2020-12-17  9:26 UTC (permalink / raw)
  To: Viacheslav Ovsiienko, stable; +Cc: alialnu

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-17  9:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-16 15:30 [dpdk-stable] [PATCH 19.11] net/mlx5: fix debug configuration build issue Viacheslav Ovsiienko
2020-12-17  9:26 ` Luca Boccassi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).