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