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

Message ID 20230512072712.82694-1-alexis.lothore@bootlin.com
Headers
Series net: dsa: rzn1-a5psw: fix STP states handling |

Message

Alexis Lothoré May 12, 2023, 7:27 a.m. UTC
  From: Alexis Lothoré <alexis.lothore@bootlin.com>

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(-)
  

Comments

patchwork-bot+netdevbpf@kernel.org May 13, 2023, 4:30 p.m. UTC | #1
Hello:

This series was applied to netdev/net.git (main)
by David S. Miller <davem@davemloft.net>:

On Fri, 12 May 2023 09:27:09 +0200 you wrote:
> From: Alexis Lothoré <alexis.lothore@bootlin.com>
> 
> 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
> 
> [...]

Here is the summary with links:
  - [net,v3,1/3] net: dsa: rzn1-a5psw: enable management frames for CPU port
    https://git.kernel.org/netdev/net/c/9e4b45f20c5a
  - [net,v3,2/3] net: dsa: rzn1-a5psw: fix STP states handling
    https://git.kernel.org/netdev/net/c/ebe9bc509527
  - [net,v3,3/3] net: dsa: rzn1-a5psw: disable learning for standalone ports
    https://git.kernel.org/netdev/net/c/ec52b69c046a

You are awesome, thank you!