]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit013cac6d1395fa67026975e832da119433b3cf6b
tree538932f48b22f09c157df97972c182d585088813
parent7f405f4227a017980b54184ed45b884cea17d8ac
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