summaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2005-09-29 23:17:48 +0200
committerRoland Dreier <rolandd@cisco.com>2005-10-18 00:20:26 +0200
commit274c0891637c44ac71f3ac40be91b43c2318883a (patch)
treefc7d9f07ab7e663a8acb771069cb9f1053ca2302 /include/rdma
parent[IB] uverbs: Fix up resource creation error paths (diff)
downloadlinux-274c0891637c44ac71f3ac40be91b43c2318883a.tar.xz
linux-274c0891637c44ac71f3ac40be91b43c2318883a.zip
[IB] uverbs: Add device-specific ABI version attribute
Add abi_version attribute to uverbs class devices to allow for ABI versioning of device-specific interfaces. Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include/rdma')
-rw-r--r--include/rdma/ib_verbs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index e6f4c9e55df7..d13f25a78192 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -951,6 +951,8 @@ struct ib_device {
IB_DEV_UNREGISTERED
} reg_state;
+ int uverbs_abi_ver;
+
u8 node_type;
u8 phys_port_cnt;
};