net/mlx5: fix representor port xstats
authorXueming Li <xuemingl@mellanox.com>
Wed, 19 Sep 2018 07:55:26 +0000 (15:55 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 11 Oct 2018 16:53:49 +0000 (18:53 +0200)
commit45b83b9b0434db1f190f7fa7d30e6fed75793ae6
treee5fb5ada68ace33d605cb64efc3be5054e8d4b2b
parent7bc47fb839cba55a6e0c86b5f2b746ff7dcbc514
net/mlx5: fix representor port xstats

This patch fixes the issue that representor port shows xstats of PF.

Fixes: 2b7302638898 ("net/mlx5: probe all port representors")
Cc: stable@dpdk.org
Signed-off-by: Xueming Li <xuemingl@mellanox.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/mlx5_stats.c