Skip to content

net: dsa: HW bridging, EEE support

Guenter Roeck lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest16 patches 3 repliesIn review
  2. v118 patches 14 repliesSuperseded

Changes in v2 from the cover letter

- Fixed compile error in patch 02/16. That was previously addressed in a later patch but broke bisectability.
- Dropped the RFT patches introducing HW bridging support for MV88E6131 and compatibles. There was a bug in stat code, and those patches should be handled separately anyway since they are untested.
- Removed duplicate defines from mv88e6xxx.h.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16net: dsa: mv88e6xxx: Factor out common initialization codedrivers/net/dsa/mv88e6123_61_65.c drivers/net/dsa/mv88e6171.c drivers/net/dsa/mv88e6352.c +2 more+22 -120 replies
2/16net: dsa: mv88e6xxx: Provide function for common port initializationdrivers/net/dsa/mv88e6xxx.c drivers/net/dsa/mv88e6xxx.h+40 -00 replies
3/16net: dsa: mv88e6xxx: Disable Message Port bit for CPU portdrivers/net/dsa/mv88e6xxx.c+3 -40 replies
4/16net: dsa: mv88e6xxx: Split mv88e6xxx_reg_read and mv88e6xxx_reg_writedrivers/net/dsa/mv88e6xxx.c+26 -90 replies
5/16net: dsa: mv88e6352: Use common port initialization codedrivers/net/dsa/mv88e6352.c+1 -230 replies
6/16net: dsa: mv88e6123_61_65: Use common port configurationdrivers/net/dsa/mv88e6123_61_65.c+1 -230 replies
7/16net: dsa: mv88e6171: Use common port configurationdrivers/net/dsa/mv88e6171.c+1 -230 replies
8/16net: dsa: mv88e6xxx: Add Hardware bridging supportdrivers/net/dsa/mv88e6xxx.c drivers/net/dsa/mv88e6xxx.h+292 -70 replies
9/16net: dsa: mv88e6352: Add support for hardware bridgingdrivers/net/dsa/mv88e6352.c+3 -00 replies
10/16net: dsa: Add basic framework to support ndo_fdb functionsinclude/net/dsa.h net/dsa/slave.c+108 -00 replies
11/16net: dsa: mv88e6xxx: Add support for fdb_add, fdb_del, and fdb_getnextdrivers/net/dsa/mv88e6xxx.c drivers/net/dsa/mv88e6xxx.h+152 -00 replies
12/16net: dsa: mv88e6352: Add support for ndo_fdb functionsdrivers/net/dsa/mv88e6352.c+3 -00 replies
13/16net: dsa: Centralise getting switch iddrivers/net/dsa/mv88e6352.c drivers/net/dsa/mv88e6xxx.c+2 -20 replies
14/16net: dsa: mv88e6171: Add defines for switch product IDsdrivers/net/dsa/mv88e6171.c+6 -20 replies
15/16net: dsa: mv88e6171: Add EEE support to the mv88e6172drivers/net/dsa/mv88e6171.c+24 -00 replies
16/16net: dsa: mv88e6171: Add support for hardware bridgingdrivers/net/dsa/mv88e6171.c+6 -00 replies

Reviews trailers per patch

15 of 16 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndrew LunnGuenter RoeckFlorian Fainelli
SeriesR-b
1/16R-b T-b
2/16R-b T-b
3/16R-b T-b
4/16R-b T-b
5/16R-b
6/16R-b
7/16R-b T-b
8/16R-b T-b
9/16R-b
10/16R-b T-b
11/16R-b T-b
12/16R-b
13/16R-b
14/16R-b
15/16R-b
16/16

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 00/16] net: dsa: HW bridging, EEE support

Patch 1 to 7 of this series prepare the drivers using the mv88e6xxx code for HW bridging support, without adding the code itself. For the most part this factors out common port initialization code. There is no functional change except for patch 3, which disables the message port bit for the CPU port to prevent packet duplication if HW bridging is configured.

Patch 8 adds the infrastructure for hardware bridging support to the mv88e6xxx code.

Patch 9 wires the MV88E6352 driver to support hardware bridging.

Patches 10 to 12 add support for ndo_fdb functions to the dsa subsystem, and wire up the MV88E6352 driver to support those functions.

Patches 13 to 16 add EEE support and HW bridging support to the mv88e6171 driver. This set of patches is from Andrew, applied on top of the first set of patches.

The series applies to net-next as of 3/24/2015.

Thanks a lot to Andrew Lunn for testing and valuable feedback.

---
Changes since v1:
- Fixed compile error in patch 02/16. That was previously addressed in a later patch but broke bisectability.
- Dropped the RFT patches introducing HW bridging support for MV88E6131 and compatibles. There was a bug in stat code, and those patches should be handled separately anyway since they are untested.
- Removed duplicate defines from mv88e6xxx.h.

Changes since RFT:
- Various bug fixes
- Fixed packet duplication seen when HW bridging is enabled
- Cleanup; use more defines and restructure patches
- Added ndo_fdb functions
- New patches adding support for HW bridging and EEE support to the mv88e6171 driver.