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

Sean Hefty sean.hefty at intel.com
Tue Dec 9 11:25:08 PST 2008


init_sa_req_svc() has the following code:

	/* 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.)

- Sean 




More information about the ofw mailing list