SLUUDO2 September 2026 AM2611 , AM2612 , AM2612-Q1 , AM2631 , AM2631-Q1 , AM2632 , AM2632-Q1 , AM2634 , AM2634-Q1 , AM263P2 , AM263P2-Q1 , AM263P4 , AM263P4-Q1
Frames arriving at the CPU DMA interface from the CPSW. rxGoodFrames here are meant to match macPort.rxGoodFrames minus any ALE drops. Any discrepancy is frames lost inside the switch on the path from the ALE to DMA.
| Scenario | Nonzero Counter | Root Cause | Debug Method | Fix | Reference |
|---|---|---|---|---|
| hostPort.rxGoodFrames is much less than macPort.rxGoodFrames; no ALE drops on the MAC port | hostPort.rxBottomOfFifoDrop | The DMA RX ring had no free entries. The application is not recycling buffers fast enough. | Compare the wire RX rate versus the application packet counter. Check numRxPkts at initialization. | Increase numRxPkts in the EnetDma_openRxFlow() function. Raise the RX task priority. |
| RX loss only under a sustained high rate | hostPort.rxTopOfFifoDrop | The DMA RX FIFO filled sustained back-pressure from slow processing. | Monitor counter delta over 1s during burst. | Increase the ring depth. Move RX processing to a higher-priority task. |
| The ALE drops visible in host port statistics | hostPort.aleBlockDrop | The state of the host port (port 0) ALE is not FORWARD. | Issue CPSW_ALE_IOCTL_GET_PORT_STATE for port 0. | Set port 0 to FORWARD: CPSW_ALE_IOCTL_SET_PORT_STATE. |
| The ALE drops at the host port; tagged traffic | hostPort.aleVidIngressDrop | The VLAN on the incoming frame is not registered for the host port in the ALE. | Dump the ALE table – check the VLAN entry includes port 0. | Add or update the VLAN entry with the host port in the member list. |
| The CPU is starved by broadcast or multicast | hostPort.aleUnknownBcast or aleUnknownMcast very high | Storm traffic flooded to host port; no ALE rate limiter | Check counter delta over 1s; compare the Host Port Rx Counter with the normal traffic baseline. | Configure the rate limiter: CPSW_ALE_IOCTL_SET_PORT_BCAST_MCAST_LIMIT. |
| Policer drops are accumulating | hostPort.aleRateLimitDrop | The policer of the ALE is active – the rate limit is potentially too aggressive. | Verify the configured rate limit value. Check if the traffic is legitimate. | Increase the limit or register multicast groups explicitly with CPSW_ALE_IOCTL_ADD_MCAST. |