RHenr
New Contributor
5 years ago[Cyclone V HPS] Enable Transmit/Receive Checksum offload in Ethernet MAC
Hello,
we are trying to enable Checksum Offload Engine (COE) / IPC Full Offload in our Cyclone V HPS.
Here is what we have done so far:
- Use 32 bytes transmit/receive descriptors and set the ATDS bit of the BUS_MODE register
- Set the IPC bit of the MAC_CONFIG register
- Set the CIC bits to 0x3 in TDES0
But Checksum offload seems to remain disabled because all packets that are transmitted have their IP/TCP/UDP/ICMP checksum cleared to 0, and receive descriptors have their RDES0[0] bit cleared also.
What did we forget ?
Thanks