diff options
author | Alexander Chiang <achiang@hp.com> | 2010-02-02 14:09:16 -0500 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2010-02-24 13:23:49 -0500 |
commit | 17a55f79fd8051a6a8a6e84176c83af71877a98b (patch) | |
tree | e4f668b04c40ab1c7cd8f5890d15ab9a6ebe792e /include/rdma | |
parent | cdb8e43889a5d21ce706f5a93d3e1c9940cde1dc (diff) |
IB/core: Pack struct ib_device a little tighter
A small change to reduce the size of ib_device to 1112 bytes
(from 1128).
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include/rdma')
-rw-r--r-- | include/rdma/ib_verbs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index 09509edb1c5f..a585e0f92bc3 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h | |||
@@ -984,9 +984,9 @@ struct ib_device { | |||
984 | struct list_head event_handler_list; | 984 | struct list_head event_handler_list; |
985 | spinlock_t event_handler_lock; | 985 | spinlock_t event_handler_lock; |
986 | 986 | ||
987 | spinlock_t client_data_lock; | ||
987 | struct list_head core_list; | 988 | struct list_head core_list; |
988 | struct list_head client_data_list; | 989 | struct list_head client_data_list; |
989 | spinlock_t client_data_lock; | ||
990 | 990 | ||
991 | struct ib_cache cache; | 991 | struct ib_cache cache; |
992 | int *pkey_tbl_len; | 992 | int *pkey_tbl_len; |
@@ -1144,8 +1144,8 @@ struct ib_device { | |||
1144 | IB_DEV_UNREGISTERED | 1144 | IB_DEV_UNREGISTERED |
1145 | } reg_state; | 1145 | } reg_state; |
1146 | 1146 | ||
1147 | u64 uverbs_cmd_mask; | ||
1148 | int uverbs_abi_ver; | 1147 | int uverbs_abi_ver; |
1148 | u64 uverbs_cmd_mask; | ||
1149 | 1149 | ||
1150 | char node_desc[64]; | 1150 | char node_desc[64]; |
1151 | __be64 node_guid; | 1151 | __be64 node_guid; |