Skip to content

net: dsa: rzn1-a5psw: fix STP states handling

[email protected] linux-renesas-soc lkml netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 2 repliesApplied 3/3
  2. v23 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- fix commit split by moving A5PSW_MGMT_CFG_ENABLE in relevant commit
- fix reverse christmas tree ordering in a5psw_port_stp_state_set

Patches in v3 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net: dsa: rzn1-a5psw: enable management frames for CPU portdrivers/net/dsa/rzn1_a5psw.c drivers/net/dsa/rzn1_a5psw.h+2 -21 replyApplied
2/3net: dsa: rzn1-a5psw: fix STP states handlingdrivers/net/dsa/rzn1_a5psw.c drivers/net/dsa/rzn1_a5psw.h+49 -90 repliesApplied
3/3net: dsa: rzn1-a5psw: disable learning for standalone portsdrivers/net/dsa/rzn1_a5psw.c+16 -81 replyApplied

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchPiotr Raczynski
1/3R-b
2/3
3/3R-b

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

Read the v3 thread

Cover letter [PATCH net v3 0/3] net: dsa: rzn1-a5psw: fix STP states handling

From: Alexis Lothoré <[email protected]>

This small series fixes STP support and while adding a new function to enable/disable learning, use that to disable learning on standalone ports at switch setup as reported by Vladimir Oltean.

This series was initially submitted on net-next by Clement Leger, but some career evolutions has made him hand me over those topics. Also, this new revision is submitted on net instead of net-next for V1 based on Vladimir Oltean's suggestion

Changes since v2:
- fix commit split by moving A5PSW_MGMT_CFG_ENABLE in relevant commit
- fix reverse christmas tree ordering in a5psw_port_stp_state_set

Changes since v1:
- fix typos in commit messages and doc
- re-split STP states handling commit
- add Fixes: tag and new Signed-off-by
- submit series as fix on net instead of net-next
- split learning and blocking setting functions
- remove unused define A5PSW_PORT_ENA_TX_SHIFT
- add boolean for tx/rx enabled for clarity

Alexis Lothoré (1):
net: dsa: rzn1-a5psw: fix STP states handling

Clément Léger (2):
net: dsa: rzn1-a5psw: enable management frames for CPU port
net: dsa: rzn1-a5psw: disable learning for standalone ports

 drivers/net/dsa/rzn1_a5psw.c | 83 ++++++++++++++++++++++++++++--------
 drivers/net/dsa/rzn1_a5psw.h |  3 +-
 2 files changed, 67 insertions(+), 19 deletions(-)
Signature · 1 line
2.40.1