OSDN Git Service

net-next: dsa: add Qualcomm tag RX/TX handler
authorJohn Crispin <john@phrozen.org>
Thu, 15 Sep 2016 14:26:40 +0000 (16:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Sep 2016 08:31:51 +0000 (04:31 -0400)
commitcafdc45c949b9963cbfb8fe3a68d0ab16b0208ce
treeac9827ee9762a5edd72c25dc54c9e39fd1ad94c4
parente5dcad290a7c62d1c856269dbd13e470e388b704
net-next: dsa: add Qualcomm tag RX/TX handler

Add support for the 2-bytes Qualcomm tag that gigabit switches such as
the QCA8337/N might insert when receiving packets, or that we need
to insert while targeting specific switch ports. The tag is inserted
directly behind the ethernet header.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: John Crispin <john@phrozen.org>
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_qca.c [new file with mode: 0644]