perftest: allow server to support both IPv6 and IPv4
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 6 Mar 2009 22:27:39 +0000 (22:27 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 6 Mar 2009 22:27:39 +0000 (22:27 +0000)
commit2f9e7947d5162a69c087118d9542eecc722dc6bb
tree1a14bc4087772082e86b6135b8e2f79cf760a67e
parent6bec9934523f9b92e51c076e4501f2b1ed63cab3
perftest: allow server to support both IPv6 and IPv4

Changes based on Leonid's patch to add support for IPv6 and IPv4.  Allow the server to accept incoming connections from IPv6 and IPv4 clients.

Move connection handling code into common location to eliminate code duplication between perftest apps.

Signed-off-by: Leonid Keller <leonid@mellanox.co.il>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2013 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
tests/perftest/perftest.c
tests/perftest/perftest.h
tests/perftest/rdma_bw/rdma_bw.c
tests/perftest/rdma_lat/rdma_lat.c
tests/perftest/read_bw/read_bw.c
tests/perftest/read_lat/read_lat.c
tests/perftest/send_bw/send_bw.c
tests/perftest/send_lat/send_lat.c
tests/perftest/write_bw/write_bw.c
tests/perftest/write_lat/write_lat.c