<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:st1="urn:schemas-microsoft-com:office:smarttags" 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 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>RE: [openib-general] Some Missing Features from mthca/user MAD access</title>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="Street"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Palatino Linotype";
        panose-1:2 4 5 2 5 5 5 3 3 4;}
@font-face
        {font-family:"Monotype Corsiva";
        panose-1:3 1 1 1 1 2 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
h1
        {margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:3.0pt;
        margin-left:.3in;
        text-indent:-.3in;
        page-break-after:avoid;
        mso-list:l0 level1 lfo1;
        font-size:16.0pt;
        font-family:Arial;
        font-weight:bold;}
h2
        {margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:3.0pt;
        margin-left:.4in;
        text-indent:-.4in;
        page-break-after:avoid;
        mso-list:l0 level2 lfo2;
        font-size:14.0pt;
        font-family:Arial;
        font-weight:bold;
        font-style:italic;}
h3
        {margin-top:12.0pt;
        margin-right:.5in;
        margin-bottom:3.0pt;
        margin-left:0in;
        text-align:right;
        text-indent:-.5in;
        page-break-after:avoid;
        mso-list:l0 level3 lfo3;
        direction:rtl;
        unicode-bidi:embed;
        font-size:13.0pt;
        font-family:Arial;
        font-weight:bold;}
h4
        {margin-top:12.0pt;
        margin-right:.6in;
        margin-bottom:3.0pt;
        margin-left:0in;
        text-align:right;
        text-indent:-.6in;
        page-break-after:avoid;
        mso-list:l0 level4 lfo4;
        direction:rtl;
        unicode-bidi:embed;
        font-size:14.0pt;
        font-family:"Times New Roman";
        font-weight:bold;}
h5
        {margin-top:12.0pt;
        margin-right:.7in;
        margin-bottom:3.0pt;
        margin-left:0in;
        text-align:right;
        text-indent:-.7in;
        mso-list:l0 level5 lfo5;
        direction:rtl;
        unicode-bidi:embed;
        font-size:13.0pt;
        font-family:"Times New Roman";
        font-weight:bold;
        font-style:italic;}
h6
        {margin-top:12.0pt;
        margin-right:.8in;
        margin-bottom:3.0pt;
        margin-left:0in;
        text-align:right;
        text-indent:-.8in;
        mso-list:l0 level6 lfo6;
        direction:rtl;
        unicode-bidi:embed;
        font-size:11.0pt;
        font-family:"Times New Roman";
        font-weight:bold;}
p.MsoHeading7, li.MsoHeading7, div.MsoHeading7
        {margin-top:12.0pt;
        margin-right:.9in;
        margin-bottom:3.0pt;
        margin-left:0in;
        text-align:right;
        text-indent:-.9in;
        mso-list:l0 level7 lfo7;
        direction:rtl;
        unicode-bidi:embed;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.MsoHeading8, li.MsoHeading8, div.MsoHeading8
        {margin-top:12.0pt;
        margin-right:1.0in;
        margin-bottom:3.0pt;
        margin-left:0in;
        text-align:right;
        text-indent:-1.0in;
        mso-list:l0 level8 lfo8;
        direction:rtl;
        unicode-bidi:embed;
        font-size:12.0pt;
        font-family:"Times New Roman";
        font-style:italic;}
p.MsoHeading9, li.MsoHeading9, div.MsoHeading9
        {margin-top:12.0pt;
        margin-right:1.1in;
        margin-bottom:3.0pt;
        margin-left:0in;
        text-align:right;
        text-indent:-1.1in;
        mso-list:l0 level9 lfo9;
        direction:rtl;
        unicode-bidi:embed;
        font-size:11.0pt;
        font-family:Arial;}
span.MsoEndnoteReference
        {vertical-align:super;}
p.MsoEndnoteText, li.MsoEndnoteText, div.MsoEndnoteText
        {margin:0in;
        margin-bottom:.0001pt;
        text-align:right;
        direction:rtl;
        unicode-bidi:embed;
        font-size:10.0pt;
        font-family:"Times New Roman";}
p.MsoListBullet, li.MsoListBullet, div.MsoListBullet
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        text-indent:-.25in;
        mso-list:l1 level1 lfo10;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.MsoTitle, li.MsoTitle, div.MsoTitle
        {margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:3.0pt;
        margin-left:0in;
        text-align:center;
        direction:rtl;
        unicode-bidi:embed;
        font-size:16.0pt;
        font-family:Arial;
        font-weight:bold;}
p.MsoBodyText, li.MsoBodyText, div.MsoBodyText
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:6.0pt;
        margin-left:0in;
        text-align:right;
        direction:rtl;
        unicode-bidi:embed;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.MsoSubtitle, li.MsoSubtitle, div.MsoSubtitle
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:3.0pt;
        margin-left:0in;
        text-align:center;
        font-size:12.0pt;
        font-family:Arial;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle24
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle25
        {mso-style-type:personal;
        font-family:"Palatino Linotype";
        color:#993366;
        font-weight:bold;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle26
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:1285036741;
        mso-list-template-ids:-547819762;}
@list l0:level1
        {mso-level-style-link:"Heading 1";
        mso-level-text:%1;
        mso-level-tab-stop:.3in;
        mso-level-number-position:left;
        mso-margin-top-alt:0in;
        margin-right:.3in;
        margin-bottom:0in;
        margin-left:.3in;
        margin-bottom:.0001pt;
        text-indent:-.3in;}
@list l0:level2
        {mso-level-style-link:"Heading 2";
        mso-level-text:"%1\.%2";
        mso-level-tab-stop:.4in;
        mso-level-number-position:left;
        mso-margin-top-alt:0in;
        margin-right:.4in;
        margin-bottom:0in;
        margin-left:.4in;
        margin-bottom:.0001pt;
        text-indent:-.4in;}
@list l0:level3
        {mso-level-style-link:"Heading 3";
        mso-level-text:"%1\.%2\.%3";
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        mso-margin-top-alt:0in;
        margin-right:.5in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        text-indent:-.5in;}
@list l0:level4
        {mso-level-style-link:"Heading 4";
        mso-level-text:"%1\.%2\.%3\.%4";
        mso-level-tab-stop:.6in;
        mso-level-number-position:left;
        mso-margin-top-alt:0in;
        margin-right:.6in;
        margin-bottom:0in;
        margin-left:.6in;
        margin-bottom:.0001pt;
        text-indent:-.6in;}
@list l0:level5
        {mso-level-style-link:"Heading 5";
        mso-level-text:"%1\.%2\.%3\.%4\.%5";
        mso-level-tab-stop:.7in;
        mso-level-number-position:left;
        mso-margin-top-alt:0in;
        margin-right:.7in;
        margin-bottom:0in;
        margin-left:.7in;
        margin-bottom:.0001pt;
        text-indent:-.7in;}
@list l0:level6
        {mso-level-style-link:"Heading 6";
        mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6";
        mso-level-tab-stop:.8in;
        mso-level-number-position:left;
        mso-margin-top-alt:0in;
        margin-right:.8in;
        margin-bottom:0in;
        margin-left:.8in;
        margin-bottom:.0001pt;
        text-indent:-.8in;}
@list l0:level7
        {mso-level-style-link:"Heading 7";
        mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7";
        mso-level-tab-stop:.9in;
        mso-level-number-position:left;
        mso-margin-top-alt:0in;
        margin-right:.9in;
        margin-bottom:0in;
        margin-left:.9in;
        margin-bottom:.0001pt;
        text-indent:-.9in;}
@list l0:level8
        {mso-level-style-link:"Heading 8";
        mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8";
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        mso-margin-top-alt:0in;
        margin-right:1.0in;
        margin-bottom:0in;
        margin-left:1.0in;
        margin-bottom:.0001pt;
        text-indent:-1.0in;}
@list l0:level9
        {mso-level-style-link:"Heading 9";
        mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9";
        mso-level-tab-stop:1.1in;
        mso-level-number-position:left;
        mso-margin-top-alt:0in;
        margin-right:1.1in;
        margin-bottom:0in;
        margin-left:1.1in;
        margin-bottom:.0001pt;
        text-indent:-1.1in;}
@list l1
        {mso-list-id:1992904546;
        mso-list-type:hybrid;
        mso-list-template-ids:1467933110 -81507590 -942524410 67960837 67960833 67960835 67960837 67960833 67960835 67960837;}
@list l1:level1
        {mso-level-number-format:bullet;
        mso-level-style-link:"List Bullet";
        mso-level-text:\F0B7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        margin-right:.5in;
        text-indent:-.25in;
        font-family:Symbol;}
@list l1:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        margin-right:1.0in;
        text-indent:-.25in;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
@list l1:level3
        {mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level4
        {mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level5
        {mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level6
        {mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level7
        {mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level8
        {mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level9
        {mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1 dir=RTL>

<p class=MsoNormal dir=LTR><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>Eitan, the main (and
only) purpose of the IS_SM bit is for SM to SM coordination. As a matter of
fact it means that when discavering a port with this bit you have to query it
with sminfo to see if he is the master or maybe it should be the master. There
is not other use. Having an application other then the SM respond to the sminfo
would not work in the current scheme.  As a matter of fact it maybe
catastrophic – meaning it may lead to multiple masters SM in the
subnet!!! <o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>I really don’t
understand what resources you refer to. I think I know the OpenSM pretty well
but maybe I have new things to learn. Please enlighten me.<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>Ref-counting too is
useless. There should be only one SM on the port. I see not reason to change
that.<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal dir=LTR><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>Shahar<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div style='border:none;border-right:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div class=MsoNormal align=center dir=LTR style='text-align:center'><font
size=3 face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal dir=LTR><b><font size=2 face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Eitan
Zahavi [mailto:eitan@mellanox.co.il] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, January 10, 2005
6:43 PM<br>
<b><span style='font-weight:bold'>To:</span></b> shaharf; Eitan Zahavi; Michael
S. Tsirkin; Roland Dreier<br>
<b><span style='font-weight:bold'>Cc:</span></b> openib-general@openib.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [openib-general] Some
Missing Features from mthca/user MAD access</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal dir=LTR><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p dir=LTR><font size=2 color=navy face=Arial><span style='font-size:10.0pt;
font-family:Arial;color:navy'>Shahar> Yes, but when you want to respond to
attributes you have to specify a mask. Using that mask you can register to any
attribute set you want.<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR><b><font size=3 color="#993366"
face="Palatino Linotype"><span style='font-size:12.0pt;font-family:"Palatino Linotype";
color:#993366;font-weight:bold'>Yes, but if the application (that is not an SM)
will use a mask that has the sminfo set - it will be considered an SM.<o:p></o:p></span></font></b></p>

<p class=MsoNormal dir=LTR><b><font size=3 color="#993366"
face="Palatino Linotype"><span style='font-size:12.0pt;font-family:"Palatino Linotype";
color:#993366;font-weight:bold'>I would prefer having the SMBit stay on when
the SM dies then having spurious SMBit transitions.<o:p></o:p></span></font></b></p>

<p class=MsoNormal dir=LTR><b><font size=3 color="#993366"
face="Palatino Linotype"><span style='font-size:12.0pt;font-family:"Palatino Linotype";
color:#993366;font-weight:bold'>It will take more resources from the SM when
these bits will start to change.<o:p></o:p></span></font></b></p>

<p class=MsoNormal dir=LTR><b><font size=3 color="#993366"
face="Palatino Linotype"><span style='font-size:12.0pt;font-family:"Palatino Linotype";
color:#993366;font-weight:bold'>Also you will need to start ref-counting on the
port since several apps can share it and they will not obey the rule for not
masking the sminfo if they are not SMs.<o:p></o:p></span></font></b></p>

<p class=MsoNormal dir=LTR><b><font size=3 color="#993366"
face="Palatino Linotype"><span style='font-size:12.0pt;font-family:"Palatino Linotype";
color:#993366;font-weight:bold'><o:p> </o:p></span></font></b></p>

<div>

<p class=MsoNormal dir=LTR style='text-autospace:none'><b><i><font size=5
color=blue face="Monotype Corsiva"><span lang=EN-GB style='font-size:20.0pt;
font-family:"Monotype Corsiva";color:blue;font-weight:bold;font-style:italic'>Eitan
Zahavi</span></font></i></b><font size=1 color="#993366" face=Tahoma><span
lang=EN-GB style='font-size:8.5pt;font-family:Tahoma;color:#993366'><o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-autospace:none'><font size=1
color="#993366" face=Tahoma><span lang=EN-GB style='font-size:8.5pt;font-family:
Tahoma;color:#993366'>Design Technology Director<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-autospace:none'><font size=1
color="#993366" face=Tahoma><span lang=EN-GB style='font-size:8.5pt;font-family:
Tahoma;color:#993366'>Mellanox Technologies LTD<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-autospace:none'><font size=1
color="#993366" face=Tahoma><span lang=EN-GB style='font-size:8.5pt;font-family:
Tahoma;color:#993366'>Tel:+972-4-9097208<br>
Fax:+972-4-9593245<o:p></o:p></span></font></p>

<p class=MsoNormal dir=LTR style='text-autospace:none'><st1:address w:st="on"><st1:Street
 w:st="on"><font size=1 color="#993366" face=Tahoma><span lang=EN-GB
  style='font-size:8.5pt;font-family:Tahoma;color:#993366'>P.O. Box 586</span></font></st1:Street><font
 size=1 color="#993366" face=Tahoma><span lang=EN-GB style='font-size:8.5pt;
 font-family:Tahoma;color:#993366'> <st1:City w:st="on">Yokneam</st1:City> <st1:PostalCode
 w:st="on">20692</st1:PostalCode> <st1:country-region w:st="on">ISRAEL</st1:country-region></span></font></st1:address><font
size=1 color="#993366" face=Tahoma><span lang=EN-GB style='font-size:8.5pt;
font-family:Tahoma;color:#993366'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal dir=LTR><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><o:p> </o:p></span></font></p>

</div>

</div>

</body>

</html>