On Sat, Feb 08, 2014 at 04:26:37AM +0000, Devesh Sharma wrote: > We are having some 200 Odds vendor specific stats to be > displayed. With sysfs infrastructure for IB devices we found that > each stat will correspond to one file in sysfs tree therefore it > will constitute a large number of files in ocrdma tree per port, > situation will worsen if SRIOV and Multichannel comes into picture, > On the other hand, with debugfs it is possible to have one file > displaying multiple stats thus, drastically reducing the number of > sysfs file entries.
This really is what netlink is for. Remember, debugfs is not a stable ABI area, it could change at any moment, You must not ship tools to end users that process these stats if they come out through debugfs - it is not a way to bypass the kernel API rules. It is just something for developers to use. Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
