Re: [dpdk-dev] [PATCH v6 2/2] examples/vdpa: introduce a new sample for vDPA

2018-09-27 Thread Ye Xiaolong
On 09/27, Maxime Coquelin wrote: [snip] >> +devcnt = 0; >This isn't needed as it is static. > >> +interactive = 0; >Ditto > >> +memset(iface, 0, sizeof(iface)); >Ditto > >> +memset(vports, 0, sizeof(vports)); >And this one too when it will be made static. > > >Appart these small com

Re: [dpdk-dev] [PATCH v6 2/2] examples/vdpa: introduce a new sample for vDPA

2018-09-27 Thread Maxime Coquelin
On 09/26/2018 11:06 AM, Xiaolong Ye wrote: The vdpa sample application creates vhost-user sockets by using the vDPA backend. vDPA stands for vhost Data Path Acceleration which utilizes virtio ring compatible devices to serve virtio driver directly to enable datapath acceleration. As vDPA drive