diff options
author | Roland Dreier <rolandd@cisco.com> | 2005-09-29 17:17:48 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2005-10-17 18:20:26 -0400 |
commit | 274c0891637c44ac71f3ac40be91b43c2318883a (patch) | |
tree | fc7d9f07ab7e663a8acb771069cb9f1053ca2302 /include | |
parent | eb9d3cd5ce2828fbb99ed7270089ea152c8f64b3 (diff) |
[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')
-rw-r--r-- | include/rdma/ib_verbs.h | 2 |
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 { | |||
951 | IB_DEV_UNREGISTERED | 951 | IB_DEV_UNREGISTERED |
952 | } reg_state; | 952 | } reg_state; |
953 | 953 | ||
954 | int uverbs_abi_ver; | ||
955 | |||
954 | u8 node_type; | 956 | u8 node_type; |
955 | u8 phys_port_cnt; | 957 | u8 phys_port_cnt; |
956 | }; | 958 | }; |