On Tue, Feb 25, 2014 at 2:39 PM, Florian Fainelli <f.faine...@gmail.com> wrote: > 2014-02-25 14:19 GMT-08:00 Luis R. Rodriguez <mcg...@do-not-panic.com>: >> On Mon, Feb 24, 2014 at 9:37 PM, Florian Fainelli <f.faine...@gmail.com> >> wrote: >>> Le lundi 24 février 2014, 23:53:43 David Miller a écrit : >>>> They are visible to userspace via sysfs. >>> >>> In /sys/class/net/*/flags, although we are lacking quite a lot of >>> documentation >>> for the exported attributes there. >> >> I only see dev->flags there, I don't see any toggle capability for >> priv_flags. Let me know if you find anywhere that userspace lets a >> user toggle private flags, I just don't see it. > > You are right, those are dev->flags, not priv_flags, sorry about that.
No worries, if I don't hear back from anyone about how this is exposed to userspace I'll toss a 2nd patch to the series that moves the priv_flags out of UAPI as Ben suggested as a second step. Ben's point about it being an unstable interface if userspace would rely on them is also pretty important, so not sure why we'd let anyone on userspace rely on them. I'll obviously test compile this before submitting though. Luis -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/