[ofw] RE: patch: [ipoib] Add code to track the adapters (for debuggingonly)

Tzachi Dar tzachid at mellanox.co.il
Thu Oct 8 16:23:38 PDT 2009


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:ftillier at microsoft.com] 
Sent: Thursday, October 08, 2009 4:05 PM
To: Tzachi Dar; ofw at lists.openfabrics.org
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





More information about the ofw mailing list