aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/Kconfig
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2017-11-10 15:22:54 -0800
committerDavid S. Miller <davem@davemloft.net>2017-11-13 10:34:54 +0900
commitb74b70c44986dee87881fbed3d912e02c5dcf78c (patch)
treec3d9d3d5577243c258d27153fdf114f1a7e73ba8 /net/dsa/Kconfig
parentnet: dsa: tag_brcm: Prepare for supporting prepended tag (diff)
downloadlinux-dev-b74b70c44986dee87881fbed3d912e02c5dcf78c.tar.xz
linux-dev-b74b70c44986dee87881fbed3d912e02c5dcf78c.zip
net: dsa: Support prepended Broadcom tag
Add a new type: DSA_TAG_PROTO_PREPEND which allows us to support for the 4-bytes Broadcom tag that we already support, but in a format where it is pre-pended to the packet instead of located between the MAC SA and the Ethertyper (DSA_TAG_PROTO_BRCM). Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/Kconfig')
-rw-r--r--net/dsa/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/dsa/Kconfig b/net/dsa/Kconfig
index cc5f8f971689..2fed892094bc 100644
--- a/net/dsa/Kconfig
+++ b/net/dsa/Kconfig
@@ -19,6 +19,9 @@ if NET_DSA
config NET_DSA_TAG_BRCM
bool
+config NET_DSA_TAG_BRCM_PREPEND
+ bool
+
config NET_DSA_TAG_DSA
bool