> -Original Message-
> From: Maxim Uvarov [mailto:maxim.uva...@linaro.org]
> Sent: Friday, November 11, 2016 3:01 PM
> To: Savolainen, Petri (Nokia - FI/Espoo) labs.com>; lng-odp@lists.linaro.org
> Subject: Re: [lng-odp] [API-NEXT PATCH v3 17/19] api: packet: added l
On 11/11/16 13:50, Savolainen, Petri (Nokia - FI/Espoo) wrote:
+ /** Maximum packet length that will be allocated from
+ the pool. The maximum value is defined by pool
+ capability pkt.max_len. Use 0 for default (the
+
> > + /** Maximum packet length that will be allocated from
> > + the pool. The maximum value is defined by pool
> > + capability pkt.max_len. Use 0 for default (the
> > + pool maximum). */
> > + u
On 11/10/16 14:07, Petri Savolainen wrote:
There's no use case for application to allocate zero length
packets. Application should always have some knowledge about
the new packet data length before allocation. Also
implementations are more efficient when a check for zero length
is avoided.
Also
There's no use case for application to allocate zero length
packets. Application should always have some knowledge about
the new packet data length before allocation. Also
implementations are more efficient when a check for zero length
is avoided.
Also added a pool parameter to specify the maximum