mimxrt: Re-Enable eth checksum creation by HW.
The initial problem with a wrong ICMP checksum was caused by the test code setting a checksum and the HW taking that probably as the start value and ending up with 0xffff. With a checksum field of 0 set by the test code the HW creates the proper checksum.
This commit is contained in:
@@ -13,11 +13,8 @@
|
||||
#define MEM_ALIGNMENT 4
|
||||
|
||||
#define LWIP_CHKSUM_ALGORITHM 3
|
||||
// Chksum generaration by HW fails for ICMP
|
||||
// Maybe caused by LWIP inserting ffff instead of 0000
|
||||
// The checksum flags are set in eth.c
|
||||
#define LWIP_CHECKSUM_CTRL_PER_NETIF 0
|
||||
#define LWIP_CHECKSUM_ON_COPY 0
|
||||
#define LWIP_CHECKSUM_CTRL_PER_NETIF 1
|
||||
|
||||
#define LWIP_ARP 1
|
||||
#define LWIP_ETHERNET 1
|
||||
|
||||
Reference in New Issue
Block a user