i40e: return correct opcode to VF
authorMitch Williams <mitch.a.williams@intel.com>
Wed, 24 Aug 2016 18:33:49 +0000 (11:33 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Sep 2016 05:33:39 +0000 (22:33 -0700)
commit8d9d927f4ab8d87fee91d9aa8bdcdf19a1787ce0
treedd75abc45e0e41d4dbc235616e3b5147a91b0f94
parenta01c7f6709925919e2e3c6c190a92692f63f74e4
i40e: return correct opcode to VF

This conditional is backward, so the driver responds back to the VF with
the wrong opcode. Do the old switcheroo to fix this.

Change-ID: I384035b0fef8a3881c176de4b4672009b3400b25
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c