mbox series

[net-next,v2,0/4] net: dsa: hellcreek: Fix handling of MGMT protocols

Message ID 20211214134508.57806-1-kurt@linutronix.de (mailing list archive)
Headers show
Series net: dsa: hellcreek: Fix handling of MGMT protocols | expand

Message

Kurt Kanzenbach Dec. 14, 2021, 1:45 p.m. UTC
Hi,

this series fixes some minor issues with regards to management protocols such as
PTP and STP in the hellcreek DSA driver. Configure static FDB for these
protocols. The end result is:

|root@tsn:~# mv88e6xxx_dump --atu
|Using device <platform/ff240000.switch>
|ATU:
|FID  MAC               0123 Age OBT Pass Static Reprio Prio
|   0 01:1b:19:00:00:00 1100   1               X       X    6
|   1 01:00:5e:00:01:81 1100   1               X       X    6
|   2 33:33:00:00:01:81 1100   1               X       X    6
|   3 01:80:c2:00:00:0e 1100   1        X      X       X    6
|   4 01:00:5e:00:00:6b 1100   1        X      X       X    6
|   5 33:33:00:00:00:6b 1100   1        X      X       X    6
|   6 01:80:c2:00:00:00 1100   1        X      X       X    6

Thanks,
Kurt

Previous version:

 * https://lore.kernel.org/r/20211213101810.121553-1-kurt@linutronix.de/

Changes since v1:

 * Target net-next, as this never worked correctly and is not critical
 * Add STP and PTP over UDP rules
 * Use pass_blocked for PDelay messages only (Richard Cochran)

Kurt Kanzenbach (4):
  net: dsa: hellcreek: Fix insertion of static FDB entries
  net: dsa: hellcreek: Add STP forwarding rule
  net: dsa: hellcreek: Allow PTP P2P measurements on blocked ports
  net: dsa: hellcreek: Add missing PTP via UDP rules

 drivers/net/dsa/hirschmann/hellcreek.c | 87 +++++++++++++++++++++++---
 1 file changed, 80 insertions(+), 7 deletions(-)

Comments

Richard Cochran Dec. 14, 2021, 8:09 p.m. UTC | #1
On Tue, Dec 14, 2021 at 02:45:04PM +0100, Kurt Kanzenbach wrote:

> Kurt Kanzenbach (4):
>   net: dsa: hellcreek: Fix insertion of static FDB entries
>   net: dsa: hellcreek: Add STP forwarding rule
>   net: dsa: hellcreek: Allow PTP P2P measurements on blocked ports
>   net: dsa: hellcreek: Add missing PTP via UDP rules
> 
>  drivers/net/dsa/hirschmann/hellcreek.c | 87 +++++++++++++++++++++++---
>  1 file changed, 80 insertions(+), 7 deletions(-)

Acked-by: Richard Cochran <richardcochran@gmail.com>
patchwork-bot+netdevbpf@kernel.org Dec. 15, 2021, 3 a.m. UTC | #2
Hello:

This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 14 Dec 2021 14:45:04 +0100 you wrote:
> Hi,
> 
> this series fixes some minor issues with regards to management protocols such as
> PTP and STP in the hellcreek DSA driver. Configure static FDB for these
> protocols. The end result is:
> 
> |root@tsn:~# mv88e6xxx_dump --atu
> |Using device <platform/ff240000.switch>
> |ATU:
> |FID  MAC               0123 Age OBT Pass Static Reprio Prio
> |   0 01:1b:19:00:00:00 1100   1               X       X    6
> |   1 01:00:5e:00:01:81 1100   1               X       X    6
> |   2 33:33:00:00:01:81 1100   1               X       X    6
> |   3 01:80:c2:00:00:0e 1100   1        X      X       X    6
> |   4 01:00:5e:00:00:6b 1100   1        X      X       X    6
> |   5 33:33:00:00:00:6b 1100   1        X      X       X    6
> |   6 01:80:c2:00:00:00 1100   1        X      X       X    6
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/4] net: dsa: hellcreek: Fix insertion of static FDB entries
    https://git.kernel.org/netdev/net-next/c/4db4c3ea5697
  - [net-next,v2,2/4] net: dsa: hellcreek: Add STP forwarding rule
    https://git.kernel.org/netdev/net-next/c/b7ade35eb53a
  - [net-next,v2,3/4] net: dsa: hellcreek: Allow PTP P2P measurements on blocked ports
    https://git.kernel.org/netdev/net-next/c/cad1798d2d08
  - [net-next,v2,4/4] net: dsa: hellcreek: Add missing PTP via UDP rules
    https://git.kernel.org/netdev/net-next/c/6cf01e451599

You are awesome, thank you!