<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2>Index:
Q:/projinf4/trunk/tools/perftests/user/send_bw/send_bw.c<BR>===================================================================<BR>---
Q:/projinf4/trunk/tools/perftests/user/send_bw/send_bw.c (revision
3654)<BR>+++
Q:/projinf4/trunk/tools/perftests/user/send_bw/send_bw.c (revision
3655)<BR>@@ -426,11 +426,11
@@<BR> <BR> <BR> <BR>- /* post recieve max msg
size*/<BR>+ /* post receive max msg
size*/<BR> {<BR> int
i;<BR> ib_recv_wr_t
*bad_wr_recv;<BR>- //recieve<BR>+ //receive<BR> ctx->rwr.wr_id
= PINGPONG_RECV_WRID;<BR> ctx->rwr.ds_array =
&ctx->recv_list;<BR> ctx->rwr.num_ds = 1;<BR>@@
-609,7 +609,7 @@<BR> * BW since we are running with loop on the send
side<BR> * while we should run on the receive side or enable retry
in SW<BR> * Since the sender may be faster than the reciver than
although<BR>- * we had posted recieve it is not enough and might end this
will<BR>+ * we had posted receive it is not enough and might end this
will<BR> * result in deadlock of test since both sides are stuck on
poll cq<BR> * In this test i do not solve this for the general test
,need to write<BR> * separate test for UC/UD but in case the
tx_depth is ~1/3 from the<BR>@@ -793,7 +793,7
@@<BR> p_wc_done =
NULL;<BR> p_wc_free->p_next =
NULL;<BR> <BR>- /*Server is polling on
recieve first */<BR>+ /*Server is polling on receive first
*/<BR> if (user_param->use_event)
{<BR> cl_status_t cl_status;<BR> <BR>@@
-840,7 +840,7 @@<BR> }<BR> }
while (ib_status == IB_SUCCESS);<BR> if (ib_status !=
IB_NOT_FOUND) {<BR>- fprintf(stderr, "Poll Recieve CQ
failed %d\n", ib_status);<BR>+ fprintf(stderr, "Poll
Receive CQ failed %d\n", ib_status);<BR> return
12;<BR> }<BR> <BR>Index:
Q:/projinf4/trunk/tools/perftests/user/write_bw/write_bw.c<BR>===================================================================<BR>---
Q:/projinf4/trunk/tools/perftests/user/write_bw/write_bw.c (revision
3654)<BR>+++
Q:/projinf4/trunk/tools/perftests/user/write_bw/write_bw.c (revision
3655)<BR>@@ -630,7 +630,7 @@<BR> } while (ib_status ==
IB_SUCCESS);<BR> <BR> if (ib_status != IB_NOT_FOUND)
{<BR>- fprintf(stderr, "Poll Recieve CQ failed %d\n",
ib_status);<BR>+ fprintf(stderr, "Poll Receive CQ failed
%d\n", ib_status);<BR> return
12;<BR> }<BR> <BR>Index:
Q:/projinf4/trunk/tools/perftests/user/send_lat/send_lat.c<BR>===================================================================<BR>---
Q:/projinf4/trunk/tools/perftests/user/send_lat/send_lat.c (revision
3654)<BR>+++
Q:/projinf4/trunk/tools/perftests/user/send_lat/send_lat.c (revision
3655)<BR>@@ -324,7 +324,7 @@<BR> ctx->wr.wr_type =
WR_SEND;<BR> ctx->wr.p_next =
NULL; <BR> <BR>- //recieve<BR>+ //receive<BR> ctx->rwr.wr_id
= PINGPONG_RECV_WRID;<BR> ctx->rwr.ds_array =
&ctx->recv_list;<BR> ctx->rwr.num_ds = 1;<BR>@@ -417,11
+417,11 @@<BR> <BR> <BR> <BR>- /* post
recieve max msg size*/<BR>+ /* post receive max msg
size*/<BR> {<BR> int
i;<BR> ib_recv_wr_t
*bad_wr_recv;<BR>- //recieve<BR>+ //receive<BR> ctx->rwr.wr_id
= PINGPONG_RECV_WRID;<BR> ctx->rwr.ds_array =
&ctx->recv_list;<BR> ctx->rwr.num_ds = 1;<BR>@@
-663,7 +663,7 @@<BR> p_wc_free->p_next =
NULL;<BR> PERF_DEBUG("rcnt
%d\n",rcnt);<BR> PERF_DEBUG("scnt
%d\n",scnt);<BR>- /*Server is polling on recieve first
*/<BR>+ /*Server is polling on receive first
*/<BR> ++rcnt;<BR> if
(ib_post_recv(qp, &rwr, &bad_wr_recv))
{<BR> fprintf(stderr, "Couldn't post recv:
rcnt=%d\n",<BR>@@ -698,12 +698,12 @@<BR> } while
(ib_status == IB_NOT_FOUND);<BR> <BR> if (ib_status
!= IB_SUCCESS) {<BR>- fprintf(stderr, "Poll Recieve CQ
failed %d\n", ib_status);<BR>+ fprintf(stderr, "Poll
Receive CQ failed %d\n", ib_status);<BR> return
12;<BR> }<BR> <BR> if
(p_wc_done->status != IB_WCS_SUCCESS)
{<BR>- fprintf(stderr, "Recieve Completion wth error at
%s:\n",<BR>+ fprintf(stderr, "Receive Completion wth
error at
%s:\n",<BR> user_param->servername ?
"client" : "server");<BR> fprintf(stderr, "Failed
status %d: wr_id %d\n",<BR> wc.status, (int)
wc.wr_id);<BR>@@ -756,12 +756,12 @@<BR> } while
(ib_status == IB_NOT_FOUND);<BR> <BR> if (ib_status
!= IB_SUCCESS) {<BR>- fprintf(stderr, "Poll Recieve CQ
failed %d\n", ib_status);<BR>+ fprintf(stderr, "Poll
Receive CQ failed %d\n", ib_status);<BR> return
12;<BR> }<BR> <BR> if
(wc.status != IB_WCS_SUCCESS) {<BR>- fprintf(stderr,
"Recieve Completion wth error at
%s:\n",<BR>+ fprintf(stderr, "Receive Completion wth
error at
%s:\n",<BR> user_param->servername ?
"client" : "server");<BR> fprintf(stderr, "Failed
status %d: wr_id %d\n",<BR> wc.status, (int)
wc.wr_id);<BR>Index:
Q:/projinf4/trunk/tools/perftests/user/read_bw/read_bw.c<BR>===================================================================<BR>---
Q:/projinf4/trunk/tools/perftests/user/read_bw/read_bw.c (revision
3654)<BR>+++
Q:/projinf4/trunk/tools/perftests/user/read_bw/read_bw.c (revision
3655)<BR>@@ -564,7 +564,7 @@<BR> } while (ib_status ==
IB_SUCCESS);<BR> <BR> if (ib_status != IB_NOT_FOUND)
{<BR>- fprintf(stderr, "Poll Recieve CQ failed %d\n",
ib_status);<BR>+ fprintf(stderr, "Poll Receive CQ failed
%d\n", ib_status);<BR> return
12;<BR> }<BR> <BR>Index:
Q:/projinf4/trunk/ulp/ipoib/kernel/ipoib_port.c<BR>===================================================================<BR>---
Q:/projinf4/trunk/ulp/ipoib/kernel/ipoib_port.c (revision 3654)<BR>+++
Q:/projinf4/trunk/ulp/ipoib/kernel/ipoib_port.c (revision 3655)<BR>@@
-4675,7 +4675,7 @@<BR> {<BR> IPOIB_ENTER( IPOIB_DBG_ENDPT
);<BR> <BR>- /* This function must be called from the recieve path
*/<BR>+ /* This function must be called from the receive path
*/<BR> CL_ASSERT(p_port->endpt_rdr >
0);<BR> <BR> cl_obj_lock( &p_port->obj );<BR>Index:
Q:/projinf4/trunk/tests/perftest/send_bw/send_bw.c<BR>===================================================================<BR>---
Q:/projinf4/trunk/tests/perftest/send_bw/send_bw.c (revision 3654)<BR>+++
Q:/projinf4/trunk/tests/perftest/send_bw/send_bw.c (revision 3655)<BR>@@
-578,11 +578,11 @@<BR> return
1;<BR> }<BR> }<BR>- /* post recieve max msg
size*/<BR>+ /* post receive max msg
size*/<BR> {<BR> int i;<BR> struct
ibv_recv_wr
*bad_wr_recv;<BR>- //recieve<BR>+ //receive<BR> ctx->rwr.wr_id
= PINGPONG_RECV_WRID;<BR> ctx->rwr.sg_list
=
&ctx->recv_list;<BR> ctx->rwr.num_sge
= 1;<BR>@@ -685,9 +685,9 @@<BR> * Important note :<BR> *
In case of UD/UC this is NOT the way to measure<BR> * BW sicen we
are running with loop on the send side<BR>- * while we should run on the
recieve side or enable retry in SW<BR>+ * while we should run on the
receive side or enable retry in SW<BR> * Since the sender may be
faster than the reciver than although<BR>- * we had posted recieve it is
not enough and might end this will<BR>+ * we had posted receive it is not
enough and might end this will<BR> * result in deadlock of test
since both sides are stuck on poll cq<BR> * In this test i do not
solve this for the general test ,need to send<BR> * seperate test
for UC/UD but in case the tx_depth is ~1/3 from the<BR>@@ -821,7 +821,7
@@<BR> while (rcnt < user_param->iters)
{<BR> int ne;<BR> struct ibv_wc
wc;<BR>- /*Server is polling on recieve first
*/<BR>+ /*Server is polling on receive first
*/<BR> if (user_param->use_event)
{<BR> struct ibv_cq
*ev_cq;<BR> void
*ev_ctx;<BR>@@ -862,7 +862,7 @@<BR> } while (ne > 0
);<BR> <BR> if (ne < 0)
{<BR>- fprintf(stderr, "Poll Recieve CQ failed %d\n",
ne);<BR>+ fprintf(stderr, "Poll Receive CQ failed %d\n",
ne);<BR> return
12;<BR> }<BR> }<BR>@@ -1214,7 +1214,7
@@<BR> ctx->wr.opcode =
IBV_WR_SEND;<BR> ctx->wr.next
= NULL;<BR> <BR>- /* recieve */<BR>+ /* receive
*/<BR> ctx->rwr.wr_id =
PINGPONG_RECV_WRID;<BR> ctx->rwr.sg_list =
&ctx->recv_list;<BR> ctx->rwr.num_sge =
1;<BR>Index:
Q:/projinf4/trunk/tests/perftest/send_lat/send_lat.c<BR>===================================================================<BR>---
Q:/projinf4/trunk/tests/perftest/send_lat/send_lat.c (revision 3654)<BR>+++
Q:/projinf4/trunk/tests/perftest/send_lat/send_lat.c (revision 3655)<BR>@@
-388,7 +388,7 @@<BR> }<BR> ctx->rcq =
ibv_create_cq(ctx->context, tx_depth, NULL, ctx->channel,
0);<BR> if (!ctx->rcq) {<BR>- fprintf(stderr, "Couldn't
create Recieve CQ\n");<BR>+ fprintf(stderr, "Couldn't create Receive
CQ\n");<BR> return
NULL;<BR> }<BR> {<BR>@@ -476,7 +476,7
@@<BR> ctx->wr.num_sge =
1;<BR> ctx->wr.opcode =
IBV_WR_SEND;<BR> ctx->wr.next
=
NULL;<BR>- //recieve<BR>+ //receive<BR> ctx->rwr.wr_id
= PINGPONG_RECV_WRID;<BR> ctx->rwr.sg_list =
&ctx->recv_list;<BR> ctx->rwr.num_sge =
1;<BR>@@ -602,7 +602,7 @@<BR> return
1;<BR> }<BR> }<BR>- /* post recieve max msg
size*/<BR>+ /* post receive max msg
size*/<BR> {<BR> int i;<BR> struct
ibv_recv_wr *bad_wr_recv;<BR>@@ -854,7 +854,7
@@<BR> if (rcnt < iters && !(scnt < 1 &&
user_param->servername)) {<BR> int
ne;<BR> struct ibv_wc wc;<BR>- /*Server
is polling on recieve first */<BR>+ /*Server is polling on
receive first
*/<BR> ++rcnt;<BR> if
(ibv_post_recv(qp, &rwr, &bad_wr_recv))
{<BR> fprintf(stderr, "Couldn't post recv:
rcnt=%d\n",<BR>@@ -885,11 +885,11 @@<BR> } while
(!user_param->use_event && ne <
1);<BR> <BR> if (ne < 0)
{<BR>- fprintf(stderr, "Poll Recieve CQ failed %d\n",
ne);<BR>+ fprintf(stderr, "Poll Receive CQ failed %d\n",
ne);<BR> return
12;<BR> }<BR> if (wc.status !=
IBV_WC_SUCCESS) {<BR>- fprintf(stderr, "Recieve
Completion wth error at %s:\n",<BR>+ fprintf(stderr,
"Receive Completion wth error at
%s:\n",<BR> user_param->servername ?
"client" : "server");<BR> fprintf(stderr, "Failed
status %d: wr_id %d\n",<BR> wc.status, (int)
wc.wr_id);<BR></FONT></DIV></BODY></HTML>