[openib-general] [PATCH] FMR support in mthca
Libor Michalek
libor at topspin.com
Wed Mar 30 17:54:19 PST 2005
On Wed, Mar 30, 2005 at 05:40:33PM -0800, Peter Buckingham wrote:
> Libor Michalek wrote:
> > The recompile modifications to use SDP protocol familt for regular
> > ttcp are pretty straight forward:
> >
> > #include <sdp_sock.h>
> > #undef AF_INET
> > #define AF_INET AF_INET_SDP
>
> if i want to do in-kernel SDP can i just change my in-kernel sockets
> address family too, or is it more complicated?
Should work, as long as you access the socket using the generic
kernel socket interface and don't rely on the internals of the
'struct sock' to exactly match those of a PF_INET socket.
-Libor
More information about the general
mailing list