[dpdk-dev] [PATCH v5 1/2] i40evf: allocate virtchnl cmd buffer for each vf
Bruce Richardson
bruce.richardson at intel.com
Mon Mar 14 13:21:44 CET 2016
On Thu, Mar 10, 2016 at 11:41:10AM +0800, Jingjing Wu wrote:
> Currently, i40evf PMD uses a global static buffer to send virtchnl
> command to host driver. It is shared by multi VFs.
> This patch changed to allocate virtchnl cmd buffer for each VF.
>
> Signed-off-by: Jingjing Wu <jingjing.wu at intel.com>
> Acked-by: Helin Zhang <helin.zhang at intel.com>
> ---
> drivers/net/i40e/i40e_ethdev.h | 2 +
> drivers/net/i40e/i40e_ethdev_vf.c | 178 +++++++++++++++-----------------------
> 2 files changed, 71 insertions(+), 109 deletions(-)
>
Hi Jingjing,
I get some compilation errors when I apply this to dpdk-next-net.
/home/bruce/next-net/dpdk-next-net/drivers/net/i40e/i40e_ethdev_vf.c: In function ‘i40evf_add_del_all_mac_addr’:
/home/bruce/next-net/dpdk-next-net/drivers/net/i40e/i40e_ethdev_vf.c:1801:21: error: ‘cmd_result_buffer’ undeclared (first use in this function)
args.out_buffer = cmd_result_buffer;
^
This is with Fedora 23 with gcc 5.3.1
/Bruce
More information about the dev
mailing list