raw/ifpga/base: fix retimer link status
authorTianfei Zhang <tianfei.zhang@intel.com>
Fri, 21 Jun 2019 08:40:17 +0000 (16:40 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 4 Jul 2019 13:36:12 +0000 (15:36 +0200)
commit12f92a513a13bc8afd567016611c30271237b34f
treec420262ae8d87eddf7727b3f4661ca265fbff9ad
parent4507a3d1f88fa2b554ee6f5bd7a3d589b9e4c2a0
raw/ifpga/base: fix retimer link status

Fix the readout retimer link status incorrectly when we
remove the linux intel-fpga-driver and run the DPDK application.
The linux driver will stop the retimer when remove the kernel
modules.

Fixes: 8a256bef ("raw/ifpga/base: add eth group driver")
Cc: stable@dpdk.org
Reported-by: Amrutha Sampath <amrutha.sampath@intel.com>
Signed-off-by: Tianfei Zhang <tianfei.zhang@intel.com>
Acked-by: Rosen Xu <rosen.xu@intel.com>
drivers/raw/ifpga_rawdev/base/opae_eth_group.c
drivers/raw/ifpga_rawdev/base/opae_eth_group.h
drivers/raw/ifpga_rawdev/base/opae_intel_max10.c