net/ipn3ke: fix line side statistics register read
authorAndy Pei <andy.pei@intel.com>
Tue, 31 Dec 2019 06:53:47 +0000 (14:53 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:01 +0000 (19:46 +0100)
commiteeb1497641cb6d7945abf62a4ea65f514df807e7
tree849862ee78870052d9e2ca6910f0d4a4e899eb22
parenta9faa2223aa84ed8a09a0ea4d5e16bd05b588059
net/ipn3ke: fix line side statistics register read

To read line side statistics register, eth_group_sel
args in function ipn3ke_indirect_mac_read should be 0.
When eth_group_sel is 1, the nic side register is read.

Fixes: 5a6d883878db ("net/ipn3ke: implement statistics")
Cc: stable@dpdk.org
Signed-off-by: Andy Pei <andy.pei@intel.com>
Acked-by: Rosen Xu <rosen.xu@intel.com>
drivers/net/ipn3ke/ipn3ke_representor.c