]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite3041eb0a9359ebd63a4e699ff4de1bd954d81da
tree2da0f41552e032a53c1f3bf6df425d05cd7ae6b1
parent9827fb26e2096d209abb13db3593dbdbb6fb9d7f
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