net/qede: do not stop vport if not started
authorManish Chopra <manishc@marvell.com>
Thu, 6 Feb 2020 20:01:46 +0000 (12:01 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 Feb 2020 12:51:06 +0000 (13:51 +0100)
commitbf44e27af5a4840b2965c71a89eccfc01b5c58bf
treeec05bdd356a44d7b5e3d1f6b7b22be2c9bc18cb8
parentf44ca48c81e823edda67189220a4bf7659cc22c1
net/qede: do not stop vport if not started

Stopping an already disabled vport leads to firmware
assert. Stop the vport only if it was started.

Fixes: 2ea6f76aff40 ("qede: add core driver")
Cc: stable@dpdk.org
Signed-off-by: Manish Chopra <manishc@marvell.com>
Signed-off-by: Rasesh Mody <rmody@marvell.com>
drivers/net/qede/qede_ethdev.c