Re: ipoib hw multicast addresses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/12/2018 12:06 PM, Ruhl, Michael J wrote:
> When the netdev device is registered (netdev_register) from
> ipoib_add_port(), the first (incorrect) "HW" address is added to the
> device MC list:
> 
> link  00:ff:ff:ff:ff:12:60:1b:80:00:00:00:00:00:00:00:00:00:00:01
>                                                     ^^^^  (invalid PKEY)

Per RFC 4391, format is:
   |   8    |  4 |  4 |     16 bits     | 16 bits |      80 bits      |
   +------ -+----+----+-----------------+---------+-------------------+
   |11111111|0001|scop|<IPoIB signature>|< P_Key >|      group ID     |
   +--------+----+----+-----------------+---------+-------------------+

so this is PKey 0x8000 for IPv6 (0x601b) multicast group ID 1 which is
the "all nodes address".

> The PKEY has not been set, so this address always will be wrong.

At init time, IBA requires that pkey index 0 has the full default pkey
(0x8000) so it probably comes from there.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux