[openib-general] [PATCH] opensm fails to find HCA if port is down.

Hal Rosenstock halr at voltaire.com
Tue Jan 10 14:51:08 PST 2006


Hi Ralph,

On Tue, 2006-01-10 at 17:47, Ralph Campbell wrote:
> I understand.  Maybe it should be the first active, if none, then the
> first UP, and if none, the first !disabled.

Exactly. I think one more loop (first checking physical state for linkup
and then checking for not disabled) will take care of it. I'm working on
it now as a patch on your patch which I will post.

> Mostly I was trying to get something that picked ipath0 port 1
> when it was the only port in the system even if the link
> is down.

Understood.

-- Hal





More information about the general mailing list