Skip to content

DSA driver for Vitesse Felix switch

Vladimir Oltean netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 3 repliesIn review
  2. v112 patches 37 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11net: mscc: ocelot: move resource ioremap and regmap init to common codedrivers/net/ethernet/mscc/ocelot.h drivers/net/ethernet/mscc/ocelot_board.c drivers/net/ethernet/mscc/ocelot_io.c+16 -190 replies
2/11net: mscc: ocelot: filter out ocelot SoC specific PCS config from common pathdrivers/net/ethernet/mscc/ocelot.c drivers/net/ethernet/mscc/ocelot.h drivers/net/ethernet/mscc/ocelot_board.c +1 more+39 -200 replies
3/11net: mscc: ocelot: move invariant configs out of adjust_linkdrivers/net/ethernet/mscc/ocelot.c+43 -420 replies
4/11net: mscc: ocelot: create a helper for changing the port MTUdrivers/net/ethernet/mscc/ocelot.c+23 -170 replies
5/11net: mscc: ocelot: export a constant for the tag length in bytesdrivers/net/ethernet/mscc/ocelot.c drivers/net/ethernet/mscc/ocelot.h drivers/net/ethernet/mscc/ocelot_board.c+5 -50 replies
6/11net: mscc: ocelot: adjust MTU on the CPU port in NPI modedrivers/net/ethernet/mscc/ocelot.c drivers/net/ethernet/mscc/ocelot.h+11 -00 replies
7/11net: mscc: ocelot: separate the implementation of switch resetdrivers/net/ethernet/mscc/ocelot.c drivers/net/ethernet/mscc/ocelot.h drivers/net/ethernet/mscc/ocelot_board.c+33 -130 replies
8/11net: mscc: ocelot: publish structure definitions to include/soc/mscc/ocelot.hdrivers/net/ethernet/mscc/ocelot.c drivers/net/ethernet/mscc/ocelot.h include/soc/mscc/ocelot.h+588 -5110 replies
9/11net: mscc: ocelot: publish ocelot_sys.h to include/soc/msccMAINTAINERS drivers/net/ethernet/mscc/ocelot.h include/soc/mscc/ocelot_sys.h+2 -11 reply
10/11net: dsa: ocelot: add tagger for Ocelot/Felix switchesMAINTAINERS include/net/dsa.h net/dsa/Kconfig +2 more+246 -00 replies
11/11net: dsa: ocelot: add driver for Felix switch familyMAINTAINERS drivers/net/dsa/Kconfig drivers/net/dsa/Makefile +5 more+1066 -00 replies

Reviews trailers per patch

9 of 11 patches have a Reviewed-by or Acked-by.

PatchAndrew LunnFlorian Fainelli
1/11
2/11R-b R-b
3/11R-b R-b
4/11R-b R-b
5/11R-b
6/11R-b R-b
7/11R-b
8/11R-b
9/11R-b
10/11R-b
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 net-next 00/11] DSA driver for Vitesse Felix switch

This series builds upon the previous "Accomodate DSA front-end into Ocelot" topic and does the following:

- Reworks the Ocelot (VSC7514) driver to support one more switching core (VSC9959), used in NPI mode. Some code which was thought to be SoC-specific (ocelot_board.c) wasn't, and vice versa, so it is being accordingly moved.
- Exports ocelot driver structures and functions to include/soc/mscc.
- Adds a DSA ocelot front-end for VSC9959, which is a PCI device and uses the exported ocelot functionality for hardware configuration.
- Adds a tagger driver for the Vitesse injection/extraction DSA headers. This is known to be compatible with at least Ocelot and Felix.

Claudiu Manoil (2):
net: mscc: ocelot: move resource ioremap and regmap init to common
code
net: mscc: ocelot: filter out ocelot SoC specific PCS config from
common path

Vladimir Oltean (9):
net: mscc: ocelot: move invariant configs out of adjust_link
net: mscc: ocelot: create a helper for changing the port MTU
net: mscc: ocelot: export a constant for the tag length in bytes
net: mscc: ocelot: adjust MTU on the CPU port in NPI mode
net: mscc: ocelot: separate the implementation of switch reset
net: mscc: ocelot: publish structure definitions to
include/soc/mscc/ocelot.h
net: mscc: ocelot: publish ocelot_sys.h to include/soc/mscc
net: dsa: ocelot: add tagger for Ocelot/Felix switches
net: dsa: ocelot: add driver for Felix switch family

 MAINTAINERS                                   |   9 +
 drivers/net/dsa/Kconfig                       |   2 +
 drivers/net/dsa/Makefile                      |   1 +
 drivers/net/dsa/ocelot/Kconfig                |  11 +
 drivers/net/dsa/ocelot/Makefile               |   6 +
 drivers/net/dsa/ocelot/felix.c                | 441 ++++++++++++++
 drivers/net/dsa/ocelot/felix.h                |  37 ++
 drivers/net/dsa/ocelot/felix_vsc9959.c        | 567 ++++++++++++++++++
 drivers/net/ethernet/mscc/ocelot.c            | 209 ++++---
 drivers/net/ethernet/mscc/ocelot.h            | 479 +--------------
 drivers/net/ethernet/mscc/ocelot_board.c      |  85 ++-
 drivers/net/ethernet/mscc/ocelot_io.c         |  14 +-
 drivers/net/ethernet/mscc/ocelot_regs.c       |   3 +-
 include/net/dsa.h                             |   2 +
 include/soc/mscc/ocelot.h                     | 539 +++++++++++++++++
 .../soc}/mscc/ocelot_sys.h                    |   0
 net/dsa/Kconfig                               |   7 +
 net/dsa/Makefile                              |   1 +
 net/dsa/tag_ocelot.c                          | 229 +++++++
 19 files changed, 2043 insertions(+), 599 deletions(-)
 create mode 100644 drivers/net/dsa/ocelot/Kconfig
 create mode 100644 drivers/net/dsa/ocelot/Makefile
 create mode 100644 drivers/net/dsa/ocelot/felix.c
 create mode 100644 drivers/net/dsa/ocelot/felix.h
 create mode 100644 drivers/net/dsa/ocelot/felix_vsc9959.c
 create mode 100644 include/soc/mscc/ocelot.h
 rename {drivers/net/ethernet => include/soc}/mscc/ocelot_sys.h (100%)
 create mode 100644 net/dsa/tag_ocelot.c
Signature · 1 line
2.17.1