[TOOLS] performance tests: changes for interoperability with Linux.
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 28 Oct 2008 10:50:55 +0000 (10:50 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 28 Oct 2008 10:50:55 +0000 (10:50 +0000)
commite19b496c4d658d0079c04254463ab65016e9f2fc
tree75c6584de5b513c94626e5b62ff9815efccc4765
parent1984fd3d48b4007ba4d9bffa04972bb733f25d9b
[TOOLS] performance tests: changes for interoperability with Linux.

The main problem was, that Linux stores values like qpn, psn, lid in little endian format, while Windows - in big endian one.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1710 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
tools/perftests/user/perf_defs.h
tools/perftests/user/perf_utils.c
tools/perftests/user/read_bw/read_bw.c
tools/perftests/user/read_lat/read_lat.c
tools/perftests/user/send_bw/send_bw.c
tools/perftests/user/send_lat/send_lat.c
tools/perftests/user/write_bw/write_bw.c
tools/perftests/user/write_lat/write_lat.c