[openib-general] [PATCH] FMR support in mthca

Grant Grundler iod00d at hp.com
Tue Mar 29 19:29:04 PST 2005


On Tue, Mar 29, 2005 at 06:12:28PM -0800, 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

Yes, that's pretty easy.

>   I could checkin the source for the modified ttcp's but I'm not sure
> exactly where... (gen2/users/libor ???)

I wouldn't bother for the "#define AF_INET AF_INET_SDP" above.
If the AIO version is more complicated, maybe create an "examples"
directory under gen2/src/userspace?

[ list of modules deleted ]
>   That's pretty much all you need, once ipoib is configure a socket
> created with the SDP protocol family can connect/bind using the
> addresses of the ipoib interfaces as you would for a TCP socket.

Ah! *click* ib_ipoib is missing!

For whatever reason I didn't realize ib_sdp only adds the alternative
net family. Yes, I did notice the "NET: Registered protocol family 27"
when loading ib_sdp.

I had associated ip_ipoib with providing TCP/IP but of course it does NOT.
ipoib *uses* the existing stack for AF_INET. Doh!
Feeling a little slow these days...

> > The most recent "How-To test SDP" for gen1 posted on Jun 17, 2004:
> > 	http://openib.org/pipermail/openib-general/2004-June/002892.html
> > 
> > It references libsdp.so which doesn't seem to exist in gen2.
> > Has anyone written an update for gen2?
> 
>   MST checked libsdp into the gen2 tree: gen2/trunk/src/userspace/libsdp

sorry...my bad. usespace part of my local tree was quite stale. 
"svn up" fixed that. Thanks for patiently pointing out the obvious.

> Which is great for using SDP with application binaries that you do not
> want to modify. However, for the async numbers you need a program that's
> using AIO for network sockets, of which I have a few...

More fodder for "examples" someplace in gen2 tree?
Or perhaps links to the right projects (e.g netperf.org) in
a userspace/examples/README file?
Or maybe more obvious here -> http://www.openib.org/doc.html ?


I just stumbled across links to http://www.web-polygraph.org/ again.
That's not something I use every day... Pointers to different
tests that are relevant to evaluating IB are helpful. If someone
starts it, I'll contribute to the list.

thanks,
grant



More information about the general mailing list