]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3314c43efdc19c093e9cdf6e0be6f0a803c3931c
tree419511ab1fec4f71377bc308e2cba4288987a1e6
parent9ddf96c6775bea18bef69f41cec835d352faec35
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