]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: let switches specify their tagging protocol
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 5 Mar 2015 20:35:07 +0000 (12:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Mar 2015 05:18:20 +0000 (00:18 -0500)
commit867ebf533eba877b3158ced21dca8b2f81b030e1
tree340dcd16f53510323a1fae6945e329b4cf615d57
parent5f4c7a3bb5bea9c244b0cad3768d3140fe993ad5
net: dsa: let switches specify their tagging protocol

In order to support the new DSA device driver model, a dsa_switch should
be able to advertise the type of tagging protocol supported by the
underlying switch device. This also removes constraints on how tagging
can be stacked to each other.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/dsa.c