Hi all,

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.

David, this is on top of my previous patch series:

[PATCH net-next v3 0/3] net: dsa: b53: Turn on Broadcom tags

Thank you!

Florian Fainelli (4):
  net: dsa: Pass a port to get_tag_protocol()
  net: dsa: tag_brcm: Prepare for supporting prepended tag
  net: dsa: Support prepended Broadcom tag
  net: dsa: b53: Support prepended Broadcom tags

 drivers/net/dsa/b53/Kconfig            |  1 +
 drivers/net/dsa/b53/b53_common.c       | 42 ++++++++++----------
 drivers/net/dsa/bcm_sf2.c              |  3 +-
 drivers/net/dsa/dsa_loop.c             |  3 +-
 drivers/net/dsa/lan9303-core.c         |  3 +-
 drivers/net/dsa/microchip/ksz_common.c |  3 +-
 drivers/net/dsa/mt7530.c               |  4 +-
 drivers/net/dsa/mv88e6060.c            |  3 +-
 drivers/net/dsa/mv88e6xxx/chip.c       |  3 +-
 drivers/net/dsa/qca8k.c                |  2 +-
 include/net/dsa.h                      |  4 +-
 net/dsa/Kconfig                        |  3 ++
 net/dsa/Makefile                       |  1 +
 net/dsa/dsa.c                          |  3 ++
 net/dsa/dsa2.c                         |  2 +-
 net/dsa/dsa_priv.h                     |  1 +
 net/dsa/legacy.c                       |  2 +-
 net/dsa/tag_brcm.c                     | 70 ++++++++++++++++++++++++++++------
 18 files changed, 109 insertions(+), 44 deletions(-)

-- 
2.9.3

Reply via email to