diff options
author | Roland Dreier <rolandd@cisco.com> | 2005-10-14 17:00:58 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2005-10-17 18:20:30 -0400 |
commit | 883a99c7024c5763d6d4f22d9239c133893e8d74 (patch) | |
tree | 659a7982a51d0ba187dac826a5b1e5ef319692fd /include | |
parent | 56c202d6e4f542468fe79b8a735cf128898b87fb (diff) |
[IB] uverbs: Add a mask of device methods allowed for userspace
Give each device a uverbs_cmd_mask, so that a low-level driver can
control which methods may be called on behalf of userspace.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/rdma/ib_verbs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index d13f25a78192..a5a963cb5676 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h | |||
@@ -951,6 +951,7 @@ struct ib_device { | |||
951 | IB_DEV_UNREGISTERED | 951 | IB_DEV_UNREGISTERED |
952 | } reg_state; | 952 | } reg_state; |
953 | 953 | ||
954 | u64 uverbs_cmd_mask; | ||
954 | int uverbs_abi_ver; | 955 | int uverbs_abi_ver; |
955 | 956 | ||
956 | u8 node_type; | 957 | u8 node_type; |