lkml.org 
[lkml]   [2023]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[Enable Designware XGMAC VLAN Stripping Feature 0/2]
Date
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

\
 
 \ /
  Last update: 2023-07-21 08:27    [W:0.122 / U:0.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site