]> 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)
commitcf5f15277d1028667b2cbef3c6b2a2092a17a4d3
tree340dcd16f53510323a1fae6945e329b4cf615d57
parent883755aff3aa805a758d306cb19e4e703e3d29cc
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