API Reference Manual  1.45.0
odp_pool_info_t Struct Reference

Pool information struct Used to get information about a pool. More...

#include <pool_types.h>

Collaboration diagram for odp_pool_info_t:
[legend]

Data Fields

odp_pool_type_t type
 Pool type.
 
const char * name
 Pool name.
 
odp_bool_t pool_ext
 External memory pool. More...
 
union {
   odp_pool_param_t   params
 Copy of pool parameters. More...
 
   odp_pool_ext_param_t   pool_ext_param
 Copy of external memory pool parameters. More...
 
   odp_dma_pool_param_t   dma_pool_param
 Copy of pool parameters when pool type is ODP_POOL_DMA_COMPL.
 
   odp_ml_compl_pool_param_t   ml_pool_param
 Copy of pool parameters when pool type is ODP_POOL_ML_COMPL.
 
}; 
 Pool parameters union.
 
struct {
   uint32_t   max_num
 Maximum number of packets of any length. More...
 
pkt
 Additional info for packet pools.
 
uintptr_t min_data_addr
 Minimum data address. More...
 
uintptr_t max_data_addr
 Maximum data address. More...
 

Detailed Description

Pool information struct Used to get information about a pool.

Definition at line 876 of file api/spec/pool_types.h.

Field Documentation

◆ pool_ext

odp_bool_t odp_pool_info_t::pool_ext

External memory pool.

0: Pool is a normal pool 1: Pool is an external memory pool

Definition at line 888 of file api/spec/pool_types.h.

◆ params

odp_pool_param_t odp_pool_info_t::params

Copy of pool parameters.

This is set when pool_ext is 0.

Definition at line 893 of file api/spec/pool_types.h.

◆ pool_ext_param

odp_pool_ext_param_t odp_pool_info_t::pool_ext_param

Copy of external memory pool parameters.

This is set when pool_ext is 1.

Definition at line 896 of file api/spec/pool_types.h.

◆ max_num

uint32_t odp_pool_info_t::max_num

Maximum number of packets of any length.

This is the maximum number of packets that can be allocated from the pool at anytime. Application can use this e.g. to prepare enough per packet contexts.

Definition at line 913 of file api/spec/pool_types.h.

◆ min_data_addr

uintptr_t odp_pool_info_t::min_data_addr

Minimum data address.

This is the minimum address that application accessible data of any object (event) allocated from the pool may locate. When there's no application accessible data (e.g. ODP_POOL_TIMEOUT pools), the value may be zero.

Definition at line 924 of file api/spec/pool_types.h.

◆ max_data_addr

uintptr_t odp_pool_info_t::max_data_addr

Maximum data address.

This is the maximum address that application accessible data of any object (event) allocated from the pool may locate. When there's no application accessible data (e.g. ODP_POOL_TIMEOUT pools), the value may be zero.

Definition at line 933 of file api/spec/pool_types.h.


The documentation for this struct was generated from the following file: