There are two diff ping pong test cases.
It was possible to run dtest with none of them.
Signed-off-by: Amir Hanania <amir.hanania@intel.com>
}
}
+ if (all_data && !write_only_pp) {
+ printf("\n\t -a option only valid with -W option\n\n");
+ exit(-12);
+ }
+
#if defined(_WIN32) || defined(_WIN64)
{
WSADATA wsaData;
free(rbuf);
free(sbuf);
- if (!all_data) {
+ if (ts.rtt && !all_data) {
printf( "%d: %s PingPong: (%d x %d) Total %6.2lf us:"
" latency %3.2lf us, BW %4.2lf MB/s\n",
getpid(), write_only_pp ? "RDMA write":"Message",