Merge branch 'net-dsa-hellcreek-fix-handling-of-mgmt-protocols'
authorJakub Kicinski <kuba@kernel.org>
Wed, 15 Dec 2021 02:46:31 +0000 (18:46 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 15 Dec 2021 02:46:31 +0000 (18:46 -0800)
commit6cf7a1ac0fedad8a70c050ade8a27a2071638500
treef943c01b25fcee1096c5c97e891b4ccd5eeb8d6f
parent9280ac2e6f199cddcd746a9ba459136b8666287b
parent6cf01e451599da630ff1af529d61c5e4db4550ab
Merge branch 'net-dsa-hellcreek-fix-handling-of-mgmt-protocols'

Kurt Kanzenbach says:

====================
net: dsa: hellcreek: Fix handling of MGMT protocols

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

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

Link: https://lore.kernel.org/r/20211214134508.57806-1-kurt@linutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>