mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[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:
parent
56c202d6e4
commit
883a99c702
3 changed files with 23 additions and 1 deletions
|
|
@ -951,6 +951,7 @@ struct ib_device {
|
|||
IB_DEV_UNREGISTERED
|
||||
} reg_state;
|
||||
|
||||
u64 uverbs_cmd_mask;
|
||||
int uverbs_abi_ver;
|
||||
|
||||
u8 node_type;
|
||||
|
|
|
|||
Loading…
Reference in a new issue