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
| ||
|
Date: Wed, 15 Jan 2020 13:53:43 +0200 From: Ido Schimmel <idosch@...sch.org> To: netdev@...r.kernel.org Cc: davem@...emloft.net, kuba@...nel.org, jiri@...lanox.com, mlxsw@...lanox.com, Ido Schimmel <idosch@...lanox.com> Subject: [PATCH net v2 0/6] mlxsw: Various fixes From: Ido Schimmel <idosch@...lanox.com> This patch set contains various fixes for mlxsw. Patch #1 splits the init() callback between Spectrum-2 and Spectrum-3 in order to avoid enforcing the same firmware version for both ASICs, as this can't possibly work. Without this patch the driver cannot boot with the Spectrum-3 ASIC. Patches #2-#3 fix a long standing race condition that was recently exposed while testing the driver on an emulator, which is very slow compared to the actual hardware. The problem is explained in detail in the commit messages. Patch #4 fixes a selftest. Patch #5 prevents offloaded qdiscs from presenting a non-zero backlog to the user when the netdev is down. This is done by clearing the cached backlog in the driver when the netdev goes down. Patch #6 fixes qdisc statistics (backlog and tail drops) to also take into account the multicast traffic classes. v2: * Patches #2-#3: use skb_cow_head() instead of skb_unshare() as suggested by Jakub. Remove unnecessary check regarding headroom * Patches #5-#6: new Ido Schimmel (3): mlxsw: spectrum: Do not enforce same firmware version for multiple ASICs mlxsw: spectrum: Do not modify cloned SKBs during xmit mlxsw: switchx2: Do not modify cloned SKBs during xmit Petr Machata (3): selftests: mlxsw: qos_mc_aware: Fix mausezahn invocation mlxsw: spectrum: Wipe xstats.backlog of down ports mlxsw: spectrum_qdisc: Include MC TCs in Qdisc counters .../net/ethernet/mellanox/mlxsw/spectrum.c | 54 ++++++++++++++----- .../ethernet/mellanox/mlxsw/spectrum_qdisc.c | 30 ++++++++--- .../net/ethernet/mellanox/mlxsw/switchx2.c | 17 +++--- .../drivers/net/mlxsw/qos_mc_aware.sh | 8 ++- 4 files changed, 76 insertions(+), 33 deletions(-) -- 2.24.1
Powered by blists - more mailing lists