Re: netgraph only on i386/ia64 - why ?

From: John Polstra (jdp_at_polstra.com)
Date: 08/17/04

  • Next message: Harti Brandt: "Re: netgraph only on i386/ia64 - why ?"
    Date: Tue, 17 Aug 2004 09:48:57 -0700 (PDT)
    To: Harti Brandt <harti@freebsd.org>
    
    

    On 17-Aug-2004 Harti Brandt wrote:
    > On Mon, 16 Aug 2004, Bjoern A. Zeeb wrote:
    >
    > BAZ>Hi,
    > BAZ>
    > BAZ>It seems netgraph is only build on ia64 and i386.
    > BAZ>Can someone please explain why ?
    >
    > Until around april I used all the ATM related Ng stuff regularily (this
    > include ng_socket, all the stuff under netgraph/atm). I think this should
    > just be enabled. Unless build problems have been introduced since then,
    > it should just be enabled.

    There is one problem with netgraph on 64-bit platforms. The ng_msghdr
    struct is 52 bytes / 4-byte aligned (see ng_message.h). That means
    the message payload is not well-aligned for 64-bit platforms. It
    would be nice to fix that (and bump NG_VERSION, of course). Nobody
    ever guaranteed that the message payload would be aligned, but it
    makes things a lot more convenient.

    John
    _______________________________________________
    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: Harti Brandt: "Re: netgraph only on i386/ia64 - why ?"

    Relevant Pages

    • Re: netgraph only on i386/ia64 - why ?
      ... On Wed, 18 Aug 2004, John Polstra wrote: ... JP>>> There is one problem with netgraph on 64-bit platforms. ... JP>>> the message payload is not well-aligned for 64-bit platforms. ...
      (freebsd-net)
    • Re: Old Station at Kings Cross Thameslink
      ... >>> Sorry Baz, that picture is taken facing North! ... >>> between the Kings Cross and St Pancras lines. ... I think there was some extension of the platforms when the line ... > I believe the bridge crossing the station carries St Chad's Place ...
      (uk.railway)