Re: [PATCH] net: kdoc struct net_device flags and priv_flags

From: Florian Fainelli
Date: Tue Feb 25 2014 - 17:40:23 EST


2014-02-25 14:19 GMT-08:00 Luis R. Rodriguez <mcgrof@xxxxxxxxxxxxxxxx>:
> On Mon, Feb 24, 2014 at 9:37 PM, Florian Fainelli <f.fainelli@xxxxxxxxx> 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.

>
> I'll extend the documentation for a v2 with the sysfs attribute stuff.

Thanks!
--
Florian
--
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/