]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Sun, 31 Jul 2016 03:33:53 +0000 (20:33 -0700)
commiteb8c592934f3a554e128a653d19f41cb567675d9
tree37be4134327f9529af476c04fad44d969b8e7f0b
parentb6e826c78b1be9acf775814bb2ead471e1982876
qed: Fix removal of spoof checking for VFs

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: a1d0d188fcd59 ("qed*: IOV support spoof-checking")
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_sriov.c