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

patches for DPDK stable branches

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/stable/0 stable/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 stable stable/ https://inbox.dpdk.org/stable \
		stable@dpdk.org
	public-inbox-index stable

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.stable


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git