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

From: Roland Dreier
Date: Fri Mar 10 2006 - 09:56:50 EST


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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/