Checksums
Ethernet frames typically have a checksum that is generated and checked by hardware. To optimise the bus model, it is expected that MAC models supports opt in control on checksum generation and checking. This applies to all checksums, including Ethernet frame CRCs and IP header, TCP, UDP checksums. Since the Ethernet link is fully virtual, data cannot normally be corrupted in transit. Thus checksum checking and generation would be a waste of cycles.
There are still several usecases where one want to enable checksums:
-
When viewing capture files with Wireshark, the tool will complain if ethernet CRCs are invalid.
-
When receiving frames in a device which do not have hardware assisted CRC checking.
Thus, normally Ethernet CRC generation and checking will be disabled, while TCP/UDP/IP checksum generation (but not hardware checking) will be enabled.