I was not aware of this global variable. I'll play with it a little and
see how it goes.

Thanks
Tzachi 

-----Original Message-----
From: Fab Tillier [mailto:[email protected]] 
Sent: Thursday, October 08, 2009 4:05 PM
To: Tzachi Dar; [email protected]
Subject: RE: patch: [ipoib] Add code to track the adapters (for
debuggingonly)

Hi Tzachi,

Tzachi Dar wrote on Thu, 8 Oct 2009 at 04:29:58:

> This code is being used for easier debugging. It allows one to connect

> to a live system with a local kernel debugger and see the adapters
state.

There's already a global adapter list, g_ipoib.adapter_list.  Why not
use that?  I've used it before with a local KD session with great
success (though it only currently tracks active adapters.)

It would be simple to add the adapters to the list always, and filter
inactive ones during IBAT IOCTLs.

-Fab


_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to