Re: [RFC] Port of DfBSDs new IP Checksum Code

From: Bruce M Simpson (bms_at_spc.org)
Date: 08/06/05

  • Next message: Gordon Bergling: "Re: [RFC] Port of DfBSDs new IP Checksum Code"
    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"


  • Next message: Gordon Bergling: "Re: [RFC] Port of DfBSDs new IP Checksum Code"

    Relevant Pages

    • Re: Take 2: new IP Checksum Code from DragonFlyBSD
      ... a few month ago I ported DragonFlyBSD's IP checksum code to FreeBSD. ... This patch modifies the i386, ... new implementation is machine indepement, ...
      (freebsd-current)
    • Re: [RFC] Port of DfBSDs new IP Checksum Code
      ... >>I have ported the new IP Checksum Code from DragonflyBSD to FreeBSD. ... >the patch can be committed as is, ... As far as I understand the commit messages correctly the new ...
      (freebsd-net)
    • Take 2: new IP Checksum Code from DragonFlyBSD
      ... a few month ago I ported DragonFlyBSD's IP checksum code to FreeBSD. ... This patch modifies the i386, ... new implementation is machine indepement, ...
      (freebsd-current)
    • IP Checksum code from DragonFly BSD
      ... Almost a year ago a port of DragonFly's BSD IP checksum code was made: ... kernel with Intel's C was interesting: ... working patches get lost in the mail archives! ... Perhaps someone with good net-fu would consider studying the patch and commit ...
      (freebsd-net)
    • Re: [PATCH]: Atmel Serial Console interrupt handler splitup
      ... So, to come to a conclusion about this complex patch series, I ... yesterday including inline are also included to make the set complete. ... this is the order in which the patches should be installed: ... + * receive interrupt handler. ...
      (Linux-Kernel)