lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 30 Mar 2023 15:02:27 +0800
From:   Boon Khai Ng <boon.khai.ng@...el.com>
To:     "David S . Miller" <davem@...emloft.net>
Cc:     linux-kernel@...r.kernel.org,
        Mun Yew Tham <mun.yew.tham@...el.com>,
        Tien Sung Ang <tien.sung.ang@...el.com>,
        Boon Khai Ng <boon.khai.ng@...el.com>
Subject: [PATCH v1 0/8] drivers: net: stmicro: Add VLAN support

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ