lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250927070724.734933-6-lukeh@padl.com>
Date: Sat, 27 Sep 2025 17:07:08 +1000
From: Luke Howard <lukeh@...l.com>
To: netdev@...r.kernel.org
Cc: andrew@...n.ch, vladimir.oltean@....com, kieran@...nda.com,
        jcschroeder@...il.com, max@...tershome.org,
        Luke Howard <lukeh@...l.com>
Subject: [RFC net-next 5/5] dt-bindings: net: dsa: mv88e6xxx: add mv88e6xxx-avb-mode property

Add the vendor-specific marvell,mv88e6xxx-avb-mode property for adding
stricter handling of frames with non-AVB frame priorities and destination
addresses.

Signed-off-by: Luke Howard <lukeh@...l.com>
---
 .../bindings/net/dsa/marvell,mv88e6xxx.yaml   | 25 +++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/dsa/marvell,mv88e6xxx.yaml b/Documentation/devicetree/bindings/net/dsa/marvell,mv88e6xxx.yaml
index 19f15bdd1c976..33d0cf5f21d5b 100644
--- a/Documentation/devicetree/bindings/net/dsa/marvell,mv88e6xxx.yaml
+++ b/Documentation/devicetree/bindings/net/dsa/marvell,mv88e6xxx.yaml
@@ -97,6 +97,31 @@ properties:
     required:
       - compatible
 
+  marvell,mv88e6xxx-avb-mode:
+    description: Marvell MV88E6xxx that support Audio Video Bridging/Time
+      Sensitive Networking (AVB/TSN) traffic prioritization can have ports
+      ports configured in one of several modes. These modes control the
+      handling of frames with non-AVB frame priorities and destination
+      addresses.
+    oneOf:
+      - enum:
+          - 0
+          - 1
+          - 2
+      - description: |
+        0: Standard Mode: frames with a priority that is mapped to an AVB
+           traffic class (TC) are considered as AVB frames. Others frames
+           are considered Legacy (non-AVB).
+        1: Enhanced: frames with a priority that is mapped to an AVB TC
+           and for which there is a static FDB or MDB entry are
+           considered as AVB frames. Those with an AVB TC but no FDB or
+	   MDB entry will be dropped. To avoid conflict with other multicast
+           protocols, only AVTP (91:e0:f0) destination addresses are
+           considered to be AVB multicast addresses.
+        2: Secure: as for Enhanced, but also require the FDB or MDB entry
+           to have its source port's bit set to one. In this mode, all
+	   frames with an AVTP destination address must be valid AVB frames.
+
 allOf:
   - $ref: dsa.yaml#/$defs/ethernet-ports
 
-- 
2.43.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ