[openib-general] [PATCH] Enable inet6 on ib interface

Roland Dreier roland at topspin.com
Thu Nov 11 10:11:43 PST 2004


    Nitin> I would appreciate if someone can review my patch to enable
    Nitin> inet6 address on ib interface. This is the first cut, will
    Nitin> like to hear from all. I plan to setup a bugzilla account
    Nitin> and append this patch to the bug that Tom has created for
    Nitin> inet6.

This looks right to me.  My only questions are:

+		eui[0] ^= 2;

I remember some discussion about whether IBTA GUIDs are already
modified EUI-64 or not.  Is this the correct transformation or should
we be doing something like "eui[0] |= 2;" (ie assume the universal bit
should always be set in our IPv6 address)?  What does S10 do here?

Do we need to add an ipv6_ib_mc_map() function and call it in ndisc.c?

Also, does the IPoIB driver need any modification to use IPv6
multicast groups correctly?

Obviously IPv6 is working for you -- are ND packets being sent to the
IPv4 broadcast group?

If it's OK with you, I'll check in this patch as linux-2.6.9-ipoib-ipv6.diff.

Thanks,
  Roland



More information about the general mailing list