[ofa-general] [PATCH RFC] RDMA/cxgb3: Add protocol statistics to iw_cxgb3.

Steve Wise swise at opengridcomputing.com
Fri Jun 13 07:24:45 PDT 2008


Roland Dreier wrote:
>> - Add a new rdma ctl command called RDMA_GET_MIB to the low level driver
>> to obtain the protocol mib from the hardware.
>>
>> - Add a sysfs entry to allow dumping these stats.
>>     
>
> This looks really useful for debugging/tuning etc... what MIBs are being dumped
> here?  The standard TCP and IPv4 MIBs?
>
> Looking at this it seems that maybe we want to add this to the core so
> all iWARP devices can (optionally) expose this in a common way -- I
> would assume that sane
> iWARP hardware gives a way to get offload engine stats.
>
> So maybe a new ib_device or iw_cm method -- i don't know the right name but
> something like struct ib_device.get_iw_stats struct iw_cm_verbs.get_stats?
> And then add something similar to the perf counter stuff we have in sysfs.c for
> IB devices?
>   
I don't see any counter stuff in /sys on my mthca system.  Where should 
it be and do I need to load a specific module to get these stats?

Steve.




More information about the general mailing list