aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-dpdk/include
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2020-12-22 12:28:52 +0200
committerMatias Elo <matias.elo@nokia.com>2021-01-15 08:18:37 +0200
commit7a42c87ad0902eeba275280c1d4904d607406bdf (patch)
treecfa47c7ab9dba2ee4d6ac7d330dbc18f57f5e1f8 /platform/linux-dpdk/include
parente12448b636378b0a517aa73e2c04c3c5ec0f6901 (diff)
Port bf75bd82a "linux-gen: pool: update odp_buffer_is_valid() implementation"
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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/linux-dpdk/include/odp_pool_internal.h b/platform/linux-dpdk/include/odp_pool_internal.h
index 6e124fd27..3450a3ffd 100644
--- a/platform/linux-dpdk/include/odp_pool_internal.h
+++ b/platform/linux-dpdk/include/odp_pool_internal.h
@@ -95,6 +95,8 @@ static inline void buffer_free_multi(odp_buffer_hdr_t *buf_hdr[], int num)
rte_mbuf_raw_free((struct rte_mbuf *)(uintptr_t)buf_hdr[i]);
}
+int _odp_buffer_is_valid(odp_buffer_t buf);
+
#ifdef __cplusplus
}
#endif