diff options
author | Matias Elo <matias.elo@nokia.com> | 2021-05-24 11:37:51 +0300 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2021-05-26 15:56:31 +0300 |
commit | 2ba1720ff7c7c3f0cedf71be5e35904f182fa7d4 (patch) | |
tree | d6d4f0f32c05d415c163cdffeca704bda2e5da12 | |
parent | 836be03e373cc19cc6480b1e25b4ec89879fe4a8 (diff) |
Port 5488df661 "linux-gen: add stub implementation for packet aging API"
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
-rw-r--r-- | platform/linux-dpdk/odp_packet.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/platform/linux-dpdk/odp_packet.c b/platform/linux-dpdk/odp_packet.c index 3b770a230..8cc01abcf 100644 --- a/platform/linux-dpdk/odp_packet.c +++ b/platform/linux-dpdk/odp_packet.c @@ -2321,3 +2321,15 @@ int odp_packet_payload_offset_set(odp_packet_t pkt, uint32_t offset) return 0; } + +void odp_packet_aging_tmo_set(odp_packet_t pkt, uint64_t tmo_ns) +{ + (void)pkt; + (void)tmo_ns; +} + +uint64_t odp_packet_aging_tmo(odp_packet_t pkt) +{ + (void)pkt; + return 0; +} |