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

Fab Tillier ftillier at microsoft.com
Thu Oct 8 07:05:14 PDT 2009


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