]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: Add Lantiq / Intel GSWIP tag support
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 9 Sep 2018 20:16:43 +0000 (22:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Sep 2018 15:14:33 +0000 (08:14 -0700)
commit2c70699c26d1f96485300099d3073b4e6fc155a1
tree8c46c80d7c735263e752d4ec10162b264dbd9718
parentee18c867f84afe8a3ec27bfca60599ba4698b888
net: dsa: Add Lantiq / Intel GSWIP tag support

This handles the tag added by the PMAC on the VRX200 SoC line.

The GSWIP uses internally a GSWIP special tag which is located after the
Ethernet header. The PMAC which connects the GSWIP to the CPU converts
this special tag used by the GSWIP into the PMAC special tag which is
added in front of the Ethernet header.

This was tested with GSWIP 2.1 found in the VRX200 SoCs, other GSWIP
versions use slightly different PMAC special tags.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
MAINTAINERS
include/net/dsa.h
net/dsa/Kconfig
net/dsa/Makefile
net/dsa/dsa.c
net/dsa/dsa_priv.h
net/dsa/tag_gswip.c [new file with mode: 0644]