[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: |
Bill Auerbach |
Subject: |
[lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack |
Date: |
Mon, 15 Mar 2010 12:45:31 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729) |
Follow-up Comment #16, task #6849 (project lwip):
>- tcp_seg has 2 more members (u16_t chksum and u8_t chksum_swapped),
IMO this belongs in the pbuf. A tcp_seg has a pbuf, and it *must* be in the
pbuf to do checksum on rx.
If you ensure that one segment has one pbuf, you don't need the swapped
field. This is not a bad compromise because the gain with hw checksumming is
in not touching the data, not in the combining of segments. If the app is
sending a lot of small pieces of data, I suspect transmit performance is not a
big consideration.
For UDP it also works when defined in the pbuf. I've already implemented it
and am using it this way for transmit.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?6849>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Simon Goldschmidt, 2010/03/14
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Simon Goldschmidt, 2010/03/14
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack,
Bill Auerbach <=
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Kieran Mansley, 2010/03/15
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Simon Goldschmidt, 2010/03/15
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Simon Goldschmidt, 2010/03/15
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Bill Auerbach, 2010/03/15
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Simon Goldschmidt, 2010/03/15
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Bill Auerbach, 2010/03/15
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Bill Auerbach, 2010/03/15
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Kieran Mansley, 2010/03/15
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Simon Goldschmidt, 2010/03/16
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack, Bill Auerbach, 2010/03/16