linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [Enable Designware XGMAC VLAN Stripping Feature 0/2]
@ 2023-07-21  6:26 Boon, Khai, Ng <boon.khai.ng
  2023-07-21  6:26 ` [Enable Designware XGMAC VLAN Stripping Feature 1/2] dt-bindings: net: snps,dwmac: Add description for rx-vlan-offload Boon, Khai, Ng <boon.khai.ng
  2023-07-21  6:26 ` [Enable Designware XGMAC VLAN Stripping Feature 2/2] net: stmmac: dwxgmac2: Add support for HW-accelerated VLAN Stripping Boon, Khai, Ng <boon.khai.ng
  0 siblings, 2 replies; 23+ messages in thread
From: Boon, Khai, Ng <boon.khai.ng @ 2023-07-21  6:26 UTC (permalink / raw)
  To: Giuseppe Cavallaro, Alexandre Torgue, Jose Abreu,
	David S . Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Maxime Coquelin, netdev, linux-stm32, linux-arm-kernel,
	linux-kernel
  Cc: Boon Khai Ng, Shevchenko Andriy, Mun Yew Tham, Leong Ching Swee,
	G Thomas Rohan, Shevchenko Andriy

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

Hi,
The Designware 10G MAC(dwxgmac) driver has lack of vlan support
in term of hardware, such as the hardware accelerated VLAN stripping.
The driver was not draft from scratch, however it was ported from the
Ethernet Quality-of-Service (dwmac4) driver, it was tested working on
ourside.

Reviewed-by: Shevchenko Andriy <andriy.shevchenko@linux.intel.com>

Boon Khai Ng (2):
  dt-bindings: net: snps,dwmac: Add description for rx-vlan-offload
  net: stmmac: dwxgmac2: Add support for HW-accelerated VLAN Stripping

 .../devicetree/bindings/net/snps,dwmac.yaml   |  5 +++
 .../net/ethernet/stmicro/stmmac/dwxgmac2.h    | 28 ++++++++++++++
 .../ethernet/stmicro/stmmac/dwxgmac2_core.c   | 38 +++++++++++++++++++
 .../ethernet/stmicro/stmmac/dwxgmac2_descs.c  | 18 +++++++++
 drivers/net/ethernet/stmicro/stmmac/hwif.h    | 16 ++++++++
 .../net/ethernet/stmicro/stmmac/stmmac_main.c | 29 +++++++++++---
 .../ethernet/stmicro/stmmac/stmmac_platform.c |  6 +++
 include/linux/stmmac.h                        |  1 +
 8 files changed, 136 insertions(+), 5 deletions(-)

-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2023-07-22  3:33 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-21  6:26 [Enable Designware XGMAC VLAN Stripping Feature 0/2] Boon, Khai, Ng <boon.khai.ng
2023-07-21  6:26 ` [Enable Designware XGMAC VLAN Stripping Feature 1/2] dt-bindings: net: snps,dwmac: Add description for rx-vlan-offload Boon, Khai, Ng <boon.khai.ng
2023-07-21 10:10   ` Krzysztof Kozlowski
2023-07-21 15:28     ` Ng, Boon Khai
2023-07-21 16:21       ` Krzysztof Kozlowski
2023-07-21 16:33         ` Ng, Boon Khai
2023-07-22  1:55         ` Jakub Kicinski
2023-07-22  3:32           ` Joe Perches
2023-07-21 16:26       ` Krzysztof Kozlowski
2023-07-21 16:39         ` Ng, Boon Khai
2023-07-21 10:17   ` Shevchenko Andriy
2023-07-21 15:35     ` Ng, Boon Khai
2023-07-21 15:48       ` Shevchenko, Andriy
2023-07-21 15:51         ` Ng, Boon Khai
2023-07-21  6:26 ` [Enable Designware XGMAC VLAN Stripping Feature 2/2] net: stmmac: dwxgmac2: Add support for HW-accelerated VLAN Stripping Boon, Khai, Ng <boon.khai.ng
2023-07-21 10:11   ` Krzysztof Kozlowski
2023-07-21 15:30     ` Ng, Boon Khai
2023-07-21 15:59       ` Florian Fainelli
2023-07-21 16:12         ` Ng, Boon Khai
2023-07-21 16:29           ` Florian Fainelli
2023-07-21 16:45             ` Ng, Boon Khai
2023-07-21 16:22         ` Krzysztof Kozlowski
2023-07-21 16:22       ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).