[ewg] bug 1918 - openmpi broken due to rdma-cm changes
    Sean Hefty 
    sean.hefty at intel.com
       
    Sat Feb  6 16:12:46 PST 2010
    
    
  
>> -	list_for_each_entry(cma_dev, &dev_list, list)
>> +	list_for_each_entry(cma_dev, &dev_list, list) {
>> +		if (rdma_node_get_transport(cma_dev->device->node_type) !=
>> +		    RDMA_TRANSPORT_IB)
>> +			continue;
>> +
>>  		for (p = 1; p <= cma_dev->device->phys_port_cnt; ++p)
>>  			if (!ib_query_port(cma_dev->device, p, &port_attr) &&
>>  			    port_attr.state == IB_PORT_ACTIVE)
>>  				goto port_found;
>> +	}
>>
>
>Here you need to:
>                    ret = -ENODEV;
>                    goto out;
Good catch, I'll update the patch and submit for 2.6.33 on Monday.
    
    
More information about the ewg
mailing list