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

Sean Hefty sean.hefty at intel.com
Thu Feb 9 10:40:31 PST 2006


>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