aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/Kconfig
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2017-04-07 16:45:06 +0800
committerDavid S. Miller <davem@davemloft.net>2017-04-07 13:50:55 -0700
commit5cd8985a19090f2b0ce8700ae3ec19e06a4fc5e9 (patch)
tree43429762fa0a066e1d67b3aecd4e58b75ec65a1c /net/dsa/Kconfig
parentdt-bindings: net: dsa: add Mediatek MT7530 binding (diff)
downloadlinux-dev-5cd8985a19090f2b0ce8700ae3ec19e06a4fc5e9.tar.xz
linux-dev-5cd8985a19090f2b0ce8700ae3ec19e06a4fc5e9.zip
net-next: dsa: add Mediatek tag RX/TX handler
Add the support for the 4-bytes tag for DSA port distinguishing inserted allowing receiving and transmitting the packet via the particular port. The tag is being added after the source MAC address in the ethernet header. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Landen Chao <Landen.Chao@mediatek.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/Kconfig')
-rw-r--r--net/dsa/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/dsa/Kconfig b/net/dsa/Kconfig
index da4d64f432db..aa21f49f1215 100644
--- a/net/dsa/Kconfig
+++ b/net/dsa/Kconfig
@@ -31,4 +31,6 @@ config NET_DSA_TAG_TRAILER
config NET_DSA_TAG_QCA
bool
+config NET_DSA_TAG_MTK
+ bool
endif