[netperf-dev] netperf2 commit notice r390 - trunk/src

raj at netperf.org raj at netperf.org
Tue Jun 14 14:42:10 PDT 2011


Author: raj
Date: 2011-06-14 14:42:10 -0700 (Tue, 14 Jun 2011)
New Revision: 390

Modified:
   trunk/src/nettest_omni.c
Log:
actually heed the ring widths on the netserver side of an omni test

Modified: trunk/src/nettest_omni.c
===================================================================
--- trunk/src/nettest_omni.c	2011-04-20 17:13:07 UTC (rev 389)
+++ trunk/src/nettest_omni.c	2011-06-14 21:42:10 UTC (rev 390)
@@ -197,6 +197,7 @@
 					  actual_interval/1000000.0), \
 		    format_units(), \
 		    actual_interval/1000000.0); \
+	    fflush(where); \
 	    units_this_tick = 0.0; \
 	    /* now get a new starting timestamp.  we could be clever \
 	       and swap pointers - the math we do probably does not \
@@ -4766,14 +4767,14 @@
       omni_request->send_size              = remote_send_size_req;
       omni_request->send_alignment	   = remote_send_align;
       omni_request->send_offset	           = remote_send_offset;
-      omni_request->send_width             = 1; /* FIX THIS */
+      omni_request->send_width             = send_width;
       omni_request->request_size	   = req_size;
       
       omni_request->recv_buf_size	   = rsr_size_req;
       omni_request->receive_size           = remote_recv_size_req;
       omni_request->recv_alignment	   = remote_recv_align;
       omni_request->recv_offset	           = remote_recv_offset;
-      omni_request->recv_width             = 1; /* FIX THIS */
+      omni_request->recv_width             = recv_width;
       omni_request->response_size	   = rsp_size;
       
       /* we have no else clauses here because we previously set flags
@@ -5933,7 +5934,7 @@
   }
 
   omni_response->receive_size = omni_request->receive_size;
-  omni_response->recv_width = omni_response->recv_width;
+  omni_response->recv_width = omni_request->recv_width;
   if (omni_request->direction & NETPERF_RECV) {
 
     /* do we need to join a multicast group? */



More information about the netperf-dev mailing list