aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/rdma/rdma_netlink.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/rdma/rdma_netlink.h')
-rw-r--r--include/uapi/rdma/rdma_netlink.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/rdma/rdma_netlink.h b/include/uapi/rdma/rdma_netlink.h
index 3a231a989974..d49f491341f6 100644
--- a/include/uapi/rdma/rdma_netlink.h
+++ b/include/uapi/rdma/rdma_netlink.h
@@ -471,6 +471,11 @@ enum rdma_nldev_attr {
RDMA_NLDEV_SYS_ATTR_NETNS_MODE, /* u8 */
/*
+ * Device protocol, e.g. ib, iw, usnic, roce and opa
+ */
+ RDMA_NLDEV_ATTR_DEV_PROTOCOL, /* string */
+
+ /*
* Always the end
*/
RDMA_NLDEV_ATTR_MAX