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:   Wed,  8 May 2019 23:13:27 +0200
From:   Michael Grzeschik <m.grzeschik@...gutronix.de>
To:     Tristram.Ha@...rochip.com
Cc:     kernel@...gutronix.de, UNGLinuxDriver@...rochip.com,
        netdev@...r.kernel.org
Subject: [RFC 0/3] microchip: add support for ksz8863 driver family

This series adds support for the ksz8863 driver family to the
dsa based ksz drivers. For now the ksz8863 nad ksz8873 are compatible.

The driver is based on the ksz8895 RFC patch from Tristam Ha:

https://patchwork.ozlabs.org/patch/822712/

And the latest version of the ksz8863.h from Microchip:

https://raw.githubusercontent.com/Microchip-Ethernet/UNG8071_old_1.10/master/KSZ/linux-drivers/ksz8863/linux-3.14/drivers/net/ethernet/micrel/ksz8863.h

The driver works as expected on the machine including the switch. The
clients on the other hand behind the switch see some bandwidth issues
after the stack was bootet and configured appropriate via:

ip link add name br0 type bridge

ip link set dev eth1 master br0
ip link set dev eth2 master br0

@Tristam: Could you have a look if something obious was misconfigured?

Michael Grzeschik (3):
  mdio-bitbang: add SMI0 mode support
  ksz: Add Microchip KSZ8873 SMI-DSA driver
  dt-bindings: net: dsa: document additional Microchip KSZ8863 family
    switches

 .../devicetree/bindings/net/dsa/ksz.txt       |   44 +
 drivers/net/dsa/microchip/Kconfig             |   16 +
 drivers/net/dsa/microchip/Makefile            |    2 +
 drivers/net/dsa/microchip/ksz8863.c           | 1026 +++++++++++++++++
 drivers/net/dsa/microchip/ksz8863_reg.h       |  605 ++++++++++
 drivers/net/dsa/microchip/ksz8863_smi.c       |  105 ++
 drivers/net/dsa/microchip/ksz_priv.h          |    3 +
 drivers/net/phy/mdio-bitbang.c                |   10 +
 include/linux/phy.h                           |   12 +
 include/net/dsa.h                             |    2 +
 net/dsa/Kconfig                               |    7 +
 net/dsa/tag_ksz.c                             |   45 +
 12 files changed, 1877 insertions(+)
 create mode 100644 drivers/net/dsa/microchip/ksz8863.c
 create mode 100644 drivers/net/dsa/microchip/ksz8863_reg.h
 create mode 100644 drivers/net/dsa/microchip/ksz8863_smi.c

-- 
2.20.1

Powered by blists - more mailing lists