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

Steve Wise swise at opengridcomputing.com
Thu Jun 12 18:20:27 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?
> 

Yes, this is a standard TCP MIB.

> 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?
> 
> Then userspace tools can count on stuff being exposed in the same way rather
> than being vendor dependent.
> 

Ok, lemme chew on that and come up with something.

Steve.



More information about the general mailing list