net/bnxt: fix link status during device recovery
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Tue, 22 Sep 2020 05:34:16 +0000 (11:04 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 17:19:09 +0000 (19:19 +0200)
commit6fcd0de92298f61b8f96ba170db9e81923019626
tree09dc28665b3dfc945b3fca14c7e9453c66bedfac
parent739e5982f92f31057a1b41983f41912edaee266a
net/bnxt: fix link status during device recovery

Driver should not send the phy_cfg request to bring link down
during reset recovery. If the driver sends the phy_cfg request
in recovery process, then FW needs to re-establish the link which
in turn increases the recovery time based on PHY type and link partners.

Fixes: df6cd7c1f73a ("net/bnxt: handle reset notify async event from FW")
Cc: stable@dpdk.org
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c