[openib-general] Re: [PATCH 8 of 20] ipath - sysfs support for core driver

Roland Dreier rdreier at cisco.com
Fri Mar 10 06:59:15 PST 2006


    Greg> The main issue is that if you create a sysfs file like this,
    Greg> and then in 3 months realize that you need to change one of
    Greg> those characters to be something else, you are in big
    Greg> trouble...

I think that PortInfo and NodeInfo might be fair game for sysfs files,
because they are actually defined in the IB spec with a binary format
that is sent on the wire.  So they're not going to change.

On the other hand it's not clear to me why using that wire protocol as
an interface to userspace is a good idea...

 - R.



More information about the general mailing list