This patch series implements the packet extend, trunc, and prefetch APIs.

This patch includes the validation tests but updated user guide documentation
will be a separate series as the new diagrams would be too distracting for this
series.

Note that part 8 has a couple of false positive checkpatch warnings. CU_ASSERT
is a macro that must be enclosed in braces in if/else clauses but checkpatch
doesn't understand this. Compilation will fail if they are removed.

Changes in v4:
- Use latest (Petri v2) API definitions for extend and truncate
- Also incorporate implemnetation and test for odp_packet_prefetch()

Bill Fischofer (6):
  linux-generic: packet: correct odp_packet_buf_len
  validation: packet: add test for correct odp_packet_buffer_len()
  linux-generic: packet: implement packet extend/trunc apis
  validation: packet: add tests for extend/trunc packet head/tail
  linux-generic: packet: implement odp_packet_prefetch()
  validation: packet: add validation test for odp_packet_prefetch()

Petri Savolainen (4):
  api: packet: add extend and trunc
  api: packet: re-organize file content
  api: packet: remove seg_buf_addr and seg_buf_len
  api: packet: add packet data prefetch

 include/odp/api/spec/packet.h                      | 601 ++++++++++++---------
 .../linux-generic/include/odp_buffer_internal.h    |   4 +
 .../linux-generic/include/odp_packet_internal.h    |  48 ++
 platform/linux-generic/odp_packet.c                |  92 +++-
 platform/linux-generic/odp_pool.c                  |  75 +++
 test/validation/packet/packet.c                    | 164 ++++--
 test/validation/packet/packet.h                    |   1 +
 7 files changed, 687 insertions(+), 298 deletions(-)

-- 
2.5.0

_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to