[ofa-general] Does ib0 always map to port1?

Or Gerlitz ogerlitz at Voltaire.com
Wed Jan 21 23:45:13 PST 2009


Sumeet Lahorani wrote:
> I see that ib0 always maps to port1 and ib1 always maps to port2 on 
> the HCA. I'm trying to find out if this will always be the case and if 
> so which script ensures this mapping?
Yes, on a dual ported HCA, ib0 maps to port1 and ib1 to port2, this is a 
property of the ipoib driver regardless of which HW is used, see 
drivers/infiniband/ulps/ipoib/ipoib_main :: ipoib_add_one()

Or.



More information about the general mailing list