]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf1ddd46c001c023de0cbfa49f0159907f7bf6ace
treeef6eb62e55084493c3fc61c2a12706328750fb27
parent4782500b859ab67ca264d828a7e19abdeeaf29c5
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: b7f1c438dc048 ("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