i40evf: allocate virtchnl commands buffer per VF
authorJingjing Wu <jingjing.wu@intel.com>
Tue, 15 Mar 2016 01:59:39 +0000 (09:59 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 25 Mar 2016 17:56:44 +0000 (18:56 +0100)
commit95cd21f45d1bb69dab0cdc4b476d1e9ffeff8eee
tree5cd51fe6b02546752011a496e3b7921a9c1aaa19
parentee584e9710b9abd60ee9faef664e106dcea10085
i40evf: allocate virtchnl commands buffer per VF

Currently, i40evf PMD uses a global static buffer to send virtchnl
commands to host driver. It is shared by multiple VFs.
This patch changed to allocate a virtchnl cmd buffer for each VF.

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
drivers/net/i40e/i40e_ethdev.h
drivers/net/i40e/i40e_ethdev_vf.c