v3:
In linux-generic implementation:
- ref counters bit uses to create reference packet handle;
- atomic ref counter used to keep owner of packet segments;
Maxim Uvarov (4):
api: packet reference count support
linux-generic: packet reference count support
linix-generic: _odp_pri account 64 bits
validation: packet: test packet reference count
include/odp/api/config.h | 5 ++
include/odp/api/packet.h | 9 +++
.../linux-generic/include/odp/plat/strong_types.h | 2 +-
.../linux-generic/include/odp_buffer_internal.h | 8 ++-
.../linux-generic/include/odp_packet_internal.h | 18 ++++++
platform/linux-generic/odp_packet.c | 65 ++++++++++++++++++++--
test/validation/packet/packet.c | 36 ++++++++++++
test/validation/packet/packet.h | 1 +
8 files changed, 137 insertions(+), 7 deletions(-)
--
1.9.1
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp