[PATCH v1 0/8] drivers: net: stmicro: Add VLAN support

Boon Khai Ng posted 8 patches 2 years, 10 months ago
Only 0 patches received!
drivers/net/ethernet/stmicro/stmmac/common.h  |   1 +
.../net/ethernet/stmicro/stmmac/dwxgmac2.h    |  56 +++
.../ethernet/stmicro/stmmac/dwxgmac2_core.c   | 328 +++++++++++++++++-
.../ethernet/stmicro/stmmac/dwxgmac2_descs.c  |  15 +
drivers/net/ethernet/stmicro/stmmac/hwif.h    |  16 +
.../net/ethernet/stmicro/stmmac/stmmac_main.c |  30 +-
.../ethernet/stmicro/stmmac/stmmac_platform.c |  13 +
include/linux/stmmac.h                        |   1 +
8 files changed, 452 insertions(+), 8 deletions(-)
[PATCH v1 0/8] drivers: net: stmicro: Add VLAN support
Posted by Boon Khai Ng 2 years, 10 months ago
Hi,
The Designware 10G MAC(dwxgmac) driver has lack of vlan support in term of
hardware, such as the hardware accelerated VLAN stripping, hardware filtering
and vlan fail queue. These patches are meant to enable not only the hardware
support of VLAN features but also the promiscous mode. 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.

Boon Khai Ng (8):
  drivers: net: stmmac_main: Add support for HW-accelerated VLAN
    Stripping
  drivers: net: stmmac_main: fix vlan toggle option.
  drivers: net: stmmac: Add support for HW-accelerated VLAN Stripping
  drivers: net: dwmac: Add use_hw_vlan setting
  net: stmmac: Add support for VLAN Rx filtering
  net: stmmac: Add support for VLAN promiscuous mode
  net: stmmac: Add Double VLAN handling for VLAN Rx filtering
  net: stmmac: Add option for VLAN filter fail queue enable

 drivers/net/ethernet/stmicro/stmmac/common.h  |   1 +
 .../net/ethernet/stmicro/stmmac/dwxgmac2.h    |  56 +++
 .../ethernet/stmicro/stmmac/dwxgmac2_core.c   | 328 +++++++++++++++++-
 .../ethernet/stmicro/stmmac/dwxgmac2_descs.c  |  15 +
 drivers/net/ethernet/stmicro/stmmac/hwif.h    |  16 +
 .../net/ethernet/stmicro/stmmac/stmmac_main.c |  30 +-
 .../ethernet/stmicro/stmmac/stmmac_platform.c |  13 +
 include/linux/stmmac.h                        |   1 +
 8 files changed, 452 insertions(+), 8 deletions(-)

-- 
2.25.1
Please ignore this review, send out by accident.
Posted by Boon Khai Ng 2 years, 10 months ago
My appologies for sending out this review by accident, this is meant for internal reivew,
kindly ignore and close this thread. Thanks.