Netdev List
 help / color / mirror / Atom feed
* [PATCH net 0/3] mlxsw: Various fixes
@ 2021-02-25 16:57 Ido Schimmel
  2021-02-25 16:57 ` [PATCH net 1/3] selftests: forwarding: Fix race condition in mirror installation Ido Schimmel
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Ido Schimmel @ 2021-02-25 16:57 UTC (permalink / raw)
  To: netdev; +Cc: davem, kuba, jiri, petrm, danieller, mlxsw, Ido Schimmel

From: Ido Schimmel <idosch@nvidia.com>

This patchset contains various fixes for mlxsw.

Patch #1 fixes a race condition in a selftest. The race and fix are
explained in detail in the changelog.

Patch #2 re-adds a link mode that was wrongly removed, resulting in a
regression in some setups.

Patch #3 fixes a race condition in route installation with nexthop
objects.

Please consider patches #2 and #3 for stable.

Danielle Ratson (2):
  selftests: forwarding: Fix race condition in mirror installation
  mlxsw: spectrum_ethtool: Add an external speed to PTYS register

Ido Schimmel (1):
  mlxsw: spectrum_router: Ignore routes using a deleted nexthop object

 drivers/net/ethernet/mellanox/mlxsw/reg.h                | 1 +
 drivers/net/ethernet/mellanox/mlxsw/spectrum_ethtool.c   | 5 +++++
 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c    | 7 +++++++
 drivers/net/ethernet/mellanox/mlxsw/switchx2.c           | 3 ++-
 .../net/forwarding/mirror_gre_bridge_1d_vlan.sh          | 9 +++++++++
 5 files changed, 24 insertions(+), 1 deletion(-)

-- 
2.29.2


^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCH net 0/3] mlxsw: Various fixes
@ 2020-10-24 13:37 Ido Schimmel
  2020-10-26 23:56 ` Jakub Kicinski
  0 siblings, 1 reply; 9+ messages in thread
From: Ido Schimmel @ 2020-10-24 13:37 UTC (permalink / raw)
  To: netdev; +Cc: davem, kuba, jiri, amcohen, mlxsw, Ido Schimmel

From: Ido Schimmel <idosch@nvidia.com>

This patch set contains various fixes for mlxsw.

Patch #1 ensures that only link modes that are supported by both the
device and the driver are advertised. When a link mode that is not
supported by the driver is negotiated by the device, it will be
presented as an unknown speed by ethtool, causing the bond driver to
wrongly assume that the link is down.

Patch #2 fixes a trivial memory leak upon module removal.

Patch #3 fixes a use-after-free that syzkaller was able to trigger once
on a slow emulator after a few months of fuzzing.

Amit Cohen (2):
  mlxsw: Only advertise link modes supported by both driver and device
  mlxsw: core: Fix use-after-free in mlxsw_emad_trans_finish()

Ido Schimmel (1):
  mlxsw: core: Fix memory leak on module removal

 drivers/net/ethernet/mellanox/mlxsw/core.c    |  5 ++++
 .../net/ethernet/mellanox/mlxsw/spectrum.c    |  9 ++++--
 .../net/ethernet/mellanox/mlxsw/spectrum.h    |  1 +
 .../mellanox/mlxsw/spectrum_ethtool.c         | 30 +++++++++++++++++++
 4 files changed, 43 insertions(+), 2 deletions(-)

-- 
2.26.2


^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCH net 0/3] mlxsw: Various fixes
@ 2019-09-26 11:43 Ido Schimmel
  2019-09-27 18:33 ` David Miller
  0 siblings, 1 reply; 9+ messages in thread
From: Ido Schimmel @ 2019-09-26 11:43 UTC (permalink / raw)
  To: netdev; +Cc: davem, jiri, alexanderk, mlxsw, Ido Schimmel

From: Ido Schimmel <idosch@mellanox.com>

This patchset includes two small fixes for the mlxsw driver and one
patch which clarifies recently introduced devlink-trap documentation.

Patch #1 clears the port's VLAN filters during port initialization. This
ensures that the drop reason reported to the user is consistent. The
problem is explained in detail in the commit message.

Patch #2 clarifies the description of one of the traps exposed via
devlink-trap.

Patch #3 from Danielle forbids the installation of a tc filter with
multiple mirror actions since this is not supported by the device. The
failure is communicated to the user via extack.

Danielle Ratson (1):
  mlxsw: spectrum_flower: Fail in case user specifies multiple mirror
    actions

Ido Schimmel (2):
  mlxsw: spectrum: Clear VLAN filters during port initialization
  Documentation: Clarify trap's description

 Documentation/networking/devlink-trap.rst                | 3 ++-
 drivers/net/ethernet/mellanox/mlxsw/spectrum.c           | 9 +++++++++
 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c    | 6 ++++++
 .../selftests/drivers/net/mlxsw/devlink_trap_l2_drops.sh | 7 -------
 4 files changed, 17 insertions(+), 8 deletions(-)

-- 
2.21.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-02-26 23:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-25 16:57 [PATCH net 0/3] mlxsw: Various fixes Ido Schimmel
2021-02-25 16:57 ` [PATCH net 1/3] selftests: forwarding: Fix race condition in mirror installation Ido Schimmel
2021-02-25 16:57 ` [PATCH net 2/3] mlxsw: spectrum_ethtool: Add an external speed to PTYS register Ido Schimmel
2021-02-25 16:57 ` [PATCH net 3/3] mlxsw: spectrum_router: Ignore routes using a deleted nexthop object Ido Schimmel
2021-02-26 23:50 ` [PATCH net 0/3] mlxsw: Various fixes patchwork-bot+netdevbpf
  -- strict thread matches above, loose matches on Subject: below --
2020-10-24 13:37 Ido Schimmel
2020-10-26 23:56 ` Jakub Kicinski
2019-09-26 11:43 Ido Schimmel
2019-09-27 18:33 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox