[openib-general] Re: [PATCH 6/6] IB: userspace support for RDMA connection manager

David S. Miller davem at davemloft.net
Mon Mar 6 14:28:14 PST 2006


From: Roland Dreier <rdreier at cisco.com>
Date: Mon, 06 Mar 2006 13:58:32 -0800

>     Sean> Unless I miss counted, they should be aligned.
>     Sean> ib_user_path_rec is defined near the end of patch 1/6.
> 
> You're right.  struct sockaddr_in6 is 28 bytes long (not a multiple of
> 8) but gcc seems to lay everything out the same on 32-bit and 64-bit
> architectures just the same.

Please make sure you check "x86_64 vs. x86", and then something like
"powerpc64 vs. powerpc32" or "sparc64 vs. sparc32", as those are the
two different classes of ABI layouts.




More information about the general mailing list