Optimized concat operation to avoid packet copy when destination packet has room to link source packet segments. Extend tail/head was also modified to handle variable sized segments. New validation tests were added to improve test coverage of various segmentation scenarios. Also couple of bugs were corrected.
Petri Savolainen (7): api: packet: src and dst packet must not be the same linux-gen: packet: fix bug in tailroom calculation linux-gen: packet: improve packet print validation: packet: concat-split test bug fix linux-gen: packet: optimize concat validation: packet: add new concat and extend tests linux-gen: config: increase max num of segments include/odp/api/spec/packet.h | 6 +- .../linux-generic/include/odp_buffer_internal.h | 2 +- .../linux-generic/include/odp_config_internal.h | 2 +- platform/linux-generic/odp_packet.c | 542 +++++++++++++++++---- test/common_plat/validation/api/packet/packet.c | 500 ++++++++++++++++++- test/common_plat/validation/api/packet/packet.h | 5 + 6 files changed, 967 insertions(+), 90 deletions(-) -- 2.8.1