i40e/base: add VF capabilities to virtual channel interface
authorJingjing Wu <jingjing.wu@intel.com>
Sun, 6 Sep 2015 07:11:30 +0000 (15:11 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 1 Oct 2015 23:35:22 +0000 (01:35 +0200)
commitb28c67c3ba8a665d3e8a2a3c3244cb4e151da7e3
treee9d8bc32239c1c18f57d974dc944838b13072d57
parent9e5643ec79654a9f8b458452209de386f9803454
i40e/base: add VF capabilities to virtual channel interface

To prepare for the changes coming up in the X722 device and future
devices, the virtual channel interface has to change slightly. The VF
driver can now report what its capable of supporting, which then informs
the PF driver when it sends the configuration information back to the
VF.

A 1.1 VF driver on a 1.0 PF driver should not send its capabilities.
Likewise, a 1.1 PF driver controlling a 1.0 VF driver should not expect
or depend upon receiving the VF capabilities.

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
Tested-by: Huilong Xu <huilongx.xu@intel.com>
drivers/net/i40e/base/i40e_virtchnl.h