qed: FLR of active VFs might lead to FW assert
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Mon, 22 Aug 2016 09:03:29 +0000 (12:03 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Aug 2016 01:11:38 +0000 (18:11 -0700)
commit4870e704d901602e4ae5de462c4e65732cf2ed6c
treeef6eb62e55084493c3fc61c2a12706328750fb27
parentc0451fe1f27b815b3f400df2a63b9aecf589b7b0
qed: FLR of active VFs might lead to FW assert

Driver never bothered marking the VF's vport with the VF's sw_fid.
As a result, FLR flows are not going to clean those vports.

If the vport was active when FLRed, re-activating it would lead
to a FW assertion.

Fixes: dacd88d6f6851 ("qed: IOV l2 functionality")
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed.h