This patch set adds initial support for packet input timestamping using odp global time. Set adds also related validation tests.
Implemented functions: - odp_packet_ts() - odp_packet_ts_set() - odp_packet_has_ts() - odp_packet_has_ts_clr() - odp_pktin_ts_res() - odp_pktin_ts_from_ns() - odp_pktio_config() V2: + Check magic number in pktio_test_pktin_ts() validation test Matias Elo (11): linux-generic: packet: move flow_hash present flag to correct location linux-generic: packet: implement timestamp support linux-generic: pktio: implement odp_pktin_ts_res() linux-generic: pktio: implement odp_pktin_ts_from_ns() linux-generic: pktio: implement odp_pktio_config() validation: pktio: add helper function for creating test packets validation: pktio: add pktio config test validation: pktio: add pktin timestamping test linux-generic: packet: add inline helper function for setting packet timestamp linux-generic: pktio: add pktin timestamp argument to _odp_packet_cls_enq() linux-generic: pktio: add pktin timestamping support .../linux-generic/include/odp_packet_internal.h | 13 +- .../linux-generic/include/odp_packet_io_internal.h | 8 +- platform/linux-generic/odp_packet.c | 17 +- platform/linux-generic/odp_packet_flags.c | 18 +- platform/linux-generic/odp_packet_io.c | 61 ++++- platform/linux-generic/pktio/dpdk.c | 58 +++-- platform/linux-generic/pktio/ipc.c | 5 +- platform/linux-generic/pktio/loop.c | 30 ++- platform/linux-generic/pktio/netmap.c | 86 +++++-- platform/linux-generic/pktio/pcap.c | 31 ++- platform/linux-generic/pktio/pktio_common.c | 18 +- platform/linux-generic/pktio/socket.c | 39 ++- platform/linux-generic/pktio/socket_mmap.c | 34 ++- platform/linux-generic/pktio/tap.c | 42 ++- test/validation/packet/packet.c | 8 + test/validation/pktio/pktio.c | 281 ++++++++++++++------- test/validation/pktio/pktio.h | 3 + 17 files changed, 592 insertions(+), 160 deletions(-) -- 1.9.1 _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp