<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=WordSection1>
<p class=MsoNormal><span style='color:#1F497D'>Attached are the differences
between the new tools and the Linux version of them.<o:p></o:p></span></p>
<div style='mso-element:para-border-div;border:none;border-bottom:double windowtext 6.75pt;
padding:0in 0in 1.0pt 0in'>
<p class=MsoNormal style='border:none;padding:0in'><span style='color:#1F497D'><o:p> </o:p></span></p>
</div>
<p class=MsoNormal><span style='color:#1F497D'>Ibv_write_bw<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>3,4c3,4<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< * Copyright (c) 2005
Mellanox Technologies Ltd. All rights reserved.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< * Copyright (c) 2009 HNR
Consulting. All rights reserved.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> * Copyright (c) 2006
Mellanox Technologies Ltd. All rights reserved.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> * Copyright (c) 2008-2009
Intel Corporation. All rights reserved.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>6,10c6,7<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< * This software is
available to you under a choice of one of two<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< * licenses. You may
choose to be licensed under the terms of the GNU<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< * General Public License
(GPL) Version 2, available from the file<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< * COPYING in the main
directory of this source tree, or the<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< * OpenIB.org BSD license
below:<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> * This software is
available to you under the OpenIB.org BSD license<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> * below:<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>27c24<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< * MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> * MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AWV<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>33,34d29<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< *<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< * $Id$<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>37,40d31<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< #if HAVE_CONFIG_H<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< # include <config.h><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< #endif /* HAVE_CONFIG_H */<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>43d33<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< #include <unistd.h><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>49a40,43<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> #include <windows.h><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> #include <ws2tcpip.h><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> #include <winsock2.h><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>52a47,49<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> #include "l2w.h"<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> #include
"..\..\etc\user\getopt.c"<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>57c54<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< static int sl = 0;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> static uint8_t sl = 0;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>95c92<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< my_dest[i].psn
= lrand48() & 0xffffff;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> my_dest[i].psn
= rand() & 0xffffff;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>132c129<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< if(params->sockfd
< 0) {<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> if(params->sockfd
== INVALID_SOCKET) {<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>153c150<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>158c155<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>163c160<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>174c171<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< free(ctx->buf);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> posix_memfree(ctx->buf);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>206c203<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< ctx->buf =
memalign(page_size, BUFF_SIZE(size) * 2 * user_parm->num_of_qps);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> posix_memalign(&(ctx->buf),page_size,
BUFF_SIZE(size) * 2 * user_parm->num_of_qps);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>319c316<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< attr.ah_attr.grh.sgid_index
= user_parm->gid_index;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> attr.ah_attr.grh.sgid_index
= (uint8_t)user_parm->gid_index;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>440,441c437<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< cycles_to_units
= get_cpu_mhz(no_cpu_freq_fail) * 1000000;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> cycles_to_units
= get_cpu_mhz();<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>445c441,442<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< tsize*iters*user_param->num_of_qps*cycles_to_units/(tcompleted[(iters*user_param->num_of_qps)
- 1] - tposted[0]) / 0x100000);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> (uint64_t)tsize*iters*user_param->num_of_qps*cycles_to_units/(tcompleted[(iters*user_param->num_of_qps)
- 1] - tposted[0]) / 0x100000);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>582c579<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< int main(int argc, char
*argv[])<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> int __cdecl main(int argc,
char *argv[])<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>590c587<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< long
long size = 65536;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> unsigned
size = 65536;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>601a599,601<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> SYSTEM_INFO si;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> GetSystemInfo(&si);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>619c619<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>621,639c621,639<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "port", .has_arg = 1, .val = 'p' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "ib-dev", .has_arg = 1, .val = 'd' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "ib-port", .has_arg = 1, .val = 'i' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "mtu", .has_arg = 1, .val = 'm' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "qp", .has_arg = 1, .val = 'q' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "post", .has_arg = 1, .val = 'g' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "connection", .has_arg = 1, .val = 'c' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "size", .has_arg = 1, .val = 's' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "iters", .has_arg = 1, .val = 'n' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "tx-depth", .has_arg = 1, .val = 't' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "inline_size", .has_arg = 1, .val = 'I' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "qp-timeout", .has_arg = 1, .val = 'u' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "sl", .has_arg = 1, .val = 'S' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "gid-index", .has_arg = 1, .val = 'x' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "all", .has_arg = 0, .val = 'a' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "bidirectional", .has_arg = 0, .val = 'b' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "version", .has_arg = 0, .val = 'V' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "noPeak", .has_arg = 0, .val = 'N' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "CPU-freq", .has_arg = 0, .val = 'F' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"port", 1,
NULL, 'p' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"ib-dev", 1, NULL, 'd' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"ib-port", 1, NULL, 'i' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"mtu", 1,
NULL, 'm' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"qp", 1, NULL, 'q'
},<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"post", 1,
NULL, 'g' }, <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"connection", 1, NULL, 'c' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"size", 1,
NULL, 's' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"iters", 1,
NULL, 'n' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"tx-depth", 1, NULL, 't' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"inline_size", 1, NULL, 'I' }, <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"qp-timeout", 1, NULL, 'u' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"sl", 1, NULL, 'S'
},<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"gid-index", 1, NULL, 'x' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"all", 0, NULL, 'a'
},<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"bidirectional", 0, NULL, 'b' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"version", 0, NULL, 'V' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"noPeak", 0, NULL, 'N' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"CPU-freq", 0, NULL, 'F' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>643c643<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< c
= getopt_long(argc, argv, "p:d:i:m:q:g:c:s:n:t:I:u:S:x:baVNF",
long_options, NULL);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> c
= getopt_long(argc, argv, "p:d:i:m:q:g:c:s:n:t:I:u:S:x:baVNF",
long_options, NULL); <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>645a646,651<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> if
(c == EINVAL)<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> usage(argv[0]);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> return
7;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> }<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>657c663<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< ib_devname
= strdupa(optarg);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> ib_devname
= _strdup(optarg);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>681c687<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< user_param.ib_port
= strtol(optarg, NULL, 0);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> user_param.ib_port
= (uint8_t)(strtol(optarg, NULL, 0));<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>689c695<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< size
= strtoll(optarg, NULL, 0);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> size
= strtol(optarg, NULL, 0);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>732c738<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< user_param.qp_timeout
= strtol(optarg, NULL, 0);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> user_param.qp_timeout
= (uint8_t)(strtol(optarg, NULL, 0));<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>736c742<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< sl
= strtol(optarg, NULL, 0);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> sl
= (uint8_t)(strtol(optarg, NULL, 0));<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>741c747<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< user_param.gid_index
= strtol(optarg, NULL, 0);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> user_param.gid_index
= (uint8_t)(strtol(optarg, NULL, 0));<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>755c761<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< servername
= strdupa(argv[optind]);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> servername
= _strdup(argv[optind]);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>791d796<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< srand48(getpid()
* time(NULL));<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>793c798<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< page_size = sysconf(_SC_PAGESIZE);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> page_size =
si.dwPageSize;<o:p></o:p></span></p>
<div style='mso-element:para-border-div;border:none;border-bottom:double windowtext 6.75pt;
padding:0in 0in 1.0pt 0in'>
<p class=MsoNormal style='border:none;padding:0in'><span style='color:#1F497D'><o:p> </o:p></span></p>
</div>
<p class=MsoNormal><span style='color:#1F497D'>Ibv_write_lat<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>3,5c3,4<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< * Copyright (c) 2005
Mellanox Technologies Ltd. All rights reserved.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< * Copyright (c) 2005
Hewlett Packard, Inc (Grant Grundler)<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< * Copyright (c) 2009 HNR
Consulting. All rights reserved.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> * Copyright (c) 2006
Mellanox Technologies Ltd. All rights reserved.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> * Copyright (c) 2008-2009
Intel Corporation. All rights reserved.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>7,11c6,7<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< * This software is
available to you under a choice of one of two<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< * licenses. You may
choose to be licensed under the terms of the GNU<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< * General Public License
(GPL) Version 2, available from the file<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< * COPYING in the main
directory of this source tree, or the<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< * OpenIB.org BSD license
below:<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> * This software is
available to you under the OpenIB.org BSD license<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> * below:<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>28c24<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< * MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> * MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AWV<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>34,35d29<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< *<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< * $Id$<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>38,41d31<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< #if HAVE_CONFIG_H<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< #include <config.h><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< #endif /* HAVE_CONFIG_H */<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>44c34,38<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< #include <unistd.h><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> #include <windows.h><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> #include <ws2tcpip.h><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> #include <winsock2.h><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>49a44<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> #include <errno.h><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>51c46,47<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< #include
"get_clock.h"<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> #include
"..\..\tools\perftests\user\get_clock.h"<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> #include
"..\..\etc\user\getopt.c"<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>52a49<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> #include "l2w.h"<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>58c55<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< static int sl = 0;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> static uint8_t sl = 0;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>91c88<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< int port =
user_parm->ib_port;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> uint8_t port =
user_parm->ib_port;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>100c97<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< my_dest->psn
= lrand48() & 0xffffff;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> my_dest->psn
= rand() & 0xffffff;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>131c128<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< if(params->sockfd
< 0) {<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> if(params->sockfd
== INVALID_SOCKET) {<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>174c171<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< ctx->buf =
memalign(page_size, size * 2);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> posix_memalign(&(ctx->buf),page_size,size
* 2);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>254,259c251,256<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< struct
ibv_qp_attr attr = {<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< .qp_state
= IBV_QPS_INIT,<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< .pkey_index
= 0,<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< .port_num
= user_parm->ib_port,<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< .qp_access_flags
= IBV_ACCESS_REMOTE_WRITE<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< };<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> struct
ibv_qp_attr attr;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> attr.qp_state
= IBV_QPS_INIT;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> attr.pkey_index
= 0;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> attr.port_num
= user_parm->ib_port;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> attr.qp_access_flags
= IBV_ACCESS_REMOTE_WRITE;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>322c319<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< attr.ah_attr.grh.sgid_index
= user_parm->gid_index;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> attr.ah_attr.grh.sgid_index
= (uint8_t)user_parm->gid_index;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>410,434d406<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< /*<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< * When there is an<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< * odd number of
samples, the median is the middle number.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< * even number of
samples, the median is the mean of the<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< * two
middle numbers.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< *<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< */<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< static inline cycles_t
get_median(int n, cycles_t delta[])<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< if ((n - 1) %
2)<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< return(delta[n
/ 2] + delta[n / 2 - 1]) / 2;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< else<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< return
delta[n / 2];<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< }<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< static int
cycles_compare(const void * aptr, const void * bptr)<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< const cycles_t
*a = aptr;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< const cycles_t
*b = bptr;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< if (*a < *b)
return -1;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< if (*a > *b)
return 1;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< return 0;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< }<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>457c429<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< cycles_to_units
= get_cpu_mhz(no_cpu_freq_fail);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> cycles_to_units
= get_cpu_mhz()/1000000;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>571c543<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< int main(int argc, char
*argv[])<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> int __cdecl main(int argc,
char *argv[])<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>576c548<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< struct
report_options report = {};<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> struct
report_options report;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>585a558,560<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> SYSTEM_INFO si;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> GetSystemInfo(&si);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>596a572,576<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> report.cycles =
0;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> report.histogram
= 0;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> report.unsorted
= 0;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>602,619c582,599<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "port", .has_arg = 1, .val = 'p' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "connection", .has_arg = 1, .val = 'c' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "mtu", .has_arg = 1, .val = 'm' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "ib-dev", .has_arg = 1, .val = 'd' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "ib-port", .has_arg = 1, .val = 'i' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "size", .has_arg = 1, .val = 's' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "iters", .has_arg = 1, .val = 'n' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "tx-depth", .has_arg = 1, .val = 't' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "inline_size", .has_arg = 1, .val = 'I' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "qp-timeout", .has_arg = 1, .val = 'u' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "sl", .has_arg = 1, .val = 'S' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "gid-index", .has_arg = 1, .val = 'x' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "all", .has_arg = 0, .val = 'a' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "report-cycles", .has_arg = 0, .val = 'C' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "report-histogram",.has_arg = 0, .val = 'H' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "report-unsorted",.has_arg = 0, .val = 'U' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "version", .has_arg = 0, .val = 'V' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< {
.name = "CPU-freq", .has_arg = 0, .val = 'F' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"port", 1,
NULL, 'p' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"connection", 1, NULL, 'c' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"mtu", 1,
NULL, 'm' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"ib-dev", 1, NULL, 'd' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"ib-port", 1, NULL, 'i' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"size", 1,
NULL, 's' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"iters", 1,
NULL, 'n' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"tx-depth", 1, NULL, 't' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"inline_size", 1, NULL, 'I' }, <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"qp-timeout", 1, NULL, 'u' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"sl", 1, NULL, 'S'
},<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"gid-index", 1, NULL, 'x' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"all", 0, NULL, 'a'
},<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"report-cycles", 0, NULL, 'C' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"report-histogram", 0, NULL, 'H' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"report-unsorted", 0, NULL, 'U' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"version", 0, NULL, 'V' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {
"CPU-freq", 0, NULL, 'F' },<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>626a607,612<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> if
(c == EINVAL)<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> {<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> usage(argv[0]);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> return
7;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> }<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>652c638<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< ib_devname
= strdupa(optarg);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> ib_devname
= _strdup(optarg);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>656c642<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< user_param.ib_port
= strtol(optarg, NULL, 0);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> user_param.ib_port
= (uint8_t)(strtol(optarg, NULL, 0));<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>710c696<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< user_param.qp_timeout
= strtol(optarg, NULL, 0);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> user_param.qp_timeout
= (uint8_t)(strtol(optarg, NULL, 0));<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>713c699<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< sl
= strtol(optarg, NULL, 0);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> sl
= (uint8_t)(strtol(optarg, NULL, 0));<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>732c718<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< servername
= strdupa(argv[optind]);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> servername
= _strdup(argv[optind]);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>760,761c746,747<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< srand48(getpid()
* time(NULL));<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< page_size =
sysconf(_SC_PAGESIZE);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> page_size =
si.dwPageSize;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>820c806<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>< close(user_param.sockfd);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>---<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>> closesocket(user_param.sockfd);<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> ofw-bounces@lists.openfabrics.org
[mailto:ofw-bounces@lists.openfabrics.org] <b>On Behalf Of </b>Irena
Kruchkovsky<br>
<b>Sent:</b> Tuesday, August 31, 2010 3:39 PM<br>
<b>To:</b> ofw@lists.openfabrics.org<br>
<b>Subject:</b> [ofw] [patch] Updated ibv_XXXX_bw/ ibv_XXXX_lat tools -
ibv_write_bw, ibv_write_lat<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>