{net,IB}/{rxe,usnic}: Utilize generic mac to eui32 function
authorYuval Shaia <yuval.shaia@oracle.com>
Tue, 14 Mar 2017 14:01:57 +0000 (16:01 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 25 Apr 2017 18:21:34 +0000 (14:21 -0400)
commit4d6f28591fe415fc5233e9148c66a1b81ad17425
treecfcf61242386fa118ed79b39291d14b7eae7fbef
parenta7c81326ca3af41cdd5ab9a65d5d5880df66e84c
{net,IB}/{rxe,usnic}: Utilize generic mac to eui32 function

This logic seems to be duplicated in (at least) three separate files.
Move it to one place so code can be re-use.

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
drivers/infiniband/hw/usnic/usnic_common_util.h
drivers/infiniband/sw/rxe/rxe.c
drivers/infiniband/sw/rxe/rxe_loc.h
drivers/infiniband/sw/rxe/rxe_net.c
drivers/infiniband/sw/rxe/rxe_verbs.c
include/net/addrconf.h