[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: |
Sun, 14 Mar 2010 12:09:00 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2) Gecko/20100115 Firefox/3.6 |
Update of task #6849 (project lwip):
Status: None => In Progress
Percent Complete: 0% => 40%
_______________________________________________________
Follow-up Comment #14:
I finally found the time to work on this. For now, I've added the code as an
option (LWIP_CHECKSUM_ON_COPY):
- tcp_seg has 2 more members (u16_t chksum and u8_t chksum_swapped),
- checksum is calculated when creating segments in tcp_write
(checksum-on-copy when copying data, checksum only for nocopy),
- for nocopy, this still has the advantage that the data might still be in
caches
This only covers the TX side and cannot take checksums from the application,
yet. I plan to add 2 more funcitons:
- tcp_write_chksum that takes mss-sized data with precalculated checksum
- udp_send_chksum that takes the data checksum (over all pbufs in the chain)
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?6849>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
- [lwip-devel] [task #6849] Test how checksum on copy could be integrated into the stack,
Simon Goldschmidt <=
- [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, 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/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