mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[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 <[email protected]>
This commit is contained in:
parent
eb9d3cd5ce
commit
274c089163
4 changed files with 20 additions and 0 deletions
|
|
@ -951,6 +951,8 @@ struct ib_device {
|
|||
IB_DEV_UNREGISTERED
|
||||
} reg_state;
|
||||
|
||||
int uverbs_abi_ver;
|
||||
|
||||
u8 node_type;
|
||||
u8 phys_port_cnt;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue