<!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.16640" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=305195311-02072008><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=305195311-02072008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=305195311-02072008><FONT face=Arial size=2>When trying to
modify qp state using verbs the current struct for init state contains
:</FONT></SPAN></DIV>
<DIV><SPAN class=305195311-02072008><FONT face=Arial size=2> struct
_qp_init<BR> {<BR> uint8_t primary_port;<BR>
ib_net32_t qkey;<BR>
uint16_t pkey_index;<BR>
ib_access_t access_ctrl;</FONT></SPAN></DIV>
<DIV><SPAN class=305195311-02072008><FONT face=Arial
size=2> } init;</FONT></SPAN></DIV>
<DIV><SPAN class=305195311-02072008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=305195311-02072008><FONT face=Arial size=2>There are no
optional flag in case we want to change only some
attributes.</FONT></SPAN></DIV>
<DIV><SPAN class=305195311-02072008><FONT face=Arial size=2>This is needed,
according to IB Spec, in case we want to modify qp from init to init (ver
1.2 page 569).</FONT></SPAN></DIV>
<DIV><SPAN class=305195311-02072008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=305195311-02072008><FONT face=Arial size=2>In rtr and rts
there's a flag that fulfill this purpose:</FONT></DIV>
<DIV><FONT face=Arial
size=2> ib_qp_opts_t opts;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=305195311-02072008></SPAN><FONT face=Arial size=2>I<SPAN
class=305195311-02072008> think it would be best if we remove this parameter
from both rtr and rts and add it outside the union, like Linux
does.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=305195311-02072008>I would like to hear
your opinion about that.</SPAN></DIV></FONT></SPAN>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr align=left>
<DIV dir=ltr align=left><FONT face=Arial
size=2>---------------------------</FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2>Thanks in
advance,</FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2>Cohen
Sharon</FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2>Mellanox
Technologies</FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2>SW-Eng.
Verification</FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2>Direct :
+972-4-9097200 ext. 7666</FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2>Mobile :
+972-52-3-758989</FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2>P.O.Box 586,
Yokneam 20692, Israel</FONT></DIV></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>