RDMA/cxgb4: Use helper function to set GUIDs
authorKamal Heib <kamalheib1@gmail.com>
Thu, 18 Nov 2021 10:04:56 +0000 (12:04 +0200)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 19 Nov 2021 15:44:21 +0000 (11:44 -0400)
commit46c87b4277f58ecb4672aa7b8a1653d81b6b9379
tree2da0f41552e032a53c1f3bf6df425d05cd7ae6b1
parent2a67fcfa0db6b4075515bd23497750849b88850f
RDMA/cxgb4: Use helper function to set GUIDs

Use the addrconf_addr_eui48() helper function to set the GUIDs, Also make
sure the GUIDs are valid EUI-64 identifiers.

Link: https://lore.kernel.org/r/20211118100456.45423-1-kamalheib1@gmail.com
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/cxgb4/provider.c