Re: [vpp-dev] Question about libmemif API

2019-08-18 Thread William Tu
> > -Original Message- > From: William Tu > Sent: 2019年8月15日 23:26 > To: Yao, Chengqiang > Cc: vpp-dev@lists.fd.io > Subject: Re: [vpp-dev] Question about libmemif API > > On Thu, Aug 15, 2019 at 8:02 AM William Tu wrote: > > > > Hi Chengqiang

Re: [vpp-dev] Question about libmemif API

2019-08-15 Thread Yao, Chengqiang
ds, > > Chengqiang Yao > > > > > > > > -----Original Message- > > From: vpp-dev@lists.fd.io On Behalf Of William > > Tu > > Sent: 2019年8月15日 2:07 > > To: vpp-dev@lists.fd.io > > Subject: [vpp-dev] Question about libmemif API > >

Re: [vpp-dev] Question about libmemif API

2019-08-15 Thread William Tu
> > > > > -----Original Message- > > From: vpp-dev@lists.fd.io On Behalf Of William Tu > > Sent: 2019年8月15日 2:07 > > To: vpp-dev@lists.fd.io > > Subject: [vpp-dev] Question about libmemif API > > > > Hi, > > > > I'

Re: [vpp-dev] Question about libmemif API

2019-08-15 Thread William Tu
William Tu > Sent: 2019年8月15日 2:07 > To: vpp-dev@lists.fd.io > Subject: [vpp-dev] Question about libmemif API > > Hi, > > I'm working on using libmemif in OVS. > https://patchwork.ozlabs.org/patch/1140858/ > > While using the API, one question I have is, when I call

Re: [vpp-dev] Question about libmemif API

2019-08-14 Thread Yao, Chengqiang
32 to free. Best Regards, Chengqiang Yao -Original Message- From: vpp-dev@lists.fd.io On Behalf Of William Tu Sent: 2019年8月15日 2:07 To: vpp-dev@lists.fd.io Subject: [vpp-dev] Question about libmemif API Hi, I'm working on using libmemif in OVS. https://patchwork.ozlabs.org/pat

[vpp-dev] Question about libmemif API

2019-08-14 Thread William Tu
Hi, I'm working on using libmemif in OVS. https://patchwork.ozlabs.org/patch/1140858/ While using the API, one question I have is, when I call err = memif_rx_burst(dev->handle, qid, dev->rx_bufs, NETDEV_MAX_BURST, &recv); There are 'recv' number of packets are at dev->rx_bufs, do I have to cop