]> 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)
commite0aa8b66302865a787e85e6ff324eb9547684236
treeef6eb62e55084493c3fc61c2a12706328750fb27
parenta7dc18ed8dfcfb68de1a18d645dc2512859c5b08
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: 09d0cd758e9e7 ("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