]> git.baikalelectronics.ru Git - kernel.git/commit
i40evf: virtual channel interface
authorGreg Rose <gregory.v.rose@intel.com>
Sat, 21 Dec 2013 06:13:01 +0000 (06:13 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 1 Jan 2014 00:01:28 +0000 (16:01 -0800)
commitd5fb6d0d4231ca6f7e02769e1ee5542ee96c31b6
treee2b50021cd61101eec179a83c247da15bc9ef790
parent16510c1dcf1f7fe03051467b9a51a542b7692f3b
i40evf: virtual channel interface

This PCI-E SR-IOV virtual function (VF) driver is dependant upon the
physical function (PF) driver (i40e) for nearly all of its hardware
configuration. Requests from the VF driver are passed to the PF using
the hardware's Admin Queue.

This patch contains the functionality for communicating with the PF
driver. Because of the delay inherent in this communications channel,
most of the replies from the PF driver are handled asynchronously. The
exceptions are the "send API version" and "get VF config" messages,
which busy-wait because they are done so early during init that
interrupts are not yet configured.

Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40e_virtchnl.h [new file with mode: 0644]
drivers/net/ethernet/intel/i40evf/i40evf_virtchnl.c [new file with mode: 0644]