diff options
author | John Crispin <john@phrozen.org> | 2016-09-15 16:26:40 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-16 04:31:51 -0400 |
commit | cafdc45c949b9963cbfb8fe3a68d0ab16b0208ce (patch) | |
tree | ac9827ee9762a5edd72c25dc54c9e39fd1ad94c4 /net/dsa/dsa_priv.h | |
parent | e5dcad290a7c62d1c856269dbd13e470e388b704 (diff) | |
download | linux-cafdc45c949b9963cbfb8fe3a68d0ab16b0208ce.tar.gz linux-cafdc45c949b9963cbfb8fe3a68d0ab16b0208ce.tar.bz2 linux-cafdc45c949b9963cbfb8fe3a68d0ab16b0208ce.zip |
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>
Diffstat (limited to 'net/dsa/dsa_priv.h')
-rw-r--r-- | net/dsa/dsa_priv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/dsa/dsa_priv.h b/net/dsa/dsa_priv.h index 00077a9c97f4..6cfd7388834e 100644 --- a/net/dsa/dsa_priv.h +++ b/net/dsa/dsa_priv.h @@ -81,5 +81,7 @@ extern const struct dsa_device_ops trailer_netdev_ops; /* tag_brcm.c */ extern const struct dsa_device_ops brcm_netdev_ops; +/* tag_qca.c */ +extern const struct dsa_device_ops qca_netdev_ops; #endif |