RDMA: Lift ibdev_to_node from rds to common code
authorChristoph Hellwig <hch@lst.de>
Fri, 6 Nov 2020 18:19:34 +0000 (19:19 +0100)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 12 Nov 2020 17:33:44 +0000 (13:33 -0400)
commit8ecfca68dc4cbee1272a0161e3f2fb9387dc6930
treeee7c3fee670980ffec1b05d60a633f6e94e41918
parent2af29468e3b3793b49f6c4385d2cabcea43fe076
RDMA: Lift ibdev_to_node from rds to common code

Lift the ibdev_to_node from rds to common code and document it.

Link: https://lore.kernel.org/r/20201106181941.1878556-4-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
include/rdma/ib_verbs.h
net/rds/ib.h