[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 <[email protected]>
This commit is contained in:
Roland Dreier committed 2005-10-17 15:20:30 -07:00
1 parent 56c202d6e4
commit 883a99c702
3 files changed
+23 -1

No files matched your search

+1
View File
@@ -951,6 +951,7 @@ struct ib_device {
IB_DEV_UNREGISTERED
} reg_state;
u64 uverbs_cmd_mask;
int uverbs_abi_ver;
u8 node_type;