summaryrefslogtreecommitdiffstats
path: root/include/net/dsa.h
diff options
context:
space:
mode:
authorJohn Crispin2016-09-15 16:26:40 +0200
committerDavid S. Miller2016-09-16 10:31:51 +0200
commitcafdc45c949b9963cbfb8fe3a68d0ab16b0208ce (patch)
treeac9827ee9762a5edd72c25dc54c9e39fd1ad94c4 /include/net/dsa.h
parentDocumentation: devicetree: add qca8k binding (diff)
downloadkernel-qcow2-linux-cafdc45c949b9963cbfb8fe3a68d0ab16b0208ce.tar.gz
kernel-qcow2-linux-cafdc45c949b9963cbfb8fe3a68d0ab16b0208ce.tar.xz
kernel-qcow2-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 'include/net/dsa.h')
-rw-r--r--include/net/dsa.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h
index 9d97c5214341..7556646db2d3 100644
--- a/include/net/dsa.h
+++ b/include/net/dsa.h
@@ -26,6 +26,7 @@ enum dsa_tag_protocol {
DSA_TAG_PROTO_TRAILER,
DSA_TAG_PROTO_EDSA,
DSA_TAG_PROTO_BRCM,
+ DSA_TAG_PROTO_QCA,
DSA_TAG_LAST, /* MUST BE LAST */
};