]> 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)
commit92a60709a50c52e4462c8cf2dc4bcbea0959984c
treee017dd5f610ac91f868c1c9a0962abff96a312a9
parentd97409b55212a767b2ed78c70f8512567d95229e
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