[lng-odp] [API-NEXT PATCH 1/3] api: packet: add packet concat and split

2016-04-19 Thread Petri Savolainen
Added odp_packet_concat() and _split(). Two packets may be concatenated one after another, and split at any offset. This suites the common use cases of packet reassembly and fragmentation. Reassembly is done on complete packets, while fragmentation may be needed on any offset. Signed-off-by: Petri

Re: [lng-odp] [API-NEXT PATCH 1/3] api: packet: add packet concat and split

2016-04-19 Thread Bill Fischofer
On Tue, Apr 19, 2016 at 8:07 AM, Petri Savolainen < petri.savolai...@nokia.com> wrote: > Added odp_packet_concat() and _split(). Two packets may be > concatenated one after another, and split at any offset. This > suites the common use cases of packet reassembly and > fragmentation. Reassembly is

Re: [lng-odp] [API-NEXT PATCH 1/3] api: packet: add packet concat and split

2016-04-20 Thread Savolainen, Petri (Nokia - FI/Espoo)
From: EXT Bill Fischofer [mailto:bill.fischo...@linaro.org] Sent: Tuesday, April 19, 2016 9:20 PM To: Savolainen, Petri (Nokia - FI/Espoo) Cc: LNG ODP Mailman List Subject: Re: [lng-odp] [API-NEXT PATCH 1/3] api: packet: add packet concat and split On Tue, Apr 19, 2016 at 8:07 AM, Petri

Re: [lng-odp] [API-NEXT PATCH 1/3] api: packet: add packet concat and split

2016-04-20 Thread Bill Fischofer
I'd still prefer the 2nd parameter of split to be called offset rather than len for consistency, but that has no change on the semantics. On Tue, Apr 19, 2016 at 8:07 AM, Petri Savolainen < petri.savolai...@nokia.com> wrote: > Added odp_packet_concat() and _split(). Two packets may be > concatena