Re: [lng-odp] [API-NEXTv2 2/7] api: packet: add functions to alloc/free multiple packets at once

2015-10-05 Thread Nicolas Morey-Chaisemartin
On 09/29/2015 04:34 PM, Bill Fischofer wrote: > On Tue, Sep 29, 2015 at 9:15 AM, Nicolas Morey-Chaisemartin < > nmo...@kalray.eu> wrote: > > >> + >> +/** >> * Free packet >> * >> * Frees the packet into the buffer pool it was allocated from. >> @@ -86,6 +103,17 @@ odp_packet_t

Re: [lng-odp] [API-NEXTv2 2/7] api: packet: add functions to alloc/free multiple packets at once

2015-10-05 Thread Nicolas Morey-Chaisemartin
g-odp@lists.linaro.org >> Subject: [lng-odp] [API-NEXTv2 2/7] api: packet: add functions to >> alloc/free multiple packets at once >> >> Signed-off-by: Nicolas Morey-Chaisemartin <nmo...@kalray.eu> >> --- >> include/odp/api/packet.h | 28 +

Re: [lng-odp] [API-NEXTv2 2/7] api: packet: add functions to alloc/free multiple packets at once

2015-10-01 Thread Bill Fischofer
pools may be different. > > > -Petri > > > > -Original Message- > > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of EXT > > Bala Manoharan > > Sent: Wednesday, September 30, 2015 8:41 AM > > To: Nicolas Morey-Chaisemartin

Re: [lng-odp] [API-NEXTv2 2/7] api: packet: add functions to alloc/free multiple packets at once

2015-09-30 Thread Savolainen, Petri (Nokia - FI/Espoo)
lf Of EXT > Bala Manoharan > Sent: Wednesday, September 30, 2015 8:41 AM > To: Nicolas Morey-Chaisemartin > Cc: LNG ODP Mailman List > Subject: Re: [lng-odp] [API-NEXTv2 2/7] api: packet: add functions to > alloc/free multiple packets at once > > Hi, > > I am not sure whet

Re: [lng-odp] [API-NEXTv2 2/7] api: packet: add functions to alloc/free multiple packets at once

2015-09-30 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of EXT > Nicolas Morey-Chaisemartin > Sent: Tuesday, September 29, 2015 5:16 PM > To: lng-odp@lists.linaro.org > Subject: [lng-odp] [API-NEXTv2 2/7] api: packet: add functio

Re: [lng-odp] [API-NEXTv2 2/7] api: packet: add functions to alloc/free multiple packets at once

2015-09-29 Thread Bill Fischofer
On Tue, Sep 29, 2015 at 9:15 AM, Nicolas Morey-Chaisemartin < nmo...@kalray.eu> wrote: > Signed-off-by: Nicolas Morey-Chaisemartin > --- > include/odp/api/packet.h | 28 > 1 file changed, 28 insertions(+) > > diff --git a/include/odp/api/packet.h

[lng-odp] [API-NEXTv2 2/7] api: packet: add functions to alloc/free multiple packets at once

2015-09-29 Thread Nicolas Morey-Chaisemartin
Signed-off-by: Nicolas Morey-Chaisemartin --- include/odp/api/packet.h | 28 1 file changed, 28 insertions(+) diff --git a/include/odp/api/packet.h b/include/odp/api/packet.h index 5d46b7b..c220329 100644 --- a/include/odp/api/packet.h +++

Re: [lng-odp] [API-NEXTv2 2/7] api: packet: add functions to alloc/free multiple packets at once

2015-09-29 Thread Nicolas Morey-Chaisemartin
On 09/29/2015 04:34 PM, Bill Fischofer wrote: > > > On Tue, Sep 29, 2015 at 9:15 AM, Nicolas Morey-Chaisemartin > wrote: > > Signed-off-by: Nicolas Morey-Chaisemartin > > --- >

Re: [lng-odp] [API-NEXTv2 2/7] api: packet: add functions to alloc/free multiple packets at once

2015-09-29 Thread Bala Manoharan
Hi, I am not sure whether we need this call for alloc multiple packets at once. The reason being in a high speed data plane system the packets which are allocated and not processed will result in holding up of pool space which will result in dropping of the incoming packets if the pool space is