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  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:   Mon, 20 Jan 2020 09:52:49 +0200
From:   Ido Schimmel <idosch@...sch.org>
To:     netdev@...r.kernel.org
Cc:     davem@...emloft.net, jiri@...lanox.com, mlxsw@...lanox.com,
        Ido Schimmel <idosch@...lanox.com>
Subject: [PATCH net-next 0/4] mlxsw: Adjust SPAN egress mirroring buffer size handling for Spectrum-2

From: Ido Schimmel <idosch@...lanox.com>

Jiri says:

For Spectrum-2 the computation of SPAN egress mirroring buffer uses a
different formula. On top of MTU it needs also current port speed. Fix
the computation and also trigger the buffer size set according to PUDE
event, which happens when port speed changes.

Jiri Pirko (4):
  mlxsw: spectrum: Push code getting port speed into a helper
  mlxsw: spectrum_span: Put buffsize update code into helper function
  mlxsw: spectrum: Fix SPAN egress mirroring buffer size for Spectrum-2
  spectrum: Add a delayed work to update SPAN buffsize according to
    speed

 .../net/ethernet/mellanox/mlxsw/spectrum.c    | 59 ++++++++++++++++++
 .../net/ethernet/mellanox/mlxsw/spectrum.h    |  7 +++
 .../ethernet/mellanox/mlxsw/spectrum_ptp.c    | 14 +----
 .../ethernet/mellanox/mlxsw/spectrum_span.c   | 61 +++++++++++--------
 .../ethernet/mellanox/mlxsw/spectrum_span.h   |  1 +
 5 files changed, 105 insertions(+), 37 deletions(-)

-- 
2.24.1

Powered by blists - more mailing lists