diff options
author | Matias Elo <matias.elo@nokia.com> | 2020-11-18 17:00:53 +0200 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2020-12-23 09:57:04 +0200 |
commit | 46d32e73ba24c3fb65a8fc1f83c27164c0b5c5c2 (patch) | |
tree | 48e1c8f9b45f8363c4dac95c0a6d7cf990c88862 /platform/linux-dpdk/include | |
parent | 3b0731149ac72e7d985dcdba0c3a36c4982db7df (diff) |
Port bc416c655 "linux-gen: packet: implement odp_packet_ts_request() function"
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
Diffstat (limited to 'platform/linux-dpdk/include')
-rw-r--r-- | platform/linux-dpdk/include/odp/api/plat/packet_inline_types.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/platform/linux-dpdk/include/odp/api/plat/packet_inline_types.h b/platform/linux-dpdk/include/odp/api/plat/packet_inline_types.h index ea1863616..891e71ff8 100644 --- a/platform/linux-dpdk/include/odp/api/plat/packet_inline_types.h +++ b/platform/linux-dpdk/include/odp/api/plat/packet_inline_types.h @@ -112,7 +112,7 @@ typedef union { uint32_t all_flags; struct { - uint32_t reserved1: 10; + uint32_t reserved1: 9; /* * Init flags @@ -125,7 +125,8 @@ typedef union { uint32_t l3_chksum_set: 1; /* L3 chksum bit is valid */ uint32_t l3_chksum: 1; /* L3 chksum override */ uint32_t l4_chksum_set: 1; /* L4 chksum bit is valid */ - uint32_t l4_chksum: 1; /* L4 chksum override */ + uint32_t l4_chksum: 1; /* L4 chksum override */ + uint32_t ts_set: 1; /* Set Tx timestamp */ uint32_t shaper_len_adj: 8; /* Adjustment for traffic mgr */ /* @@ -144,8 +145,8 @@ typedef union { /* Flag groups */ struct { - uint32_t reserved2: 10; - uint32_t other: 13; /* All other flags */ + uint32_t reserved2: 9; + uint32_t other: 14; /* All other flags */ uint32_t error: 9; /* All error flags */ } all; |