]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 6 Mar 2017 04:59:37 +0000 (20:59 -0800)
commit46cdba1f721839dc030f0df619d9e94a000e7932
tree041b64b3ac0cdd4b9f6ec67157df638ab8aa4f33
parent23d8795a7bf7cc9a7fdb98166c898c74227f628b
qed: FLR of active VFs might lead to FW assert

Orabug: 25477939

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>
(cherry picked from commit 4870e704d901602e4ae5de462c4e65732cf2ed6c)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/qlogic/qed/qed.h