Messages in this thread | | | Date | Mon, 06 Mar 2006 14:39:01 -0800 (PST) | Subject | Re: [openib-general] Re: [PATCH 6/6] IB: userspace support for RDMA connection manager | From | "David S. Miller" <> |
| |
From: Roland Dreier <rdreier@cisco.com> Date: Mon, 06 Mar 2006 14:32:28 -0800
> The fundamental question seems to be whether things like > > struct foo { > struct sockaddr_in6 src; > struct sockaddr_in6 dst; > }; > > and > > struct bar { > struct sockaddr_in6 a; > __u32 b; > };
I wrote a test program and it looks ok:
davem@sunset:~/src/GIT/sparc-2.6.17$ gcc -m32 -O -o foo foo.c davem@sunset:~/src/GIT/sparc-2.6.17$ ./foo SPARC32 foo src: 0 foo dst: 28 bar a: 0 bar b: 28 davem@sunset:~/src/GIT/sparc-2.6.17$ gcc -m64 -O -o foo foo.c davem@sunset:~/src/GIT/sparc-2.6.17$ ./foo SPARC64 foo src: 0 foo dst: 28 bar a: 0 bar b: 28 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |