[openib-general] [PATCH] [RFC] - example user mode rdma ping/pongprogram using CMA

Steve Wise swise at opengridcomputing.com
Thu Feb 9 11:11:07 PST 2006


Sounds like the connection didn't get setup...

By default it should run continually ping/ponging until you hit ctrl-c.
Without -d or -v, you won't see any output. If it exited, then something
must have failed.  -d should show more info.  The -vV flags will display
the ping/pong messages and validate the data.

I assume you can ping between the two systems over ipoib interfaces?


On Thu, 2006-02-09 at 10:40 -0800, Sean Hefty wrote:
> >Attached is a user-mode program, called rping, that uses librdmacm and
> >libibverbs to implement a ping-pong program over an RC connection.  The
> >program utilizes SEND, RECV, RDMA READ, and WRITE ops, as well as cq
> >channels to get cq events, and rdma_get_event() to detect CMA events.
> >It is multi-threaded.
> >
> >I've built it as an example program in librdmacm/examples and tested it
> >with mthca.  It is useful to test CMA as well as all the major rdma
> >operations in a transport-neutral way.
> >
> >If you all find it has utility, please pull it into librdmacm/examples.
> 
> What exactly should I see that indicates that the test works?  I enabled debug
> output.  The server side ends up at "rdma_bind_addr worked".  The client side
> creates a QP, calls rping_setup_buffers, then disconnects.  The parameters that
> I used are:
> 
> rping -s -a 192.168.0.101 -p 7174
> rping -c -a 192.168.0.101 -p 7174
> 
> Without debugging turned on, should I see output confirming that the test has
> executed correctly?
> 
> - Sean




More information about the general mailing list