diff options
author | Matias Elo <matias.elo@nokia.com> | 2016-04-21 10:59:31 +0300 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2016-04-21 13:18:02 +0300 |
commit | a6f6996df59645baba8eeb45550b5a78b28fe6a0 (patch) | |
tree | 9a3e91c94ee8557019e1390412e558903437aefd /platform/linux-generic/include/odp_packet_io_internal.h | |
parent | f6226cb73a7c3eb3a2cb726fff5543ea2772ae53 (diff) |
linux-generic: pktio: add pktin timestamp argument to _odp_packet_cls_enq()
_odp_packet_cls_enq() allocates new odp packets internally.
Add new packet timestamp argument to enable adding input
timestamps to these packets.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'platform/linux-generic/include/odp_packet_io_internal.h')
-rw-r--r-- | platform/linux-generic/include/odp_packet_io_internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/linux-generic/include/odp_packet_io_internal.h b/platform/linux-generic/include/odp_packet_io_internal.h index a807d132f..9fc13a9e4 100644 --- a/platform/linux-generic/include/odp_packet_io_internal.h +++ b/platform/linux-generic/include/odp_packet_io_internal.h @@ -211,7 +211,8 @@ typedef struct pktio_if_ops { } pktio_if_ops_t; int _odp_packet_cls_enq(pktio_entry_t *pktio_entry, const uint8_t *base, - uint16_t buf_len, odp_packet_t *pkt_ret); + uint16_t buf_len, odp_time_t *ts, + odp_packet_t *pkt_ret); extern void *pktio_entry_ptr[]; |