On 29 April 2015 at 18:14, Zoltan Kiss <[email protected]> wrote:
> It doesn't apply to api-next. Anyway, I've sent an implementation, see > "[API-NEXT PATCH] packet: implement optional parsing". But if we go with > Ola's idea, it won't be needed. > Actually Bill's idea. If parsing is made lazy, where do you have to check whether to actually perform the parsing? Hopefully we don't need a check in every odp_packet_has_xxx() call. If the application is using the odp_packet_flags.h API, is there some call which always will be called (and called first) which can trigger the parsing? E.g. odp_packet_has_error() could check whether parsing has been done and if not do the parsing. Other calls may not have to perform the check. Would such a design be robust enough? > > On 29/04/15 07:45, Savolainen, Petri (Nokia - FI/Espoo) wrote: > >> It's (v2) on the list (since last Thu): >> >> [lng-odp] [API-NEXT PATCH v2 4/5] api: packet_io: added parse mode >> >> >> -Petri >> > _______________________________________________ > lng-odp mailing list > [email protected] > https://lists.linaro.org/mailman/listinfo/lng-odp >
_______________________________________________ lng-odp mailing list [email protected] https://lists.linaro.org/mailman/listinfo/lng-odp
