[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>
This commit is contained in:
Roland Dreier
2005-09-29 14:17:48 -07:00
parent eb9d3cd5ce
commit 274c089163
4 changed files with 20 additions and 0 deletions

View File

@@ -951,6 +951,8 @@ struct ib_device {
IB_DEV_UNREGISTERED
} reg_state;
int uverbs_abi_ver;
u8 node_type;
u8 phys_port_cnt;
};