All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/8] mlxsw: Various updates
@ 2022-05-04  6:29 Ido Schimmel
  2022-05-04  6:29 ` [PATCH net-next 1/8] selftests: mlxsw: bail_on_lldpad before installing the cleanup trap Ido Schimmel
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Ido Schimmel @ 2022-05-04  6:29 UTC (permalink / raw)
  To: netdev; +Cc: davem, kuba, pabeni, edumazet, petrm, mlxsw, Ido Schimmel

Patches #1-#3 add missing topology diagrams in selftests and perform
small cleanups.

Patches #4-#5 make small adjustments in QoS configuration. See detailed
description in the commit messages.

Patches #6-#8 reduce the number of background EMAD transactions. The
driver periodically queries the device (via EMAD transactions) about
updates that cannot happen in certain situations. This can negatively
impact the latency of time critical transactions, as the device is busy
processing other transactions.

Before:

 # perf stat -a -e devlink:devlink_hwmsg -- sleep 10

  Performance counter stats for 'system wide':

                452      devlink:devlink_hwmsg

       10.009736160 seconds time elapsed

After:

 # perf stat -a -e devlink:devlink_hwmsg -- sleep 10

  Performance counter stats for 'system wide':

                  0      devlink:devlink_hwmsg

       10.001726333 seconds time elapsed

Ido Schimmel (3):
  mlxsw: spectrum_acl: Do not report activity for multicast routes
  mlxsw: spectrum_switchdev: Only query FDB notifications when necessary
  mlxsw: spectrum_router: Only query neighbour activity when necessary

Petr Machata (5):
  selftests: mlxsw: bail_on_lldpad before installing the cleanup trap
  selftests: router_vid_1: Add a diagram, fix coding style
  selftests: router.sh: Add a diagram
  mlxsw: spectrum_dcb: Do not warn about priority changes
  mlxsw: Treat LLDP packets as control

 .../mellanox/mlxsw/spectrum_acl_tcam.c        |  5 ++-
 .../ethernet/mellanox/mlxsw/spectrum_dcb.c    | 13 --------
 .../ethernet/mellanox/mlxsw/spectrum_router.c |  6 ++++
 .../ethernet/mellanox/mlxsw/spectrum_router.h |  1 +
 .../mellanox/mlxsw/spectrum_switchdev.c       | 31 ++++++++++++-------
 .../ethernet/mellanox/mlxsw/spectrum_trap.c   |  2 +-
 .../drivers/net/mlxsw/qos_headroom.sh         |  4 +--
 .../selftests/drivers/net/mlxsw/qos_pfc.sh    |  4 +--
 .../drivers/net/mlxsw/sch_red_ets.sh          |  5 ++-
 .../drivers/net/mlxsw/sch_red_root.sh         |  5 ++-
 .../selftests/net/forwarding/router.sh        | 18 +++++++++++
 .../selftests/net/forwarding/router_vid_1.sh  | 27 +++++++++++++++-
 12 files changed, 82 insertions(+), 39 deletions(-)

-- 
2.35.1


^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PATCH net-next 0/8] mlxsw: Various updates
@ 2021-06-08 12:44 Ido Schimmel
  2021-06-08 21:50 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 12+ messages in thread
From: Ido Schimmel @ 2021-06-08 12:44 UTC (permalink / raw)
  To: netdev
  Cc: davem, kuba, jiri, petrm, amcohen, vadimp, c_mykolak, mlxsw,
	Ido Schimmel

From: Ido Schimmel <idosch@nvidia.com>

This patchset contains various updates for mlxsw. The most significant
change is the long overdue removal of the abort mechanism in the first
two patches.

Patches #1-#2 remove the route abort mechanism. This change is long
overdue and explained in detail in the commit message.

Patch #3 sets ports down in a few selftests that forgot to do so.
Discovered using a BPF tool (WIP) that monitors ASIC resources.

Patch #4 fixes an issue introduced by commit 557c4d2f780c ("selftests:
devlink_lib: add check for devlink device existence").

Patches #5-#8 modify the driver to read transceiver module's temperature
thresholds using MTMP register (when supported) instead of directly from
the module's EEPROM using MCIA register. This is both more reliable and
more efficient as now the module's temperature and thresholds are read
using one transaction instead of three.

Amit Cohen (3):
  mlxsw: spectrum_router: Remove abort mechanism
  selftests: router_scale: Do not count failed routes
  selftests: Clean forgotten resources as part of cleanup()

Mykola Kostenok (4):
  mlxsw: reg: Extend MTMP register with new threshold field
  mlxsw: core_env: Read module temperature thresholds using MTMP
    register
  mlxsw: thermal: Add function for reading module temperature and
    thresholds
  mlxsw: thermal: Read module temperature thresholds using MTMP register

Petr Machata (1):
  selftests: devlink_lib: Fix bouncing of netdevsim DEVLINK_DEV

 .../net/ethernet/mellanox/mlxsw/core_env.c    |  13 +-
 .../net/ethernet/mellanox/mlxsw/core_hwmon.c  |   6 +-
 .../ethernet/mellanox/mlxsw/core_thermal.c    |  97 ++++++++-----
 drivers/net/ethernet/mellanox/mlxsw/reg.h     |  20 ++-
 .../ethernet/mellanox/mlxsw/spectrum_router.c | 129 +-----------------
 .../ethernet/mellanox/mlxsw/spectrum_router.h |   1 -
 .../net/mlxsw/devlink_trap_l3_drops.sh        |   3 +
 .../net/mlxsw/devlink_trap_l3_exceptions.sh   |   3 +
 .../drivers/net/mlxsw/qos_dscp_bridge.sh      |   2 +
 .../drivers/net/mlxsw/router_scale.sh         |   2 +-
 .../drivers/net/netdevsim/devlink_trap.sh     |   4 +-
 .../selftests/drivers/net/netdevsim/fib.sh    |   6 +-
 .../drivers/net/netdevsim/nexthop.sh          |   4 +-
 .../drivers/net/netdevsim/psample.sh          |   4 +-
 .../selftests/net/forwarding/devlink_lib.sh   |   2 +-
 .../selftests/net/forwarding/pedit_dsfield.sh |   2 +
 .../selftests/net/forwarding/pedit_l4port.sh  |   2 +
 .../net/forwarding/skbedit_priority.sh        |   2 +
 18 files changed, 132 insertions(+), 170 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2022-05-04 10:30 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-04  6:29 [PATCH net-next 0/8] mlxsw: Various updates Ido Schimmel
2022-05-04  6:29 ` [PATCH net-next 1/8] selftests: mlxsw: bail_on_lldpad before installing the cleanup trap Ido Schimmel
2022-05-04  6:29 ` [PATCH net-next 2/8] selftests: router_vid_1: Add a diagram, fix coding style Ido Schimmel
2022-05-04  6:29 ` [PATCH net-next 3/8] selftests: router.sh: Add a diagram Ido Schimmel
2022-05-04  6:29 ` [PATCH net-next 4/8] mlxsw: spectrum_dcb: Do not warn about priority changes Ido Schimmel
2022-05-04  6:29 ` [PATCH net-next 5/8] mlxsw: Treat LLDP packets as control Ido Schimmel
2022-05-04  6:29 ` [PATCH net-next 6/8] mlxsw: spectrum_acl: Do not report activity for multicast routes Ido Schimmel
2022-05-04  6:29 ` [PATCH net-next 7/8] mlxsw: spectrum_switchdev: Only query FDB notifications when necessary Ido Schimmel
2022-05-04  6:29 ` [PATCH net-next 8/8] mlxsw: spectrum_router: Only query neighbour activity " Ido Schimmel
2022-05-04 10:30 ` [PATCH net-next 0/8] mlxsw: Various updates patchwork-bot+netdevbpf
  -- strict thread matches above, loose matches on Subject: below --
2021-06-08 12:44 Ido Schimmel
2021-06-08 21:50 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.