aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-dpdk/include
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2021-01-13 09:02:56 +0200
committerMatias Elo <matias.elo@nokia.com>2021-01-15 08:18:37 +0200
commitb3bf199401d31571fb70a25379f053dfb6c310a8 (patch)
tree31a87ce59b5a00d7b6de66f850e2f61e30fb9aff /platform/linux-dpdk/include
parent429ebdaff3c558752eb446f12c90fa3ec414bb89 (diff)
Port 4b09b5c8f "linux-gen: pool: implement new pool index functions"
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_pool_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/linux-dpdk/include/odp_pool_internal.h b/platform/linux-dpdk/include/odp_pool_internal.h
index 5cd3ed713..d0682ec43 100644
--- a/platform/linux-dpdk/include/odp_pool_internal.h
+++ b/platform/linux-dpdk/include/odp_pool_internal.h
@@ -65,6 +65,7 @@ typedef struct ODP_ALIGNED_CACHE {
odp_pool_param_t params;
odp_pool_t pool_hdl;
struct rte_mempool *rte_mempool;
+ uint32_t pool_idx;
uint32_t seg_len;
} pool_t;