aboutsummaryrefslogtreecommitdiff
path: root/include/odp/api/spec/dma_types.h
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2022-01-18 16:43:52 +0200
committerMatias Elo <matias.elo@nokia.com>2022-03-03 16:38:30 +0200
commit6acdad54c42d63f30a2294450bee8783ee01662b (patch)
tree78b16eff808e369c1d234efa94a80e4352942072 /include/odp/api/spec/dma_types.h
parent83e637a95eeab20f1b792d0255afd7046aba50fe (diff)
api: pool: split pool types into a separate header
Split pool types into a separate header file to enable easier function inlining. No API changes. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'include/odp/api/spec/dma_types.h')
-rw-r--r--include/odp/api/spec/dma_types.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/odp/api/spec/dma_types.h b/include/odp/api/spec/dma_types.h
index 563955395..d7ccc6d56 100644
--- a/include/odp/api/spec/dma_types.h
+++ b/include/odp/api/spec/dma_types.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2021, Nokia
+/* Copyright (c) 2021-2022, Nokia
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
@@ -18,6 +18,7 @@
extern "C" {
#endif
+#include <odp/api/packet_types.h>
#include <odp/api/std_types.h>
/** @defgroup odp_dma ODP DMA
@@ -100,7 +101,7 @@ typedef struct odp_dma_pool_param_t {
} odp_dma_pool_param_t;
/* Includes pool_types.h, which depends on odp_dma_pool_param_t. */
-#include <odp/api/queue.h>
+#include <odp/api/queue_types.h>
/**
* DMA transfer direction