AM263Px MCU+ SDK: enet_soc_cfg.h File Reference

| AM263Px MCU+ SDK 26.00.00 |

Macros
enet_soc_cfg.h File Reference

## Introduction

This file contains the Enet configuration parameters.

Go to the source code of this file.

## Macros
#define | ENET_CFG_ENETPHY_PHY_MAX (2U)
| Maximum number of supported PHYs (allocated PHY objects). More...
#define | ENET_CFG_CPSW_INTERVLAN (ENET_OFF)
| CPSW interVLAN support (requires ENET_CFG_CPSW_MACPORT_INTERVLAN). More...
#define | ENET_CFG_CPSW_2PORTSWITCH (ENET_OFF)
| CPSW 2G (2 Port Switch) support. More...
#define | ENET_CFG_CPDMA_CH_OVERRIDE (ENET_ON)
| CPDMA Channel Override support. More...
#define | ENET_CFG_CPSW_IET_INCL (ENET_OFF)
| CPSW IET support. More...
#define | ENET_CFG_ALE_VLAN_MASK_MUX (ENET_OFF)
| ALE VLAN MASK MUX support. More...
#define | ENET_CFG_CPSW_MACPORT_MII (ENET_ON)
| CPSW MII support. More...
#define | ENET_CFG_CPSW_XGMII (ENET_OFF)
| CPSW XGMII support. More...
#define | ENET_CFG_CPSW_SGMII (ENET_OFF)
| CPSW Q/SGMII support (requires ENET_CFG_CPSW_MACPORT_SGMII). More...
#define | ENET_CFG_CPSW_MACPORT_SGMII (ENET_OFF)
| CPSW Q/SGMII support. More...
#define | ENET_CFG_CPSW_CPPI_CAST (ENET_OFF)
| CPSW CPPI Castagnoli CRC support. More...
#define | ENET_CFG_CPSW_HOSTPORT_TRAFFIC_SHAPING (ENET_ON)
| CPSW Host Traffic Shaping support. More...
#define | ENET_CFG_CPSW_MACPORT_TRAFFIC_SHAPING (ENET_ON)
| CPSW Mac Traffic Shaping support. More...
#define | ENET_CFG_CPSW_MACPORT_INTERVLAN (ENET_OFF)
| CPSW interVLAN support. More...
#define | ENET_CFG_REMOTE_CLIENT_CORES_MAX (1U)
| Maximum number of remote clients cores. More...
#define | ENET_CFG_RM_MAC_ADDR_MAX (4U)
| Maximum number of MAC addresses allocated for Resource Manager. More...
#define | ENET_CFG_CPDMA_MULTICORE_SUPPORT (ENET_ON)
| CPDMA MultiCore Support. More...
#define | ENET_CFG_CPSW_CSUM_OFFLOAD_SUPPORT (ENET_ON)
#define | ENET_SOC_CFG_XGE_CPSW_ID_VER_REG_MAJOR_VER (1U)
#define | ENET_SOC_CFG_XGE_CPSW_ID_VER_REG_MINOR_VER (3U)
#define | ENET_SOC_CFG_XGE_CPSW_ID_VER_REG_RTL_VER (2U)
#define | ENET_CFG_RM_TX_CH_MAX (8U)
| Maximum number of TX channels allocated for Resource Manager. More...
#define | ENET_CFG_RM_RX_CH_MAX (8U)
| Maximum number of RX channels allocated for Resource Manager. More...
#define | ENET_CFG_RM_HW_PUSH_MAX (0U)
| Maximum number of Hw Push instances that Enet RM can manage. More...
#define | CPSW_STATS_MACPORT_MAX (2U)
| Maximum number of MAC port stats blocks. More...
#define | CPSW_ALE_NUM_PORTS ((CPSW_STATS_MACPORT_MAX) + 1U)
| Number of switch ports in the subsystem. Number of Mac ports + 1 host port More...
#define | ENET_CFG_CPSW_EST (ENET_ON)
| CPSW EST support. More...
#define | ENET_CFG_CPSW_MACPORT_EST (ENET_ON)
#define | ENET_CFG_CPSW_CUTTHRU (ENET_OFF)
| Cut-thru switching support. This feature is not supported by the hardware. More...
#define | ENET_CFG_MDIO_CLAUSE45 (ENET_ON)
| MDIO Clause-45 frame support. More...
#define | ENET_CFG_CPSW_ESTF_NUM (CPSW_STATS_MACPORT_MAX)
| Number of CPSW ESTFn modules. More...
#define | ENET_CFG_CPSW_GENF_NUM (2U)
| Number of CPSW GENn modules. More...
#define | ENET_CFG_CPSW_HWPUSH_NUM (8U)
| Number of CPSW Hardware push events. More...

## Macro Definition Documentation

## ◆ ENET_CFG_ENETPHY_PHY_MAX

#define ENET_CFG_ENETPHY_PHY_MAX (2U)

Maximum number of supported PHYs (allocated PHY objects).

## ◆ ENET_CFG_CPSW_INTERVLAN

#define ENET_CFG_CPSW_INTERVLAN (ENET_OFF)

CPSW interVLAN support (requires ENET_CFG_CPSW_MACPORT_INTERVLAN).

## ◆ ENET_CFG_CPSW_2PORTSWITCH

#define ENET_CFG_CPSW_2PORTSWITCH (ENET_OFF)

CPSW 2G (2 Port Switch) support.

## ◆ ENET_CFG_CPDMA_CH_OVERRIDE

#define ENET_CFG_CPDMA_CH_OVERRIDE (ENET_ON)

CPDMA Channel Override support.

## ◆ ENET_CFG_CPSW_IET_INCL

#define ENET_CFG_CPSW_IET_INCL (ENET_OFF)

CPSW IET support.

## ◆ ENET_CFG_ALE_VLAN_MASK_MUX

#define ENET_CFG_ALE_VLAN_MASK_MUX (ENET_OFF)

ALE VLAN MASK MUX support.

## ◆ ENET_CFG_CPSW_MACPORT_MII

#define ENET_CFG_CPSW_MACPORT_MII (ENET_ON)

CPSW MII support.

## ◆ ENET_CFG_CPSW_XGMII

#define ENET_CFG_CPSW_XGMII (ENET_OFF)

CPSW XGMII support.

## ◆ ENET_CFG_CPSW_SGMII

#define ENET_CFG_CPSW_SGMII (ENET_OFF)

CPSW Q/SGMII support (requires ENET_CFG_CPSW_MACPORT_SGMII).

## ◆ ENET_CFG_CPSW_MACPORT_SGMII

#define ENET_CFG_CPSW_MACPORT_SGMII (ENET_OFF)

CPSW Q/SGMII support.

## ◆ ENET_CFG_CPSW_CPPI_CAST

#define ENET_CFG_CPSW_CPPI_CAST (ENET_OFF)

CPSW CPPI Castagnoli CRC support.

## ◆ ENET_CFG_CPSW_HOSTPORT_TRAFFIC_SHAPING

#define ENET_CFG_CPSW_HOSTPORT_TRAFFIC_SHAPING (ENET_ON)

CPSW Host Traffic Shaping support.

## ◆ ENET_CFG_CPSW_MACPORT_TRAFFIC_SHAPING

#define ENET_CFG_CPSW_MACPORT_TRAFFIC_SHAPING (ENET_ON)

CPSW Mac Traffic Shaping support.

## ◆ ENET_CFG_CPSW_MACPORT_INTERVLAN

#define ENET_CFG_CPSW_MACPORT_INTERVLAN (ENET_OFF)

CPSW interVLAN support.

## ◆ ENET_CFG_REMOTE_CLIENT_CORES_MAX

#define ENET_CFG_REMOTE_CLIENT_CORES_MAX (1U)

Maximum number of remote clients cores.

## ◆ ENET_CFG_RM_MAC_ADDR_MAX

#define ENET_CFG_RM_MAC_ADDR_MAX (4U)

Maximum number of MAC addresses allocated for Resource Manager.

## ◆ ENET_CFG_CPDMA_MULTICORE_SUPPORT

#define ENET_CFG_CPDMA_MULTICORE_SUPPORT (ENET_ON)

CPDMA MultiCore Support.

## ◆ ENET_CFG_CPSW_CSUM_OFFLOAD_SUPPORT

#define ENET_CFG_CPSW_CSUM_OFFLOAD_SUPPORT (ENET_ON)

## ◆ ENET_SOC_CFG_XGE_CPSW_ID_VER_REG_MAJOR_VER

#define ENET_SOC_CFG_XGE_CPSW_ID_VER_REG_MAJOR_VER (1U)

## ◆ ENET_SOC_CFG_XGE_CPSW_ID_VER_REG_MINOR_VER

#define ENET_SOC_CFG_XGE_CPSW_ID_VER_REG_MINOR_VER (3U)

## ◆ ENET_SOC_CFG_XGE_CPSW_ID_VER_REG_RTL_VER

#define ENET_SOC_CFG_XGE_CPSW_ID_VER_REG_RTL_VER (2U)

## ◆ ENET_CFG_RM_TX_CH_MAX

#define ENET_CFG_RM_TX_CH_MAX (8U)

Maximum number of TX channels allocated for Resource Manager.

## ◆ ENET_CFG_RM_RX_CH_MAX

#define ENET_CFG_RM_RX_CH_MAX (8U)

Maximum number of RX channels allocated for Resource Manager.

## ◆ ENET_CFG_RM_HW_PUSH_MAX

#define ENET_CFG_RM_HW_PUSH_MAX (0U)

Maximum number of Hw Push instances that Enet RM can manage.

## ◆ CPSW_STATS_MACPORT_MAX

#define CPSW_STATS_MACPORT_MAX (2U)

Maximum number of MAC port stats blocks.

## ◆ CPSW_ALE_NUM_PORTS

#define CPSW_ALE_NUM_PORTS ((CPSW_STATS_MACPORT_MAX) + 1U)

Number of switch ports in the subsystem. Number of Mac ports + 1 host port

## ◆ ENET_CFG_CPSW_EST

#define ENET_CFG_CPSW_EST (ENET_ON)

CPSW EST support.

## ◆ ENET_CFG_CPSW_MACPORT_EST

#define ENET_CFG_CPSW_MACPORT_EST (ENET_ON)

## ◆ ENET_CFG_CPSW_CUTTHRU

#define ENET_CFG_CPSW_CUTTHRU (ENET_OFF)

Cut-thru switching support. This feature is not supported by the hardware.

## ◆ ENET_CFG_MDIO_CLAUSE45

#define ENET_CFG_MDIO_CLAUSE45 (ENET_ON)

MDIO Clause-45 frame support.

## ◆ ENET_CFG_CPSW_ESTF_NUM

#define ENET_CFG_CPSW_ESTF_NUM (CPSW_STATS_MACPORT_MAX)

Number of CPSW ESTFn modules.

## ◆ ENET_CFG_CPSW_GENF_NUM

#define ENET_CFG_CPSW_GENF_NUM (2U)

Number of CPSW GENn modules.

## ◆ ENET_CFG_CPSW_HWPUSH_NUM

#define ENET_CFG_CPSW_HWPUSH_NUM (8U)

Number of CPSW Hardware push events.