Skip to content

net: dsa: rzn1-a5psw: add support for vlan and .port_bridge_flags

Clément Léger linux-renesas-soc lkml netdev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest posting 2/23 patches 12 repliesIn review
  2. v4 posting 1/23 patches 1 replySuperseded
  3. v33 patches 11 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches2 repliesSuperseded

Changes in v4 from the cover letter

- Fix missing CPU port bit in a5psw->bridged_ports
- Use unsigned int for vlan_res_id parameters
- Rename a5psw_get_vlan_res_entry() to a5psw_new_vlan_res_entry()
- In a5psw_port_vlan_add(), return -ENOSPC when no VLAN entry is found
- In a5psw_port_vlan_filtering(), compute "val" from "mask"

Patches in v4 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: dsa: rzn1-a5psw: use a5psw_reg_rmw() to modify flooding resolutiondrivers/net/dsa/rzn1_a5psw.c+8 -61 reply
2/3net: dsa: rzn1-a5psw: add support for .port_bridge_flagsdrivers/net/dsa/rzn1_a5psw.c+45 -04 replies
3/3net: dsa: rzn1-a5psw: add vlan supportdrivers/net/dsa/rzn1_a5psw.c drivers/net/dsa/rzn1_a5psw.h+169 -37 replies

Reviews trailers per patch

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

PatchFlorian FainelliVladimir Oltean
1/3R-b R-b
2/3R-b R-b
3/3

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

Read the v4 thread

Cover letter [PATCH RESEND net-next v4 0/3] net: dsa: rzn1-a5psw: add support for vlan and .port_bridge_flags

While adding support for VLAN, bridge_vlan_unaware.sh and bridge_vlan_aware.sh were executed and requires .port_bridge_flags to disable flooding on some specific port. Thus, this series adds both vlan support and .port_bridge_flags.

----
RESEND V4:
- Resent due to net-next being closed

V4:
- Fix missing CPU port bit in a5psw->bridged_ports
- Use unsigned int for vlan_res_id parameters
- Rename a5psw_get_vlan_res_entry() to a5psw_new_vlan_res_entry()
- In a5psw_port_vlan_add(), return -ENOSPC when no VLAN entry is found
- In a5psw_port_vlan_filtering(), compute "val" from "mask"

V3:
- Target net-next tree and correct version...

V2:
- Fixed a few formatting errors
- Add .port_bridge_flags implementation

Clément Léger (3):
net: dsa: rzn1-a5psw: use a5psw_reg_rmw() to modify flooding
resolution
net: dsa: rzn1-a5psw: add support for .port_bridge_flags
net: dsa: rzn1-a5psw: add vlan support

 drivers/net/dsa/rzn1_a5psw.c | 223 ++++++++++++++++++++++++++++++++++-
 drivers/net/dsa/rzn1_a5psw.h |   8 +-
 2 files changed, 222 insertions(+), 9 deletions(-)
Signature · 1 line
2.39.0