]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaf05f946cb6d074c6ce60f30590191f6aeb1b14e
treee017dd5f610ac91f868c1c9a0962abff96a312a9
parent42b32e2a13dff352d760361c2f64a377771fee8b
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