[ofw] RE: patch: [ipoib] Add code to track the adapters (for debuggingonly)
Tzachi Dar
tzachid at mellanox.co.il
Thu Oct 15 05:44:46 PDT 2009
I have made some experiments with the g_ipoib.adapter_list and came to
conclusion that it's use is not that convenient.
Although the list has all the information, reaching it is far from
trivial and needs some casting.
The solution that I have suggested makes life much easier since the
debugger can show the information immediately.
So, if there are no other objections I would like to continue with this
checkin.
Thanks
Tzachi
> -----Original Message-----
> From: Tzachi Dar
> Sent: Friday, October 09, 2009 1:24 AM
> To: Fab Tillier; ofw at lists.openfabrics.org
> Subject: RE: patch: [ipoib] Add code to track the adapters
> (for debuggingonly)
>
> 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