]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qed: Fix removal of spoof checking for VFs
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Wed, 27 Jul 2016 11:45:20 +0000 (14:45 +0300)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 6 Mar 2017 04:59:23 +0000 (20:59 -0800)
commit2dd65e4121739e67da56fa34e3c9a31ccbd6d609
tree49fc57d02748c22427de23a3fb3c5e4cc2750cbb
parentb9319c6331eba68bb4a5d17e8f2b6ff0270f8b2e
qed: Fix removal of spoof checking for VFs

Orabug: 25477939

Driver has reverse logic for checking the result of the
spoof-checking configuration. As a result, it would log that
the configuration failed [even though it succeeded], and will
no longer do anything when requested to remove the configuration,
as it's accounting of the feature will be incorrect.

Fixes: 6ddc7608258d5 ("qed*: IOV support spoof-checking")
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit cb1fa088772e9e331841b10bea88d833ec8c01fa)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/qlogic/qed/qed_sriov.c