[Top][All Lists]

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

[lwip-devel] [task #6849] Test how checksum on copy could be integrated

From: Simon Goldschmidt
Subject: [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack
Date: Fri, 04 May 2007 11:05:14 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: Gecko/20070309 Firefox/

Follow-up Comment #4, task #6849 (project lwip):

>OOI, some network hardware, nevermind network drivers, have hardware assist
for checking checksums. But in both cases that's already handled in lwIP with
e.g. disabling CHECKSUM_GEN_TCP and/or CHECKSUM_CHECK_TCP. So if someone wants
to write a driver that checks the checksum on receive, I think they have what
they need from lwIP to do that.

Currently, I have a FIFO MAC. On receiving a frame, I use a dedicated
DMA-engine to transfer it into RAM. This DMA-engine can't check/generate
checksums. But since I'm copying the data using memcpy already when
enqueueing TCP data, it would speed up sending significantly if I do the
checksum on copying instead of reading the data twice when copying and
checksummimg is separated.


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

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