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)
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

Simple merge
Simple merge