> - 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? Then userspace tools can count on stuff being exposed in the same way rather than being vendor dependent. - R. _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
