> I see this overlaps a lot with DPIPE. Why won't you use that to expose > your hw state?
We took a look at dpipe and i talked to you about using it for this sort of thing at netconf/netdev. But dpipe has issues displaying the sort of information we have. I never figured out how to do two dimensional tables. The output of the dpipe command is pretty unreadable. A lot of the information being dumped here is not about the data pipe, etc. There is a lot of pushback on debugfs for individual drivers. As i said recently to somebody, debugfs is a bit of a wild west. When designing this code, we thought about that. This debugfs is not at the driver level. It is at the DSA level. All DSA drivers will benefit from this code, and all DSA drivers will get the same information exposed in debugfs. It is generic, well defined and structured, with respect to DSA. Andrew