]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qed: Clean VF malicious indication when disabling IOV
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Sun, 19 Mar 2017 11:08:13 +0000 (13:08 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 26 Jul 2017 03:46:45 +0000 (20:46 -0700)
commit70ad723bf4fa3174dcccfe4b6e11169279921d9a
tree3de8601c22c0344df61be20660a0d4c527de306a
parentaa921c03385f2d97b7c2c4a272247eb1e539e021
qed: Clean VF malicious indication when disabling IOV

Orabug: 2593305326439680

When a VF is considered malicious, driver handling of the VF
FLR flow would clean said indication - but not if the FLR is
part of an sriov-disable flow.
That leads to further issues, as PF wouldn't re-enable the
previously malicious VF when sriov is re-enabled.

No reason for that - simply clean malicious indications in
the sriov-disable flow as well.

Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/qlogic/qed/qed_sriov.c