]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/siw: Use helper function to set sys_image_guid
authorKamal Heib <kamalheib1@gmail.com>
Wed, 24 Nov 2021 10:23:36 +0000 (12:23 +0200)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 25 Nov 2021 17:35:08 +0000 (13:35 -0400)
commitbce1344debe2826098fc5e9aed88b8f992f538fe
tree93400e4f4c1fb257e59ce5392ca3a01fd935083d
parent926c50a51e1d9cd1d5bfc8c2d40fc684d3f0da8c
RDMA/siw: Use helper function to set sys_image_guid

Use the addrconf_addr_eui48() helper function to set the sys_image_guid,
Also make sure the GUID is valid EUI-64 identifier.

Link: https://lore.kernel.org/r/20211124102336.427637-1-kamalheib1@gmail.com
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Acked-by: Bernard Metzler <bmt@zurich.ibm.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/siw/siw_verbs.c