aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-dpdk/include/odp_pool_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/linux-dpdk/include/odp_pool_internal.h')
-rw-r--r--platform/linux-dpdk/include/odp_pool_internal.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/platform/linux-dpdk/include/odp_pool_internal.h b/platform/linux-dpdk/include/odp_pool_internal.h
index a5ffcf517..b82324a77 100644
--- a/platform/linux-dpdk/include/odp_pool_internal.h
+++ b/platform/linux-dpdk/include/odp_pool_internal.h
@@ -1,5 +1,5 @@
/* Copyright (c) 2013-2018, Linaro Limited
- * Copyright (c) 2021-2022, Nokia
+ * Copyright (c) 2021-2023, Nokia
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
@@ -72,7 +72,7 @@ typedef struct ODP_ALIGNED_CACHE {
/* Everything under this mark is memset() to zero on pool create */
uint8_t memset_mark;
struct rte_mempool *rte_mempool;
- uint32_t seg_len;
+ uint32_t seg_len; /* Initial packet segment length (excludes endmark) */
uint32_t ext_head_offset;
uint32_t num;
uint32_t num_populated;
@@ -84,6 +84,7 @@ typedef struct ODP_ALIGNED_CACHE {
odp_shm_t uarea_shm;
uint64_t uarea_shm_size;
uint32_t uarea_size;
+ uint32_t trailer_size; /* Endmark size */
uint8_t *uarea_base_addr;
char name[ODP_POOL_NAME_LEN];