[Enable Designware XGMAC VLAN Stripping Feature 0/2]

Boon@ecsmtp.png.intel.com posted 2 patches 2 years, 1 month ago
There is a newer version of this series
.../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(-)
[Enable Designware XGMAC VLAN Stripping Feature 0/2]
Posted by Boon@ecsmtp.png.intel.com 2 years, 1 month ago
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