summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2005-09-29 14:17:48 -0700
committerRoland Dreier <rolandd@cisco.com>2005-10-17 15:20:26 -0700
commit274c0891637c44ac71f3ac40be91b43c2318883a (patch)
treefc7d9f07ab7e663a8acb771069cb9f1053ca2302 /include
parenteb9d3cd5ce2828fbb99ed7270089ea152c8f64b3 (diff)
downloadop-kernel-dev-274c0891637c44ac71f3ac40be91b43c2318883a.zip
op-kernel-dev-274c0891637c44ac71f3ac40be91b43c2318883a.tar.gz
[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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index e6f4c9e..d13f25a 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;
};
OpenPOWER on IntegriCloud