[dpdk-dev] [PATCH v5 1/2] i40evf: allocate virtchnl cmd buffer for each vf

Wu, Jingjing jingjing.wu at intel.com
Tue Mar 15 02:01:18 CET 2016


Hi, Bruce

That is because another patch was applied before this one. I will rework it, and send it soon.

Thanks
Jingjing

> -----Original Message-----
> From: Richardson, Bruce
> Sent: Monday, March 14, 2016 8:22 PM
> To: Wu, Jingjing
> Cc: dev at dpdk.org; Zhang, Helin; Tao, Zhe
> Subject: Re: [PATCH v5 1/2] i40evf: allocate virtchnl cmd buffer for each vf
> 
> 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