diff options
author | Matias Elo <matias.elo@nokia.com> | 2022-04-29 15:04:22 +0300 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2022-05-25 10:57:59 +0300 |
commit | 8defbf0b033a27af901ed749a321528d9855db07 (patch) | |
tree | 1d34c585a7dd068505da87e586d31e90598a3029 /platform/linux-dpdk/include/odp_packet_internal.h | |
parent | 2fadc2d629abc51c81b2beaa52905e33842f1cb3 (diff) |
Port 9c4f7863c "linux-gen: packet: implement packet aging API"
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Diffstat (limited to 'platform/linux-dpdk/include/odp_packet_internal.h')
-rw-r--r-- | platform/linux-dpdk/include/odp_packet_internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/linux-dpdk/include/odp_packet_internal.h b/platform/linux-dpdk/include/odp_packet_internal.h index 3c1735367..f50250202 100644 --- a/platform/linux-dpdk/include/odp_packet_internal.h +++ b/platform/linux-dpdk/include/odp_packet_internal.h @@ -147,6 +147,10 @@ typedef struct odp_packet_hdr_t { /* Max payload size in a LSO segment */ uint16_t lso_max_payload; + /* Packet aging drop timeout before enqueue. Once enqueued holds the maximum age (time of + * request + requested drop timeout). */ + uint64_t tx_aging_ns; + /* LSO profile index */ uint8_t lso_profile_idx; |