aboutsummaryrefslogtreecommitdiff
path: root/include/odp_api.h
diff options
context:
space:
mode:
authorPetri Savolainen <petri.savolainen@nokia.com>2020-02-10 15:20:33 +0200
committerPetri Savolainen <petri.savolainen@nokia.com>2020-04-07 14:14:12 +0300
commit58e145acd55fc7a8f63c506e857d3fe8b311c422 (patch)
tree83c5762c8e8863295f4a8fe4bc2f6467da21482a /include/odp_api.h
parent7b25b58be4ecf706a88893a0de9b3f7bfe4d12d5 (diff)
api: stash: add new object stash API
Application needs often store object handles for later usage. From current APIs, e.g. buffers and queues could be used to store these handles, but buffers consume more memory than is necessary and event queues are not needed for this simple use case. This new API maybe implemented e.g. as a ring of object handles in memory, or with a HW buffer manager. Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com> Reviewed-by: Stanislaw Kardach <skardach@marvell.com> Reviewed-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
Diffstat (limited to 'include/odp_api.h')
-rw-r--r--include/odp_api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/odp_api.h b/include/odp_api.h
index 66b39e31e..fe2e31a20 100644
--- a/include/odp_api.h
+++ b/include/odp_api.h
@@ -62,6 +62,7 @@ extern "C" {
#include <odp/api/std_clib.h>
#include <odp/api/support.h>
#include <odp/api/ipsec.h>
+#include <odp/api/stash.h>
#ifdef __cplusplus
}