[ofa-general] Re: [PATCH RFC] - iw_cxgb3 debug - turn debug logging on/off at runtime

Roland Dreier rdreier at cisco.com
Thu Jun 28 13:45:57 PDT 2007


 > What do folks think about using a sysfs file to turn debug logging
 > on/off at runtime for an rdma driver?

How about just making it a module parameter with writable permissions,
so it can be set in /sys/module and you don't even have to write any
attribute parsing code or anything like that.

 > Is a /proc entry better?

No, /proc is only for process-related stuff.

 - R.



More information about the general mailing list