aboutsummaryrefslogtreecommitdiff
path: root/include/odp/api/spec/dma_types.h
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2023-08-08 11:02:27 +0300
committerGitHub <noreply@github.com>2023-08-08 11:02:27 +0300
commitde97121a2e3afa072f7c51a0570f4b3bed0236c2 (patch)
tree1f34d2767951f54d11f0b9c8d48b0db04490d2c1 /include/odp/api/spec/dma_types.h
parent2b359fc1759726826cf4e2afddbd0b7e39fab4c7 (diff)
parent1200684b94bf18ae98ba63fb49e9cda546b4832a (diff)
Merge ODP v1.41.1.0v1.41.1.0_DPDK_22.11
Merge ODP linux-generic v1.41.1.0 into linux-dpdk.
Diffstat (limited to 'include/odp/api/spec/dma_types.h')
-rw-r--r--include/odp/api/spec/dma_types.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/include/odp/api/spec/dma_types.h b/include/odp/api/spec/dma_types.h
index caa51700b..26350e998 100644
--- a/include/odp/api/spec/dma_types.h
+++ b/include/odp/api/spec/dma_types.h
@@ -77,6 +77,9 @@ typedef struct odp_dma_pool_capability_t {
/** Maximum number of DMA completion events in a pool */
uint32_t max_num;
+ /** Maximum user area size in bytes */
+ uint32_t max_uarea_size;
+
/** Minimum size of thread local cache */
uint32_t min_cache_size;
@@ -94,6 +97,13 @@ typedef struct odp_dma_pool_param_t {
* Maximum value is defined by 'max_num' pool capability */
uint32_t num;
+ /** User area size in bytes
+ *
+ * Maximum value is defined by 'max_uarea_size' pool capability. Specify as 0 if no user
+ * area is needed. The default value is 0.
+ */
+ uint32_t uarea_size;
+
/** Maximum number of events cached locally per thread
*
* See odp_pool_param_t::cache_size documentation for details. Valid values range from
@@ -511,9 +521,8 @@ typedef struct odp_dma_compl_param_t {
/** User context pointer
*
- * User defined context pointer which is copied to transfer results
- * (@see odp_dma_result_t). The value does not need to represent a valid address
- * (any intptr_t value is allowed).
+ * User defined context pointer which is copied to transfer results (odp_dma_result_t). The
+ * value does not need to represent a valid address (any intptr_t value is allowed).
*
* The default value is NULL.
*/
@@ -533,7 +542,7 @@ typedef struct odp_dma_result_t {
/** User context pointer
*
* User defined context pointer value from transfer completion parameters
- * (@see odp_dma_compl_param_t). The default value is NULL.
+ * (odp_dma_compl_param_t). The default value is NULL.
*/
void *user_ptr;