]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: add support for the SMSC-LAN9303 tagging format
authorJuergen Beisert <jbe@pengutronix.de>
Tue, 18 Apr 2017 08:48:24 +0000 (10:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Apr 2017 17:48:54 +0000 (13:48 -0400)
commite69cec20c38bbae218a0b37f710791d5defa4d19
tree1a810507e31bc391445d12e85b45261ae1cc5776
parent22665528d68b23d6ec071f3a392a0bdb1d3ff332
net: dsa: add support for the SMSC-LAN9303 tagging format

To define the outgoing port and to discover the incoming port a regular
VLAN tag is used by the LAN9303. But its VID meaning is 'special'.

This tag handler/filter depends on some hardware features which must be
enabled in the device to provide and make use of this special VLAN tag
to control the destination and the source of an ethernet packet.

Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/Kconfig
net/dsa/Makefile
net/dsa/dsa.c
net/dsa/dsa_priv.h
net/dsa/tag_lan9303.c [new file with mode: 0644]