This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

NDK Broadcast and Multicast rate limits port0 (host port)

I'm trying to enable rate limiting for broadcast and multicast packets. I would like broadcast/multicast packets to be freely forwarded between port1 and port2. However, I want to limit the number of broadcasts/multicast packets received on port0 (host port). I have tried the following code with no success:

// Prescaler set to occur every 1ms

CPSWALEPrescaleSet(SOC_CPSW_ALE_REGS, 125000000 / 1000);

CPSWALEBroadcastRateLimitSet(SOC_CPSW_ALE_REGS, 0, 1); // 1 broadcasts per millisecond
CPSWALEMulticastRateLimitSet(SOC_CPSW_ALE_REGS, 0, 1); // 1 multicasts per millisecond
CPSWALERateLimitRXMode(SOC_CPSW_ALE_REGS);
CPSWALERateLimitEnable(SOC_CPSW_ALE_REGS);

I would appreciate any help. I'm developing with an AM335x and am using industrial sdk V1.1.0.3.