[openib-general] [PATCH 22 of 23] IB/ipath - print warning if LID not acquired within one minute

Jason Gunthorpe jgunthorpe at obsidianresearch.com
Sun Aug 27 23:23:35 PDT 2006


On Sun, Aug 27, 2006 at 06:41:08PM -0700, Robert Walsh wrote:
> Roland Dreier wrote:
> >     Michael> Looks like your devices are all single-port. With a multi
> >     Michael> port device it is quite common to have one port down.
> > 
> > My reading of the patch is that it warns if the link is up physically
> > but does not come up logically.  Which would still be reasonable for a
> > multi-port device.
> > 
> > But I am still wondering about when this is really useful.
> 
> Well, either you think it is or it isn't.  We like it: it's easier than 
> pointing customers at something in /sys.

Why not copy what most ethernet drivers do and just log a message on
link negotiation state changes? ie like the:

eth0: link up, 100Mbps, full-duplex, lpa 0x45E1

Maybe something like:

ib0: link up, 10Gbps, port active, lid 0x10/16

Jason




More information about the general mailing list