[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230721062617.9810-2-boon.khai.ng@intel.com>
Date: Fri, 21 Jul 2023 14:26:16 +0800
From: Boon@...mtp.png.intel.com, Khai@...mtp.png.intel.com,
"Ng <boon.khai.ng"@intel.com
To: Giuseppe Cavallaro <peppe.cavallaro@...com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
Jose Abreu <joabreu@...opsys.com>,
"David S . Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
netdev@...r.kernel.org, linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Cc: Boon Khai Ng <boon.khai.ng@...el.com>,
Shevchenko Andriy <andriy.shevchenko@...el.com>,
Mun Yew Tham <mun.yew.tham@...el.com>,
Leong Ching Swee <leong.ching.swee@...el.com>,
G Thomas Rohan <rohan.g.thomas@...el.com>,
Shevchenko Andriy <andriy.shevchenko@...ux.intel.com>
Subject: [Enable Designware XGMAC VLAN Stripping Feature 1/2] dt-bindings: net: snps,dwmac: Add description for rx-vlan-offload
From: Boon Khai Ng <boon.khai.ng@...el.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@...el.com>
Reviewed-by: Shevchenko Andriy <andriy.shevchenko@...ux.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
Powered by blists - more mailing lists