Skip to content

mlxsw: Various updates

Ido Schimmel netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesApplied 8/8

Patches in v1 All 8 applied

#Subject and filesSizeRepliesApplied
1/8selftests: mlxsw: bail_on_lldpad before installing the cleanup traptools/testing/selftests/drivers/net/mlxsw/qos_headroom.sh tools/testing/selftests/drivers/net/mlxsw/qos_pfc.sh tools/testing/selftests/drivers/net/mlxsw/sch_red_ets.sh +1 more+8 -100 repliesApplied
2/8selftests: router_vid_1: Add a diagram, fix coding styletools/testing/selftests/net/forwarding/router_vid_1.sh+26 -10 repliesApplied
3/8selftests: router.sh: Add a diagramtools/testing/selftests/net/forwarding/router.sh+18 -00 repliesApplied
4/8mlxsw: spectrum_dcb: Do not warn about priority changesdrivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c+0 -130 repliesApplied
5/8mlxsw: Treat LLDP packets as controldrivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c+1 -10 repliesApplied
6/8mlxsw: spectrum_acl: Do not report activity for multicast routesdrivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c+2 -30 repliesApplied
7/8mlxsw: spectrum_switchdev: Only query FDB notifications when necessarydrivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c+20 -110 repliesApplied
8/8mlxsw: spectrum_router: Only query neighbour activity when necessarydrivers/net/ethernet/mellanox/mlxsw/spectrum_router.c drivers/net/ethernet/mellanox/mlxsw/spectrum_router.h+7 -00 repliesApplied

Reviews trailers per patch

3 of 8 patches have a Reviewed-by or Acked-by.

PatchPetr Machata
1/8
2/8
3/8
4/8
5/8
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/8] mlxsw: Various updates

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(-)
Signature · 1 line
2.35.1