summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDoug Ledford <dledford@redhat.com>2018-05-15 22:54:46 +0300
committerDoug Ledford <dledford@redhat.com>2018-05-15 22:54:46 +0300
commit0d52d803767e9dfab91348fbc8de1dfd388565fd (patch)
treeee46e605bd27f8e150bf827acebbe0ab64c431a2 /include
parent009669cfad50beb10b3f63434863de231c6b408e (diff)
downloadlinux-0d52d803767e9dfab91348fbc8de1dfd388565fd.tar.xz
RDMA/uapi: Fix uapi breakage
During this merge window, we added support for addition RDMA netlink operations. Unfortunately, we added the items in the middle of our uapi enum. Fix that before final release. Fixes: da5c85078215 ("RDMA/nldev: add driver-specific resource tracking") Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/rdma/rdma_netlink.h24
1 files changed, 13 insertions, 11 deletions
diff --git a/include/uapi/rdma/rdma_netlink.h b/include/uapi/rdma/rdma_netlink.h
index 07ff6c72fc50..edba6351ac13 100644
--- a/include/uapi/rdma/rdma_netlink.h
+++ b/include/uapi/rdma/rdma_netlink.h
@@ -400,6 +400,18 @@ enum rdma_nldev_attr {
RDMA_NLDEV_ATTR_RES_LOCAL_DMA_LKEY, /* u32 */
RDMA_NLDEV_ATTR_RES_UNSAFE_GLOBAL_RKEY, /* u32 */
/*
+ * Provides logical name and index of netdevice which is
+ * connected to physical port. This information is relevant
+ * for RoCE and iWARP.
+ *
+ * The netdevices which are associated with containers are
+ * supposed to be exported together with GID table once it
+ * will be exposed through the netlink. Because the
+ * associated netdevices are properties of GIDs.
+ */
+ RDMA_NLDEV_ATTR_NDEV_INDEX, /* u32 */
+ RDMA_NLDEV_ATTR_NDEV_NAME, /* string */
+ /*
* driver-specific attributes.
*/
RDMA_NLDEV_ATTR_DRIVER, /* nested table */
@@ -415,18 +427,8 @@ enum rdma_nldev_attr {
RDMA_NLDEV_ATTR_DRIVER_U64, /* u64 */
/*
- * Provides logical name and index of netdevice which is
- * connected to physical port. This information is relevant
- * for RoCE and iWARP.
- *
- * The netdevices which are associated with containers are
- * supposed to be exported together with GID table once it
- * will be exposed through the netlink. Because the
- * associated netdevices are properties of GIDs.
+ * Always the end
*/
- RDMA_NLDEV_ATTR_NDEV_INDEX, /* u32 */
- RDMA_NLDEV_ATTR_NDEV_NAME, /* string */
-
RDMA_NLDEV_ATTR_MAX
};
#endif /* _UAPI_RDMA_NETLINK_H */