LPC546xx: checksum offloading

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC546xx: checksum offloading

1,125 次查看
giusloq
Contributor III

I noticed all SDK examples don't use checksum offloading for IP, TCP, UDP and ICMP, but the hardware is capable to do this.

There's a macro in lwipopts.h named CHECKSUM_BY_HARDWARE, but it is undefined. Anyway, defining it doesn't work, because I think the driver fsl_enet.c must be changed to activate and use checksum offloading.

Could NXP provide a full example with checksum offloading enabled?

0 项奖励
回复
2 回复数

1,108 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

I suppose that current SDK package does not support hardware checksum feature although the Ethernet module itself supports the feature for LPC546xx family. The SDK package only supports software checksum feature in other words, the software computes the checksum for IP, UDP and TCP.

Hope it can help you

BR

XiangJun Rong

 

0 项奖励
回复

1,105 次查看
giusloq
Contributor III

I suppose that current SDK package does not support hardware checksum feature although the Ethernet module itself supports the feature for LPC546xx family.

Yes, it is so.

The SDK package only supports software checksum feature in other words, the software computes the checksum for IP, UDP and TCP.

I already know this, indeed I asked to have a new full SDK example that shows how to configure Ethernet module for hardware checksum. I tried without success.

0 项奖励
回复