[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #7060] Patch to optionally inline ip checksum
From: |
Bill Auerbach |
Subject: |
[lwip-devel] [patch #7060] Patch to optionally inline ip checksum |
Date: |
Mon, 11 Jan 2010 14:59:25 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729) |
URL:
<http://savannah.nongnu.org/patch/?7060>
Summary: Patch to optionally inline ip checksum
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: billauerbach
Submitted on: Mon 11 Jan 2010 09:59:25 AM EST
Category: None
Priority: 3 - Low
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
This patch inlines the ip header checksum. It's one of several changes I
made that had a noticeable speed increase sending packets. Since we already
touch each field in the header, adding to a sum on the fly had a minimal code
size impact. On my platform, it wasn't much more than the function call it
replaced to generate the checksum.
#define INLINE_IP_CHECKSUM 0 must be added to your opts.h file and the
override added to the lwip_opts.h file.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 11 Jan 2010 09:59:25 AM EST Name: ipinlinechecksum.diff Size: 2kB
By: billauerbach
<http://savannah.nongnu.org/patch/download.php?file_id=19459>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?7060>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [patch #7060] Patch to optionally inline ip checksum,
Bill Auerbach <=