aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp_packet_internal.h
diff options
context:
space:
mode:
authorTuomas Taipale <tuomas.taipale@nokia.com>2023-07-26 08:53:00 +0000
committerMatias Elo <matias.elo@nokia.com>2023-09-13 13:08:50 +0300
commit926a4cbc03562a9806607b7bb0b7b4e2d9aae7db (patch)
treeb589dba1d94b1f1b23b8da7faab59cdf6d5a7c97 /platform/linux-generic/include/odp_packet_internal.h
parent73297c10e36ce1dff747b0d617d61616e27efd5e (diff)
linux-gen: packet: add fields for TX completion poll mode
In preparation for TX completion poll mode support, add new parser and header fields. Signed-off-by: Tuomas Taipale <tuomas.taipale@nokia.com> Reviewed-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'platform/linux-generic/include/odp_packet_internal.h')
-rw-r--r--platform/linux-generic/include/odp_packet_internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/linux-generic/include/odp_packet_internal.h b/platform/linux-generic/include/odp_packet_internal.h
index a6a8c551c..eef0239f2 100644
--- a/platform/linux-generic/include/odp_packet_internal.h
+++ b/platform/linux-generic/include/odp_packet_internal.h
@@ -147,6 +147,9 @@ typedef struct ODP_ALIGNED_CACHE odp_packet_hdr_t {
* request + requested drop timeout). */
uint64_t tx_aging_ns;
+ /* Tx completion poll completion identifier */
+ uint32_t tx_compl_id;
+
/* LSO profile index */
uint8_t lso_profile_idx;