We found what the problem is...

There is an onboard mthca DDR interface and a mlx4 QDR add-in card.
When the system comes up, it finds the onboard HCA first and was
making that IB0. The ifconfig output shows that interface ib0 is up
even though the actual IB state is down/polling. We disabled the mthca
driver from loading and now the mlx4 port 1 interface becomes ib0 as
we wanted.

I'm not sure what the best way to handle this configuration would be
(assuming we actually needed to use all 3 ports / 2 HCAs).  We could
specify the HWADDR in the ifcfg-ib[0,1,2] files, assuming that it
works with the 20-byte IB addresses. Or, I seem to remember adding
alias lines in /etc/modprobe.conf years ago to sort out a similar
situation with ethernet ports. Do you guys have other/better
suggestions?

What is the purpose of the "alias ib0 ib_ipoib" line in
etc/modprobe.conf? Is it required by something in OFED? Are you
supposed to have one for any additional interfaces (ib1, ib2)? Since
the OFED install did not create entries for the other interfaces, I'm
guessing it is not strictly required?

-Chuck
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to