RDMA: Move rdma_node_type to uapi/
authorJason Gunthorpe <jgg@mellanox.com>
Fri, 14 Jun 2019 00:38:17 +0000 (21:38 -0300)
committerDoug Ledford <dledford@redhat.com>
Mon, 17 Jun 2019 18:58:59 +0000 (14:58 -0400)
commit5d60c11154116e2127374d4178e952649612b69b
treecbe11649be0cc2b1ab01ef510291a5bb5eb0ac18
parent2d3c72ed504196edb2f22a08cb03a0f9fb7e564f
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>
drivers/infiniband/core/verbs.c
include/rdma/ib_verbs.h
include/uapi/rdma/rdma_netlink.h