net/ipv6: Export addrconf_ifid_eui48
authorMatan Barak <matanb@mellanox.com>
Thu, 30 Jul 2015 15:33:22 +0000 (18:33 +0300)
committerDoug Ledford <dledford@redhat.com>
Sun, 30 Aug 2015 22:08:49 +0000 (18:08 -0400)
commit399e6f95811bd36fb64b3d30cf8529d633884b4c
tree538932f48b22f09c157df97972c182d585088813
parentd9f272c523db47a56a64942eb6f25361c400de66
net/ipv6: Export addrconf_ifid_eui48

For loopback purposes, RoCE devices should have a default GID in the
port GID table, even when the interface is down. In order to do so,
we use the IPv6 link local address which would have been genenrated
for the related Ethernet netdevice when it goes up as a default GID.

addrconf_ifid_eui48 is used to gernerate this address, export it.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
include/net/addrconf.h
net/ipv6/addrconf.c