diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2019-06-14 02:38:18 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2019-06-19 04:41:05 +0200 |
commit | 0e2d00eb6fd45f2a645f4874286bdc5b4b53782b (patch) | |
tree | 09c593d14ba74de14aad426b428279a2814e654d /include/ras | |
parent | RDMA: Move rdma_node_type to uapi/ (diff) | |
download | linux-0e2d00eb6fd45f2a645f4874286bdc5b4b53782b.tar.xz linux-0e2d00eb6fd45f2a645f4874286bdc5b4b53782b.zip |
RDMA: Add NLDEV_GET_CHARDEV to allow char dev discovery and autoload
Allow userspace to issue a netlink query against the ib_device for
something like "uverbs" and get back the char dev name, inode major/minor,
and interface ABI information for "uverbs0".
Since we are now in netlink this can also trigger a module autoload to
make the uverbs device come into existence.
Largely this will let us replace searching and reading inside sysfs to
setup devices, and provides an alternative (using driver_id) to device
name based provider binding for things like rxe.
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/ras')
0 files changed, 0 insertions, 0 deletions