]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit59299031038f3ea92cf484bc4a68d16ad4bb3050
tree340dcd16f53510323a1fae6945e329b4cf615d57
parentdf197195a5248164df0709fbadc61133897281f5
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