Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: 5b97541db91dbb5beffdfe0d64272206a1507e0b https://github.com/Linaro/odp/commit/5b97541db91dbb5beffdfe0d64272206a1507e0b Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-08-20 (Mon, 20 Aug 2018)
Changed paths: M include/odp/api/abi-default/packet.h M include/odp/api/spec/packet.h M platform/linux-generic/include-abi/odp/api/abi/packet.h Log Message: ----------- api: packet: add parse result call This enables application to read all commonly used packet parser results with a single function call. This may improve performance when multiple results are needed, especially in ABI compatible builds where function inlining is likely disabled. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: d13f253075bbc08ad5402f61ad0dcecec28f3614 https://github.com/Linaro/odp/commit/d13f253075bbc08ad5402f61ad0dcecec28f3614 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-08-20 (Mon, 20 Aug 2018) Changed paths: M platform/linux-generic/odp_packet.c Log Message: ----------- linux-gen: packet: implement packet result calls Simple implementation of the new packet result calls. Especially, flag copy needs to be optimized by storing flag bits directly into API defined format (packet_parse_result_flag_t) in the packet header. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 5d779635ac4cf2c2d3128809cef3409a56716a0e https://github.com/Linaro/odp/commit/5d779635ac4cf2c2d3128809cef3409a56716a0e Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-08-20 (Mon, 20 Aug 2018) Changed paths: M test/validation/api/packet/packet.c Log Message: ----------- validation: packet: add num_pkt parameter to parse_test_alloc It's more robust to use a parameter instead of assuming that a fixed number of packets are allocated. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: ad59776ed683d4c019aa0db34b901fcb74a8eaa8 https://github.com/Linaro/odp/commit/ad59776ed683d4c019aa0db34b901fcb74a8eaa8 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-08-20 (Mon, 20 Aug 2018) Changed paths: M test/validation/api/packet/packet.c Log Message: ----------- validation: packet: add parse result test Test new parse result functions. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Compare: https://github.com/Linaro/odp/compare/2722279b31b0...ad59776ed683 **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.