]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - rdma/include/uapi/rdma/rdma_netlink.h
rdma: update uapi headers
[mirror_iproute2.git] / rdma / include / uapi / rdma / rdma_netlink.h
index 6513fb89abfa1d5dc8b676c717c784763aab8d04..04c80cebef49fd657ea02c34033d6b520fb33117 100644 (file)
@@ -227,8 +227,9 @@ enum rdma_nldev_command {
        RDMA_NLDEV_CMD_UNSPEC,
 
        RDMA_NLDEV_CMD_GET, /* can dump */
+       RDMA_NLDEV_CMD_SET,
 
-       /* 2 - 4 are free to use */
+       /* 3 - 4 are free to use */
 
        RDMA_NLDEV_CMD_PORT_GET = 5, /* can dump */
 
@@ -282,6 +283,9 @@ enum rdma_nldev_attr {
 
        /*
         * Device and port capabilities
+        *
+        * When used for port info, first 32-bits are CapabilityMask followed by
+        * 16-bit CapabilityMask2.
         */
        RDMA_NLDEV_ATTR_CAP_FLAGS,              /* u64 */