[ofa-general] [PATCH RFC] RDMA/cxgb3: Add protocol statistics to iw_cxgb3.
Steve Wise
swise at opengridcomputing.com
Mon Jun 16 14:45:55 PDT 2008
Steve Wise wrote:
>
>
> 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.
>
I take this back. These stats are a subset of the IP and TCP MIBs.
I'd like to get something out in 2.6.27/ofed-1.4 for support reasons
without opening the SNMP can of worms. So I'll define a standard struct
iw_protocol_counters and include the chelsio stats. Other providers can
expand if they care. I'll also add the core stuff to have sysfs.c
create the attribute files, one per stat and query the device to get the
values via a device get_iw_stats() call like you propose. The stats can
live in /sys/class/infiniband/$device/protocol_counters/iwarp/*.
How does that sound?
More information about the general
mailing list