Re: Question on IPv6 over IB

Roland Dreier <[email protected]> Thu, 13 Jan 2005 17:02:51 -0800
Newsgroups gmane.ietf.ipoib
Message-ID <[email protected]>
    Anand> It will be much easier to integrate into the Linux
    Anand> implementation if the pad is after the MAC address of the
    Anand> net-device in the Source/Target Link-layer address option
    Anand> as the net-device's mac address is directly used in
    Anand> generating the IPv4 ARP packets and the Source Link-layer
    Anand> address option.

We're only talking about IPv6, right?  IPv4 ARP packets have no
alignment requirements and thus no need for padding as far as I know.

For IPv6, I have already written a patch for net/ipv6/ndisc.c that
adds the padding before the link address.  It makes sense to make this
more generic because RFC 3381 already requires padding before the
address.  Unless we decide to modify the IPoIB draft it's no problem
to send this patch upstream.

 - Roland