Re: [RFC] Port of DfBSDs new IP Checksum Code
From: Bruce M Simpson (bms_at_spc.org)
Date: 08/06/05
- Previous message: Gordon Bergling: "[RFC] Port of DfBSDs new IP Checksum Code"
- In reply to: Gordon Bergling: "[RFC] Port of DfBSDs new IP Checksum Code"
- Next in thread: Gordon Bergling: "Re: [RFC] Port of DfBSDs new IP Checksum Code"
- Reply: Gordon Bergling: "Re: [RFC] Port of DfBSDs new IP Checksum Code"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 6 Aug 2005 13:15:04 +0100 To: Gordon Bergling <gbergling@0xfce3.net>
Hi,
On Sat, Aug 06, 2005 at 01:43:29PM +0200, Gordon Bergling wrote:
> I have ported the new IP Checksum Code from DragonflyBSD to FreeBSD.
> I have a patch available at
> http://generic.0xfce3.net/freebsd/ipchecksum/20050805-ipchecksum.patch
There are inline i386 instructions in a machine-independent header; is this
intentional? Also the asm_ones32() code seems to exist only for i386.
Without support for other platforms, and some cleanup, I don't think that
the patch can be committed as is, sadly.
I do like the general idea of rewriting in_cksum() to take advantage of
branch prediction logic in modern microprocessors, however.
Regards,
BMS
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
- Previous message: Gordon Bergling: "[RFC] Port of DfBSDs new IP Checksum Code"
- In reply to: Gordon Bergling: "[RFC] Port of DfBSDs new IP Checksum Code"
- Next in thread: Gordon Bergling: "Re: [RFC] Port of DfBSDs new IP Checksum Code"
- Reply: Gordon Bergling: "Re: [RFC] Port of DfBSDs new IP Checksum Code"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|