i40evf: support virtual channel API version 1.1
authorMitch Williams <mitch.a.williams@intel.com>
Thu, 4 Jun 2015 20:23:59 +0000 (16:23 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 23 Jul 2015 12:27:01 +0000 (05:27 -0700)
commitee1693e5a5ad6cfd701381a1d04cc1878bb90724
treee017dd5f610ac91f868c1c9a0962abff96a312a9
parente6d038de13c82f8446d9db5b3d9bb7788344b2bd
i40evf: support virtual channel API version 1.1

Store off the PF's API version, then use it to determine whether or not
to send it our capabilities. Change the version checking to allow for PF
drivers with lower API versions than our current version, so we can
still talk to PF drivers over the 1.0 API.

Change-ID: I8edc55d1229c7decf0ed3f285a63032694007c2e
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Jim young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c
drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c