Skip to content

Commit

Permalink
IB/core: Pack struct ib_device a little tighter
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexander Chiang authored and Roland Dreier committed Feb 24, 2010
1 parent cdb8e43 commit 17a55f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/rdma/ib_verbs.h
Original file line number Diff line number Diff line change
Expand Up @@ -984,9 +984,9 @@ struct ib_device {
struct list_head event_handler_list;
spinlock_t event_handler_lock;

spinlock_t client_data_lock;
struct list_head core_list;
struct list_head client_data_list;
spinlock_t client_data_lock;

struct ib_cache cache;
int *pkey_tbl_len;
Expand Down Expand Up @@ -1144,8 +1144,8 @@ struct ib_device {
IB_DEV_UNREGISTERED
} reg_state;

u64 uverbs_cmd_mask;
int uverbs_abi_ver;
u64 uverbs_cmd_mask;

char node_desc[64];
__be64 node_guid;
Expand Down

0 comments on commit 17a55f7

Please sign in to comment.