Branch: refs/heads/api-next
  Home:   https://github.com/Linaro/odp
  Commit: 037e35f0f948a87e3daede33747177615aa3bab0
      
https://github.com/Linaro/odp/commit/037e35f0f948a87e3daede33747177615aa3bab0
  Author: Petri Savolainen <petri.savolai...@linaro.org>
  Date:   2017-02-28 (Tue, 28 Feb 2017)

  Changed paths:
    M include/odp/api/spec/packet_io.h

  Log Message:
  -----------
  api: pktio: add parser configuration

Packet input parsing level configuration is added. An application
may express the maximum layer it is interested about.
Implementations may optimize packet input performance as parsing
can be stopped on the application required level. Implementations
are free to parse more layers than application requests.

Lazy parsing (e.g. in current odp-linux) does not work in practice.
The implementation cannot continue parsing after the application
has got access to packet data, since application may overwrite
some packet headers. Parse results must reflect the format of the
received packet.

Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org>
Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>


  Commit: 926505016132ba543251eb109d5c9c93f8520314
      
https://github.com/Linaro/odp/commit/926505016132ba543251eb109d5c9c93f8520314
  Author: Petri Savolainen <petri.savolai...@linaro.org>
  Date:   2017-02-28 (Tue, 28 Feb 2017)

  Changed paths:
    M platform/linux-generic/odp_packet_io.c
    M test/common_plat/validation/api/pktio/pktio.c

  Log Message:
  -----------
  linux-gen: pktio: parser default config

Fill default parser configuration and capability. All pktios
use same parser code, so the capability is the same (all layers).

Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org>
Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>


Compare: https://github.com/Linaro/odp/compare/144a2cd89865...926505016132

Reply via email to