net/qede: fix link state configuration
authorRasesh Mody <rmody@marvell.com>
Thu, 14 May 2020 04:09:02 +0000 (21:09 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 18 May 2020 18:35:57 +0000 (20:35 +0200)
commitd789705873d47d70a3ba0a6a4dfb83fb629d3464
tree8ee653e4faeb146bd9cd246b51e55bc1e87baebe
parent670af291eaad9d8d672799828e42b28b1806b99f
net/qede: fix link state configuration

Move link state enable/disable to dev_start() and dev_stop()
respectively. This will ensure when devices are stopped,
link status will be appropriately shown as down.

Fixes: dd28bc8c6ef4 ("net/qede: fix VF port creation sequence")
Cc: stable@dpdk.org
Signed-off-by: Shahed Shaikh <shshaikh@marvell.com>
Signed-off-by: Rasesh Mody <rmody@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
drivers/net/qede/qede_ethdev.c