Re: [PATCH net-next] net: dsa: Expose tagging protocol to user-space

From: David Miller
Date: Fri Sep 07 2018 - 17:51:18 EST


From: Florian Fainelli <f.fainelli@xxxxxxxxx>
Date: Fri, 7 Sep 2018 11:09:02 -0700

> There is no way for user-space to know what a given DSA network device's
> tagging protocol is. Expose this information through a dsa/tagging
> attribute which reflects the tagging protocol currently in use.
>
> This is helpful for configuration (e.g: none behaves dramatically
> different wrt. bridges) as well as for packet capture tools when there
> is not a proper Ethernet type available.
>
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

Applied, thanks Florian.