[Linux-stm32] [Enable Designware XGMAC VLAN Stripping Feature 1/2] dt-bindings: net: snps, dwmac: Add description for rx-vlan-offload
Boon at ecsmtp.png.intel.com
Boon at ecsmtp.png.intel.com
Fri Jul 21 06:26:16 UTC 2023
From: Boon Khai Ng <boon.khai.ng at intel.com>
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 at intel.com>
Reviewed-by: Shevchenko Andriy <andriy.shevchenko at linux.intel.com>
---
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
More information about the Linux-stm32
mailing list