diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2019-06-13 21:38:17 -0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2019-06-17 14:58:59 -0400 |
commit | 5d60c11154116e2127374d4178e952649612b69b (patch) | |
tree | cbe11649be0cc2b1ab01ef510291a5bb5eb0ac18 /drivers/infiniband/core/verbs.c | |
parent | rdma: Remove nes (diff) | |
download | linux-dev-5d60c11154116e2127374d4178e952649612b69b.tar.xz linux-dev-5d60c11154116e2127374d4178e952649612b69b.zip |
RDMA: Move rdma_node_type to uapi/
This enum is exposed over the sysfs file 'node_type' and over netlink via
RDMA_NLDEV_ATTR_DEV_NODE_TYPE, so declare it in the uapi headers.
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/infiniband/core/verbs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/core/verbs.c b/drivers/infiniband/core/verbs.c index 585e100706aa..588f1d195fd2 100644 --- a/drivers/infiniband/core/verbs.c +++ b/drivers/infiniband/core/verbs.c @@ -209,7 +209,7 @@ __attribute_const__ int ib_rate_to_mbps(enum ib_rate rate) EXPORT_SYMBOL(ib_rate_to_mbps); __attribute_const__ enum rdma_transport_type -rdma_node_get_transport(enum rdma_node_type node_type) +rdma_node_get_transport(unsigned int node_type) { if (node_type == RDMA_NODE_USNIC) |