]> 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)
commit183188883efcc14b7e5edbf3f16de1cf106c8a90
treee2b50021cd61101eec179a83c247da15bc9ef790
parent2af418dd870b014333aa72759397a8d08f52f3e6
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]