Re: RFC: ipath ioctls and their replacements

From: David S. Miller
Date: Wed Jan 18 2006 - 20:15:47 EST


From: Bryan O'Sullivan <bos@xxxxxxxxxxxxx>
Date: Wed, 18 Jan 2006 17:14:16 -0800

> That looks doable, but to my eyes, the netlink interface looks both
> more cumbersome and less reliable than ioctl. At least it
> apparently lets us do arbitrarily peculiar things :-)

It's going to give you strict typing, and extensible attributes for
the configuration attributes you define. So if you determine later
"oh we need to add this knob for changing X" you can do that without
breaking the existing interface. With ioctl() that is usually
impossible or unreasonably hard to accomplish.

Try not to get discouraged, give it a shot :)
-
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/