[ewg] [PATCH] ib_send_bw: print server statistics if bidirectional test

Ralph Campbell ralph.campbell at qlogic.com
Fri Aug 14 11:50:07 PDT 2009


The results of a bidirectional test are not displayed without
this patch.

Signed-off-by: Ralph Campbell <ralph.campbell at qlogic.com>

diff --git a/send_bw.c b/send_bw.c
index f842fb9..d6fa394 100755
--- a/send_bw.c
+++ b/send_bw.c
@@ -1447,7 +1447,7 @@ int main(int argc, char *argv[])
 				if(run_iter_uni(ctx, &user_param, rem_dest, size))
 					return 17;
 			}
-			if (user_param.servername) {
+			if (user_param.servername || user_param.duplex) {
 				print_report(user_param.iters, size, user_param.duplex, tposted, tcompleted, noPeak, no_cpu_freq_fail);
 				/* sync again for the sake of UC/UC */
 				rem_dest = pp_client_exch_dest(sockfd, &my_dest, &user_param);





More information about the ewg mailing list