[openib-general] Re: RFC: ipath ioctls and their replacements

David S. Miller davem at davemloft.net
Wed Jan 18 16:48:39 PST 2006


From: Bryan O'Sullivan <bos at pathscale.com>
Date: Wed, 18 Jan 2006 16:43:31 -0800

> Obviously, we'd prefer the number to be zero, but I don't think we
> can do that without submitting a driver that isn't very useful.

You can use an interface such a netlink for device configuration.
It can do better type checking, can be used by generic tools, and
some day soon will be transferable over the wire so that one can
perform remote configuration changes.

Let's let ioctl()'s go the way of the cave man.  It's one of the
worst designed interfaces undef UNIX :)




More information about the general mailing list