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:   Sun, 3 Mar 2019 09:12:06 +0000
From:   Ido Schimmel <idosch@...lanox.com>
To:     "netdev@...r.kernel.org" <netdev@...r.kernel.org>
CC:     "davem@...emloft.net" <davem@...emloft.net>,
        Jiri Pirko <jiri@...lanox.com>,
        Vadim Pasternak <vadimp@...lanox.com>,
        mlxsw <mlxsw@...lanox.com>, Ido Schimmel <idosch@...lanox.com>
Subject: [PATCH net-next 0/8] mlxsw: minimal: Add ethtool and resource query
 support

Vadim says:

The minimal driver is chip independent and uses I2C bus for chip access.
Its purpose is to support chassis management on systems equipped with
Mellanox switch ASICs. For example, from a BMC (Board Management
Controller) device.

Patches #1-#3 add ethtool support to the minimal driver so that QSFP/SFP
module info could be retrieved by the driver. This is done by exposing a
dummy netdev for each front panel port and implementing the required
ethtool operations.

Patches #4-#8 add resource query support. This allows the driver to
query the firmware about values of certain resources (e.g., maximum
number of ports). It is required on systems where the maximum number of
ports is larger than the hard coded default (64).

Vadim Pasternak (8):
  mlxsw: core: Move ethtool module callbacks to a common location
  mlxsw: minimal: Make structures and variables names shorter
  mlxsw: minimal: Add ethtool support
  mlxsw: core: Move resource query API to common location
  mlxsw: i2c: Fix comment misspelling
  mlxsw: i2c: Modify input parameter name in initialization API
  mlxsw: i2c: Extend input parameters list of command API
  mlxsw: i2c: Extend initialization by querying resources data

 drivers/net/ethernet/mellanox/mlxsw/core.c    |  37 ++
 drivers/net/ethernet/mellanox/mlxsw/core.h    |   2 +
 .../net/ethernet/mellanox/mlxsw/core_env.c    | 121 ++++++
 .../net/ethernet/mellanox/mlxsw/core_env.h    |   7 +
 drivers/net/ethernet/mellanox/mlxsw/i2c.c     | 136 +++++--
 drivers/net/ethernet/mellanox/mlxsw/minimal.c | 361 +++++++++++++++++-
 drivers/net/ethernet/mellanox/mlxsw/pci.c     |  38 +-
 .../net/ethernet/mellanox/mlxsw/spectrum.c    | 118 +-----
 8 files changed, 634 insertions(+), 186 deletions(-)

-- 
2.20.1

Powered by blists - more mailing lists