[netperf-dev] netperf2 commit notice r86 - in trunk: . src
raj at netperf.org
raj at netperf.org
Fri Jan 19 14:41:45 PST 2007
Author: raj
Date: 2007-01-19 14:41:43 -0800 (Fri, 19 Jan 2007)
New Revision: 86
Modified:
trunk/Release_Notes
trunk/src/nettest_bsd.c
Log:
cleanup comments and a release note
Modified: trunk/Release_Notes
===================================================================
--- trunk/Release_Notes 2006-12-12 23:25:39 UTC (rev 85)
+++ trunk/Release_Notes 2007-01-19 22:41:43 UTC (rev 86)
@@ -2,6 +2,9 @@
Things changed in this release:
+*) A bug fix reporting recv_size rather than send_size in TCP_MAERTS
+ when CPU utilization was requested.
+
*) A bug fix for buffer filling from a file to properly advance the
buffer pointer when the file is smaller than the send buffer.
Modified: trunk/src/nettest_bsd.c
===================================================================
--- trunk/src/nettest_bsd.c 2006-12-12 23:25:39 UTC (rev 85)
+++ trunk/src/nettest_bsd.c 2007-01-19 22:41:43 UTC (rev 86)
@@ -2933,11 +2933,14 @@
(exs_send (send_socket, send_ring->buffer_ptr, send_size,
0, exs_qhandle, (exs_ahandle_t)-1, exs_mhandle) == 0)) {
exs_aio_pending++;
- /* now we want to move our pointer to the next position in the */
- /* data buffer...we may also want to wrap back to the "beginning" */
- /* of the bufferspace, so we will mod the number of messages sent */
- /* by the send width, and use that to calculate the offset to add */
- /* to the base pointer. */
+
+ /* now we want to move our pointer to the next
+ position in the data buffer...we may also want to
+ wrap back to the "beginning" of the bufferspace, so
+ we will mod the number of messages sent by the send
+ width, and use that to calculate the offset to add
+ to the base pointer. */
+
nummessages++;
send_ring = send_ring->next;
if (bytes_remaining) {
More information about the netperf-dev
mailing list