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.

AM5726: Jumbo support on AM5726 GMAC_SW (CPSW)

Part Number: AM5726

We are not expecting this processor to support full jumbo frame, just try to find out the maximum frame length it can support.

As per the TRM,  it can support up to 'Maximum frame size 2016 bytes (2020 with VLAN)'.

However in our testing, we observed that any frames longer than 1500 bytes can not be sent out of GMAC_SW.

The stats register GOOD_TX_FRAMES (0x48484934) is incrementing, but actually  nothing is received on the other end.

Where are these packets dropped? This register seems to be misleading.

In the same time, we tested the RX end of GMAC_SW as well, and after tweaking the register SL_RX_MAXLEN(0x49494d90) value to be around 2000 bytes,

the frames longer than 1500 bytes (actually we are only sending 1600 bytes) can be received by GMAC_SW and stats register GOOD_RX_FRAMES(0x48484900)

is incrementing. However, after a while, cpsw driver just crashes.

It seems to complain that skb list is corrupted while trying to deliver a packet skb.

unlikely(skb->tail > skb->end)

My questions:
Is it possible to support frame length up to 2020 bytes (with VLAN)?

If yes, any patches in kernel needs to be included and any firmware update is needed?

Thanks