AM64x MCU+ SDK  08.03.00
enet_cfg.h File Reference

Introduction

This file contains the Enet configuration parameters.

Go to the source code of this file.

Macros

#define ENET_ON   (1U)
 Build-time config option is enabled. More...
 
#define ENET_OFF   (0U)
 Build-time config option is disabled. More...
 
#define ENET_CFG_IS_ON(name)   ((ENET_CFG_ ## name) == ENET_ON)
 Preprocessor check if config option is enabled. More...
 
#define ENET_CFG_IS_OFF(name)   ((ENET_CFG_ ## name) == ENET_OFF)
 Preprocessor check if config option is disabled. More...
 
#define ENET_CFG_PRINT_BUF_LEN   (200U)
 EnetUtils print buffer length. More...
 
#define ENET_CFG_HAS_DEFAULT_OSAL   (ENET_ON)
 Whether Enet driver has a default OSAL implementation. More...
 
#define ENET_CFG_HAS_DEFAULT_UTILS   (ENET_ON)
 Whether Enet driver has a default utils implementation. More...
 
#define ENET_CFG_SANITY_CHECKS   (ENET_ON)
 Enable top-layer sanity checks and misc debug info. More...
 
#define ENET_CFG_ENETPHY_PHY_MAX   (13U)
 Maximum number of supported PHYs (allocated PHY objects). More...
 
#define ENET_CFG_CPSW_SGMII   (ENET_ON)
 CPSW Q/SGMII support (requires ENET_CFG_CPSW_MACPORT_SGMII). More...
 
#define ENET_CFG_CPSW_INTERVLAN   (ENET_ON)
 CPSW interVLAN support support (requires ENET_CFG_CPSW_MACPORT_INTERVLAN). More...
 
#define ENET_CFG_MDIO_CLAUSE45   (ENET_ON)
 MDIO Clause-45 frame support. More...
 
#define ENET_CFG_CPSW_HOSTPORT_TRAFFIC_SHAPING   (ENET_ON)
 
#define ENET_CFG_CPSW_MACPORT_SGMII   (ENET_ON)
 
#define ENET_CFG_CPSW_MACPORT_INTERVLAN   (ENET_ON)
 
#define ENET_CFG_CPSW_CPTS_STATS   (ENET_ON)
 
#define ENET_CFG_CPSW_CPTS_EVENTS_POOL_SIZE   (128U)
 
#define ENET_CFG_REMOTE_CLIENT_CORES_MAX   (6U)
 Maximum number of client core that the Enet driver can serve. More...
 
#define ENET_CFG_RM_MAC_ADDR_MAX   (10U)
 Maximum number of MAC addresses that Enet RM can manage. More...
 
#define ENET_CFG_RM_TX_CH_MAX   (8U)
 Maximum number of TX channels that Enet RM can manage. More...
 
#define ENET_CFG_RM_RX_CH_MAX   (64U)
 Maximum number of RX channels that Enet RM can manage. More...
 
#define ENET_CFG_TX_CHANNELS_NUM   (8U)
 SOC specific configuration defines. More...
 
#define ENET_CFG_RX_FLOWS_NUM   (8U)
 
#define ENET_CFG_RING_MON_NUM   (4U)
 
#define ENET_CFG_USE_OPTIMIZED_IRQ_CRITICAL_SECTION   (0U)
 
#define ENET_CFG_TRACE_DISABLE_INFOSTRING   (ENET_ON)
 Maximum number of CPDMA channels allocated by application. More...
 

Macro Definition Documentation

◆ ENET_ON

#define ENET_ON   (1U)

Build-time config option is enabled.

◆ ENET_OFF

#define ENET_OFF   (0U)

Build-time config option is disabled.

◆ ENET_CFG_IS_ON

#define ENET_CFG_IS_ON (   name)    ((ENET_CFG_ ## name) == ENET_ON)

Preprocessor check if config option is enabled.

◆ ENET_CFG_IS_OFF

#define ENET_CFG_IS_OFF (   name)    ((ENET_CFG_ ## name) == ENET_OFF)

Preprocessor check if config option is disabled.

◆ ENET_CFG_PRINT_BUF_LEN

#define ENET_CFG_PRINT_BUF_LEN   (200U)

EnetUtils print buffer length.

◆ ENET_CFG_HAS_DEFAULT_OSAL

#define ENET_CFG_HAS_DEFAULT_OSAL   (ENET_ON)

Whether Enet driver has a default OSAL implementation.

◆ ENET_CFG_HAS_DEFAULT_UTILS

#define ENET_CFG_HAS_DEFAULT_UTILS   (ENET_ON)

Whether Enet driver has a default utils implementation.

◆ ENET_CFG_SANITY_CHECKS

#define ENET_CFG_SANITY_CHECKS   (ENET_ON)

Enable top-layer sanity checks and misc debug info.

◆ ENET_CFG_ENETPHY_PHY_MAX

#define ENET_CFG_ENETPHY_PHY_MAX   (13U)

Maximum number of supported PHYs (allocated PHY objects).

◆ ENET_CFG_CPSW_SGMII

#define ENET_CFG_CPSW_SGMII   (ENET_ON)

CPSW Q/SGMII support (requires ENET_CFG_CPSW_MACPORT_SGMII).

◆ ENET_CFG_CPSW_INTERVLAN

#define ENET_CFG_CPSW_INTERVLAN   (ENET_ON)

CPSW interVLAN support support (requires ENET_CFG_CPSW_MACPORT_INTERVLAN).

◆ ENET_CFG_MDIO_CLAUSE45

#define ENET_CFG_MDIO_CLAUSE45   (ENET_ON)

MDIO Clause-45 frame support.

◆ ENET_CFG_CPSW_HOSTPORT_TRAFFIC_SHAPING

#define ENET_CFG_CPSW_HOSTPORT_TRAFFIC_SHAPING   (ENET_ON)

◆ ENET_CFG_CPSW_MACPORT_SGMII

#define ENET_CFG_CPSW_MACPORT_SGMII   (ENET_ON)

◆ ENET_CFG_CPSW_MACPORT_INTERVLAN

#define ENET_CFG_CPSW_MACPORT_INTERVLAN   (ENET_ON)

◆ ENET_CFG_CPSW_CPTS_STATS

#define ENET_CFG_CPSW_CPTS_STATS   (ENET_ON)

◆ ENET_CFG_CPSW_CPTS_EVENTS_POOL_SIZE

#define ENET_CFG_CPSW_CPTS_EVENTS_POOL_SIZE   (128U)

◆ ENET_CFG_REMOTE_CLIENT_CORES_MAX

#define ENET_CFG_REMOTE_CLIENT_CORES_MAX   (6U)

Maximum number of client core that the Enet driver can serve.

◆ ENET_CFG_RM_MAC_ADDR_MAX

#define ENET_CFG_RM_MAC_ADDR_MAX   (10U)

Maximum number of MAC addresses that Enet RM can manage.

◆ ENET_CFG_RM_TX_CH_MAX

#define ENET_CFG_RM_TX_CH_MAX   (8U)

Maximum number of TX channels that Enet RM can manage.

◆ ENET_CFG_RM_RX_CH_MAX

#define ENET_CFG_RM_RX_CH_MAX   (64U)

Maximum number of RX channels that Enet RM can manage.

◆ ENET_CFG_TX_CHANNELS_NUM

#define ENET_CFG_TX_CHANNELS_NUM   (8U)

SOC specific configuration defines.

◆ ENET_CFG_RX_FLOWS_NUM

#define ENET_CFG_RX_FLOWS_NUM   (8U)

◆ ENET_CFG_RING_MON_NUM

#define ENET_CFG_RING_MON_NUM   (4U)

◆ ENET_CFG_USE_OPTIMIZED_IRQ_CRITICAL_SECTION

#define ENET_CFG_USE_OPTIMIZED_IRQ_CRITICAL_SECTION   (0U)

◆ ENET_CFG_TRACE_DISABLE_INFOSTRING

#define ENET_CFG_TRACE_DISABLE_INFOSTRING   (ENET_ON)

Maximum number of CPDMA channels allocated by application.

Eliminate embedded strings from all ASSERT/TRACE invocation.

Enabling this option reduces rodata footprint of enet library by removing strings in trace. Removal of strings will result in cryptic trace msgs because informative strings are removed and only function name, file,line num info will be printed based on ENET_CFG_TRACE_TRACE_FORMAT define.