Thu, Aug 27, 2015 at 08:01:15AM CEST, da...@davemloft.net wrote: >From: Jiri Pirko <j...@resnulli.us> >Date: Thu, 27 Aug 2015 07:40:04 +0200 > >> Switch object itselt would not help you to expose rocker internals. I >> don't think that you can find generic way, same for all drivers, to >> expose internal tables and stuff. That is hw specific. > >Tables are datastructures with names and types. > >Is it not possible to describe datastructures and their types with >user visible interfaces?
I'm not saying it is not possible, it certainly is. But I think that for example rocker internals have no value to default user, he should not care and he cannot find out what is going on there without knowledge or rocker.c code. The question is, do we need some standard interface to expose random debugging data? I don't think so, I think that debugfs is exactly the tool to be used in that case. > >Anyone against what I am saying right now is simply lazy. Not lazy, just thinking :) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html