![]() |
![]() |
CPSW configuration parameters. More...
Macros | |
#define | CPSW_CFG_TX_CHANNELS_NUM (8U) |
Total number of TX channels used by application. More... | |
#define | CPSW_CFG_RX_FLOWS_NUM (8U) |
Total number of RX flows used by application. More... | |
#define | CPSW_CFG_RING_MON_NUM (4U) |
Total number of Ring monitor objects used by application. More... | |
#define | CPSW_CFG_PRINT_BUF_LEN (200U) |
CPSW print buffer length. | |
#define | CPSW_CFG_TRACE_BUF_LEN (200U) |
Maximum length of a single Trace_print string. | |
#define | CPSW_CFG_CPTS_EVENTS_POOL_SIZE (64U) |
Maximum Size of CPTS Events pool. | |
CPSW configuration parameters.
#define CPSW_CFG_RING_MON_NUM (4U) |
Total number of Ring monitor objects used by application.
The total number of ring monitor objects used by the application. This is used in the driver for memory allocation of the RX Flow objects.
Note: Make sure required ring monitor objects are allocated in UDMA RM
#define CPSW_CFG_RX_FLOWS_NUM (8U) |
Total number of RX flows used by application.
The total number of RX flows used by the application. This is used in the driver for memory allocation of the RX Flow objects.
Note: Maximum supported - 8 for CPSW2G and 64 for CPSW9G.
Important Note: To use required number of RX flows in CPSW app, you must make sure those are allocated in the UDMA RM. Basically CPSW_CFG_RX_FLOWS_NUM has to be less than or equal to UDMA RM allocated RX flows.
Important Note: Below config can change based on UDMA RM change or based on CPSW instance used.
#define CPSW_CFG_TX_CHANNELS_NUM (8U) |
Total number of TX channels used by application.
The total number of TX channels used by the application. This is used in the driver for memory allocation of the TX channel objects.
Note: Maximum supported by CPSW IP - 8.
Important Note: To use required number of TX channels in CPSW app, you must make sure those are allocated in the UDMA RM. Basically CPSW_CFG_TX_CHANNELS_NUM has to be less than or equal to UDMA RM allocated Tx channels.
Important Note: Below config can change based on UDMA RM change or based on CPSW instance used.