]> git.openfabrics.org - ~shefty/libibverbs.git/commit
Make command structure sizes the same on 32-bit and 64-bit
authorRoland Dreier <rolandd@cisco.com>
Fri, 9 Sep 2005 20:04:21 +0000 (20:04 +0000)
committerRoland Dreier <rolandd@cisco.com>
Thu, 9 Nov 2006 19:35:57 +0000 (11:35 -0800)
commitc5407458ade2c59a9a3046b18b5689a3edab58b3
treee4935a22780a608d9fa5928984f75033a260359e
parent913998dda85c22051c08b30822e04bd1026226a4
Make command structure sizes the same on 32-bit and 64-bit

Add 4-byte reserved members to the new destroy CQ, destroy QP and
destroy SRQ command structures so that they become a multiple of 8
bytes in size.  This fixes the structures so they have the same size
on both 32-bit and 64-bit architectures (which is required so that
32-bit userspace on a 64-bit kernel works correctly).

Signed-off-by: Roland Dreier <rolandd@cisco.com>
include/infiniband/kern-abi.h