RDMA/hns: Response dmac to userspace
authorJunxian Huang <huangjunxian6@hisilicon.com>
Thu, 7 Dec 2023 11:42:28 +0000 (19:42 +0800)
committerLeon Romanovsky <leon@kernel.org>
Thu, 7 Dec 2023 13:09:16 +0000 (15:09 +0200)
commitd3f4020a213e1cb125eed2363fca372a23f7de7a
tree0c06f75083f4ec1e6d8d199dd20c984abda06c77
parent95f6b40082aaf37fd0553828982402af36f81685
RDMA/hns: Response dmac to userspace

While creating AH, dmac is already resolved in kernel. Response dmac
to userspace so that userspace doesn't need to resolve dmac repeatedly.

Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://lore.kernel.org/r/20231207114231.2872104-3-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/hns/hns_roce_ah.c
include/uapi/rdma/hns-abi.h