[ofw] error in init_sa_req_svc(), or maybe ib_create_av()

Sean Hefty sean.hefty at intel.com
Tue Dec 9 11:31:38 PST 2008


>        /* Create an address vector for the SA. */
>        av_attr.port_num = p_sa_req_svc->port_num;
>        av_attr.sl = p_sa_req_svc->sm_sl;
>        av_attr.dlid = 1;
>        av_attr.grh_valid = FALSE;
>        av_attr.static_rate = IB_PATH_RECORD_RATE_10_GBS;
>        av_attr.path_bits = 0;
>
>Besides assuming that the SA LID is 1, why doesn't this fail?  The av
>attributes
>define dlid as net16.  (I'm guessing that assuming an SA LID of 1 prevents
>Windows from handling SM failover, unless most SMs reset their own LID to 1 on
>failover.)

never mind - I need to think in more convoluted ways... The av is modified in
response to port active and sm change events before it actually gets used.




More information about the ofw mailing list