[ofw] Modify qp - option flag in init state

Sharon Cohen sharonc at mellanox.co.il
Wed Jul 2 05:15:05 PDT 2008


Hi,
 
When trying to modify qp state using verbs the current struct for init
state contains :
  struct _qp_init
  {
       uint8_t    primary_port;
       ib_net32_t   qkey;
       uint16_t   pkey_index;
       ib_access_t   access_ctrl;
  } init;
 
There are no optional flag in case we want to change only some
attributes.
This is needed, according to IB Spec, in case we want to modify qp from
init to init (ver 1.2 page 569).
 
In rtr and rts there's a flag that fulfill this purpose:
   ib_qp_opts_t  opts;
 
I think it would be best if we remove this parameter from both rtr and
rts and add it outside the union, like Linux does.
I would like to hear your opinion about that.
 
---------------------------
Thanks in advance,
Cohen Sharon
Mellanox Technologies
SW-Eng. Verification
Direct : +972-4-9097200 ext. 7666
Mobile : +972-52-3-758989
P.O.Box 586, Yokneam 20692, Israel
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20080702/e99f8132/attachment.html>


More information about the ofw mailing list