Merge branch 'dsa-b53-Support-prepended-Broadcom-tags'
Florian Fainelli says:
====================
net: dsa: b53: Support prepended Broadcom tags
This patch series adds support for prepended 4-bytes Broadcom tags that we
already support. This type of tag will typically be used when interfaced to
a SoC like BCM58xx (NorthStar Plus) which supports a Flow Accelerator (WIP).
In that case, we need to support a slightly different tagging format.
The first patch does a bit of re-factoring and passes a port index to
the get_tag_protocol() function since at least two different drivers need
that type of information (mt7530, b53) to support tagging or not.
====================
Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/dsa/b53/Kconfig 1 addition, 0 deletionsdrivers/net/dsa/b53/Kconfig
- drivers/net/dsa/b53/b53_common.c 21 additions, 21 deletionsdrivers/net/dsa/b53/b53_common.c
- drivers/net/dsa/bcm_sf2.c 2 additions, 1 deletiondrivers/net/dsa/bcm_sf2.c
- drivers/net/dsa/dsa_loop.c 2 additions, 1 deletiondrivers/net/dsa/dsa_loop.c
- drivers/net/dsa/lan9303-core.c 2 additions, 1 deletiondrivers/net/dsa/lan9303-core.c
- drivers/net/dsa/microchip/ksz_common.c 2 additions, 1 deletiondrivers/net/dsa/microchip/ksz_common.c
- drivers/net/dsa/mt7530.c 2 additions, 2 deletionsdrivers/net/dsa/mt7530.c
- drivers/net/dsa/mv88e6060.c 2 additions, 1 deletiondrivers/net/dsa/mv88e6060.c
- drivers/net/dsa/mv88e6xxx/chip.c 2 additions, 1 deletiondrivers/net/dsa/mv88e6xxx/chip.c
- drivers/net/dsa/qca8k.c 1 addition, 1 deletiondrivers/net/dsa/qca8k.c
- include/net/dsa.h 3 additions, 1 deletioninclude/net/dsa.h
- net/dsa/Kconfig 3 additions, 0 deletionsnet/dsa/Kconfig
- net/dsa/Makefile 1 addition, 0 deletionsnet/dsa/Makefile
- net/dsa/dsa.c 3 additions, 0 deletionsnet/dsa/dsa.c
- net/dsa/dsa2.c 1 addition, 1 deletionnet/dsa/dsa2.c
- net/dsa/dsa_priv.h 1 addition, 0 deletionsnet/dsa/dsa_priv.h
- net/dsa/legacy.c 1 addition, 1 deletionnet/dsa/legacy.c
- net/dsa/tag_brcm.c 59 additions, 11 deletionsnet/dsa/tag_brcm.c
Loading
Please register or sign in to comment