lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] lwIP Checksum routine


From: Sathya Thammanur
Subject: [lwip-users] lwIP Checksum routine
Date: Mon, 14 Nov 2005 15:01:31 -0800

Hi all,
The lwip_chksum() function in lwip/src/core/inet.c seems to be unoptimized. This is doing halfword reads and additions. Wouldnt it be better to do word accesses and hence additions? There would be some prologue and epilogue code to checks for bringing the buffer to halfword->word boundaries. HAs anyone tried doing the same for any of their ports? Or am I missing something out here?

Thanks,
Sathya


reply via email to

[Prev in Thread] Current Thread [Next in Thread]