Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | From | , , "Ng <boon.khai.ng"@intel.com | Subject | [Enable Designware XGMAC VLAN Stripping Feature 1/2] dt-bindings: net: snps,dwmac: Add description for rx-vlan-offload | Date | Fri, 21 Jul 2023 14:26:16 +0800 |
| |
From: Boon Khai Ng <boon.khai.ng@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@intel.com> Reviewed-by: Shevchenko Andriy <andriy.shevchenko@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
| ![\](/images/icornerr.gif) |