[Enable Designware XGMAC VLAN Stripping Feature 1/2] dt-bindings: net: snps,dwmac: Add description for rx-vlan-offload

From: Ng <boon.khai.ng
Date: Fri Jul 21 2023 - 02:27:09 EST


From: Boon Khai Ng <boon.khai.ng@xxxxxxxxx>

This patch is to add the dts setting for the MAC controller on
synopsys 10G Ethernet MAC which allow the 10G MAC to turn on
hardware accelerated VLAN stripping. Once the hardware accelerated
VLAN stripping is turn on, the VLAN tag will be stripped by the
10G Ethernet MAC.

Signed-off-by: Boon Khai Ng <boon.khai.ng@xxxxxxxxx>
Reviewed-by: Shevchenko Andriy <andriy.shevchenko@xxxxxxxxxxxxxxx>
---
Documentation/devicetree/bindings/net/snps,dwmac.yaml | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
index ddf9522a5dc2..905de37e861f 100644
--- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml
+++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml
@@ -487,6 +487,11 @@ properties:
description:
Frequency division factor for MDC clock.

+ snps,rx-vlan-offload:
+ $ref: /schemas/types.yaml#/definitions/flag
+ description:
+ Enable hardware-accelerated RX VLAN stripping.
+
mdio:
$ref: mdio.yaml#
unevaluatedProperties: false
--
2.25.1