RDMA/bnxt_re: Use helper function to set GUIDs
authorKamal Heib <kamalheib1@gmail.com>
Thu, 28 Oct 2021 09:43:59 +0000 (12:43 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 29 Oct 2021 16:24:09 +0000 (13:24 -0300)
commit493620b1c9032b7149f2c345869de8539f4c80b5
tree419511ab1fec4f71377bc308e2cba4288987a1e6
parent04567caf96e5e1150ecd6a3b3301f5aafe015ec0
RDMA/bnxt_re: Use helper function to set GUIDs

Use addrconf_addr_eui48() helper function to set the GUIDs and remove the
driver specific version.

Link: https://lore.kernel.org/r/20211028094359.160407-1-kamalheib1@gmail.com
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/bnxt_re/ib_verbs.c
drivers/infiniband/hw/bnxt_re/main.c
drivers/infiniband/hw/bnxt_re/qplib_res.c
drivers/infiniband/hw/bnxt_re/qplib_res.h