]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit7969119293f5aa3b51040ae81a80e87c7b979b2d
tree8c46c80d7c735263e752d4ec10162b264dbd9718
parentcc973aecf0b0541918c5ecabe6c90d1f709b5f89
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]