net/mlx5: fix extended statistics counters identification
authorShahaf Shuler <shahafs@mellanox.com>
Sun, 5 Mar 2017 12:02:48 +0000 (14:02 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 13:52:51 +0000 (15:52 +0200)
commit4b2e6df26168a22464fd62ba727ac14bc26b632d
tree4dfc0ee0f4344b8a3a690215a35dbdb0e5c9d4f9
parentb247f346019b5e1f8ad9f84139831e3946476b7e
net/mlx5: fix extended statistics counters identification

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

Fixes: 859081d3fbbf ("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>
drivers/net/mlx5/mlx5_stats.c