diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-11-11 00:22:54 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-13 02:34:54 +0100 |
commit | b74b70c44986dee87881fbed3d912e02c5dcf78c (patch) | |
tree | c3d9d3d5577243c258d27153fdf114f1a7e73ba8 /include/net/dsa.h | |
parent | net: dsa: tag_brcm: Prepare for supporting prepended tag (diff) | |
download | linux-b74b70c44986dee87881fbed3d912e02c5dcf78c.tar.xz linux-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 'include/net/dsa.h')
-rw-r--r-- | include/net/dsa.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h index 68e232fd4b0f..2a05738570d8 100644 --- a/include/net/dsa.h +++ b/include/net/dsa.h @@ -29,6 +29,7 @@ struct fixed_phy_status; enum dsa_tag_protocol { DSA_TAG_PROTO_NONE = 0, DSA_TAG_PROTO_BRCM, + DSA_TAG_PROTO_BRCM_PREPEND, DSA_TAG_PROTO_DSA, DSA_TAG_PROTO_EDSA, DSA_TAG_PROTO_KSZ, |