All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net/mlx5: fix extended statistics counters identification
@ 2017-03-05 12:02 Shahaf Shuler
  2017-03-06  8:43 ` Adrien Mazarguil
  0 siblings, 1 reply; 3+ messages in thread
From: Shahaf Shuler @ 2017-03-05 12:02 UTC (permalink / raw)
  To: nelio.laranjeiro, adrien.mazarguil; +Cc: dev, stable

Checking whether the counter is IB counter was performed with the
wrong index.

Fixes: a4e3056b7018 ("net/mlx5: add out of buffer counter to extended statistic")
Cc: stable@dpdk.org

Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
---
 drivers/net/mlx5/mlx5_stats.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/mlx5/mlx5_stats.c b/drivers/net/mlx5/mlx5_stats.c
index 1953293..703f48c 100644
--- a/drivers/net/mlx5/mlx5_stats.c
+++ b/drivers/net/mlx5/mlx5_stats.c
@@ -253,7 +253,7 @@ struct mlx5_counter_ctrl {
 		}
 	}
 	for (j = 0; j != xstats_n; ++j) {
-		if (priv_is_ib_cntr(mlx5_counters_init[i].ctr_name))
+		if (priv_is_ib_cntr(mlx5_counters_init[j].ctr_name))
 			continue;
 		if (xstats_ctrl->dev_table_idx[j] >= dev_stats_n) {
 			WARN("counter \"%s\" is not recognized",
-- 
1.8.3.1

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

* Re: [PATCH] net/mlx5: fix extended statistics counters identification
  2017-03-05 12:02 [PATCH] net/mlx5: fix extended statistics counters identification Shahaf Shuler
@ 2017-03-06  8:43 ` Adrien Mazarguil
  2017-03-06  9:50   ` [dpdk-stable] " Ferruh Yigit
  0 siblings, 1 reply; 3+ messages in thread
From: Adrien Mazarguil @ 2017-03-06  8:43 UTC (permalink / raw)
  To: Shahaf Shuler; +Cc: nelio.laranjeiro, dev, stable

On Sun, Mar 05, 2017 at 02:02:48PM +0200, Shahaf Shuler wrote:
> Checking whether the counter is IB counter was performed with the
> wrong index.
> 
> Fixes: a4e3056b7018 ("net/mlx5: add out of buffer counter to extended statistic")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>

Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>

-- 
Adrien Mazarguil
6WIND

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

* Re: [dpdk-stable] [PATCH] net/mlx5: fix extended statistics counters identification
  2017-03-06  8:43 ` Adrien Mazarguil
@ 2017-03-06  9:50   ` Ferruh Yigit
  0 siblings, 0 replies; 3+ messages in thread
From: Ferruh Yigit @ 2017-03-06  9:50 UTC (permalink / raw)
  To: Adrien Mazarguil, Shahaf Shuler; +Cc: nelio.laranjeiro, dev, stable

On 3/6/2017 8:43 AM, Adrien Mazarguil wrote:
> On Sun, Mar 05, 2017 at 02:02:48PM +0200, Shahaf Shuler wrote:
>> Checking whether the counter is IB counter was performed with the
>> wrong index.
>>
>> Fixes: a4e3056b7018 ("net/mlx5: add out of buffer counter to extended statistic")
>> Cc: stable@dpdk.org
>>
>> Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
> 
> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>

Applied to dpdk-next-net/master, thanks.

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

end of thread, other threads:[~2017-03-06  9:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-05 12:02 [PATCH] net/mlx5: fix extended statistics counters identification Shahaf Shuler
2017-03-06  8:43 ` Adrien Mazarguil
2017-03-06  9:50   ` [dpdk-stable] " Ferruh Yigit

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.