aboutsummaryrefslogtreecommitdiff
path: root/include/odp/api/spec/dma_types.h
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2023-03-09 17:04:43 +0200
committerMatias Elo <matias.elo@nokia.com>2023-04-13 08:18:06 +0300
commitc7ba353bc6300fce51bbe568837a165b927ae7cb (patch)
tree8e17982684e47cb88907bd7be46b70c608e1bf88 /include/odp/api/spec/dma_types.h
parent06d7e9053777db219e5f322fdd12d0c01f922573 (diff)
api: pool: clarify odp_pool_capability_t.max_pools specification
Clarify that odp_pool_capability_t.max_pools is used for all pool types defined in odp_pool_type_t. Also, added reference to DMA pool capability (odp_dma_pool_capability_t.max_pools) to make this clearer. Signed-off-by: Matias Elo <matias.elo@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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/odp/api/spec/dma_types.h b/include/odp/api/spec/dma_types.h
index ae3d05287..caa51700b 100644
--- a/include/odp/api/spec/dma_types.h
+++ b/include/odp/api/spec/dma_types.h
@@ -69,7 +69,9 @@ extern "C" {
* Pool statistics are not supported with DMA completion event pools.
*/
typedef struct odp_dma_pool_capability_t {
- /** Maximum number of DMA completion event pools */
+ /** Maximum number of DMA completion event pools
+ *
+ * See odp_pool_capability_t::max_pools for total capability. */
uint32_t max_pools;
/** Maximum number of DMA completion events in a pool */