Skip to content

mlx5 esw qos refactor and SHAMPO cleanup

Tariq Toukan netdev 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 0 repliesApplied 12/12

Patches in v1 All 12 applied

#Subject and filesSizeRepliesApplied
1/12net/mlx5: E-switch, refactor eswitch mode changedrivers/net/ethernet/mellanox/mlx5/core/eswitch.c drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c+21 -60 repliesApplied
2/12net/mlx5: Simplify QoS normalization by removing error handlingdrivers/net/ethernet/mellanox/mlx5/core/esw/qos.c+17 -550 repliesApplied
3/12net/mlx5: Generalize max_rate and min_rate setting for nodesdrivers/net/ethernet/mellanox/mlx5/core/esw/qos.c+13 -560 repliesApplied
4/12net/mlx5: Refactor scheduling element configuration bitmasksdrivers/net/ethernet/mellanox/mlx5/core/esw/qos.c+24 -560 repliesApplied
5/12net/mlx5: Generalize scheduling element operationsdrivers/net/ethernet/mellanox/mlx5/core/esw/qos.c+76 -810 repliesApplied
6/12net/mlx5: Integrate esw_qos_vport_enable logic into rate operationsdrivers/net/ethernet/mellanox/mlx5/core/esw/qos.c+39 -480 repliesApplied
7/12net/mlx5: Make vport QoS enablement more flexible for future extensionsdrivers/net/ethernet/mellanox/mlx5/core/esw/devlink_port.c drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c drivers/net/ethernet/mellanox/mlx5/core/esw/qos.h +2 more+96 -1110 repliesApplied
8/12net/mlx5e: SHAMPO, Simplify UMR allocation for headersdrivers/net/ethernet/mellanox/mlx5/core/en.h drivers/net/ethernet/mellanox/mlx5/core/en_rx.c+12 -180 repliesApplied
9/12net/mlx5e: SHAMPO, Fix page_index calculation inconsistencydrivers/net/ethernet/mellanox/mlx5/core/en.h drivers/net/ethernet/mellanox/mlx5/core/en_main.c drivers/net/ethernet/mellanox/mlx5/core/en_rx.c+5 -60 repliesApplied
10/12net/mlx5e: SHAMPO, Change frag page setup order during allocationdrivers/net/ethernet/mellanox/mlx5/core/en_rx.c+2 -40 repliesApplied
11/12net/mlx5e: SHAMPO, Drop info arraydrivers/net/ethernet/mellanox/mlx5/core/en.h drivers/net/ethernet/mellanox/mlx5/core/en_main.c drivers/net/ethernet/mellanox/mlx5/core/en_rx.c+42 -440 repliesApplied
12/12net/mlx5e: SHAMPO, Rework header allocation loopdrivers/net/ethernet/mellanox/mlx5/core/en_rx.c+17 -150 repliesApplied

Reviews trailers per patch

7 of 12 patches have a Reviewed-by or Acked-by.

PatchMark BlochCosmin Ratiu
1/12R-b
2/12R-b
3/12R-b
4/12R-b
5/12R-b
6/12R-b
7/12R-b
8/12
9/12
10/12
11/12
12/12

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 00/12] mlx5 esw qos refactor and SHAMPO cleanup

Hi,

This patchset for the mlx5 core and Eth drivers consists of 3 parts.

First patch by Patrisious improves the E-switch mode change operation.

The following 6 patches by Carolina introduce further refactoring for the QoS handling, to set the foundation for future extensions.

In the following 5 patches by Dragos, we enhance the SHAMPO datapath flow by simplifying some logic, and cleaning up the implementation.

Series generated against:
commit 702c290a1cb1 ("sctp: Avoid enqueuing addr events redundantly")

Thanks,
Tariq

Carolina Jubran (6):
net/mlx5: Simplify QoS normalization by removing error handling net/mlx5: Generalize max_rate and min_rate setting for nodes net/mlx5: Refactor scheduling element configuration bitmasks net/mlx5: Generalize scheduling element operations net/mlx5: Integrate esw_qos_vport_enable logic into rate operations net/mlx5: Make vport QoS enablement more flexible for future
extensions

Dragos Tatulea (5):
net/mlx5e: SHAMPO, Simplify UMR allocation for headers net/mlx5e: SHAMPO, Fix page_index calculation inconsistency net/mlx5e: SHAMPO, Change frag page setup order during allocation net/mlx5e: SHAMPO, Drop info array
net/mlx5e: SHAMPO, Rework header allocation loop

Patrisious Haddad (1):
net/mlx5: E-switch, refactor eswitch mode change

 drivers/net/ethernet/mellanox/mlx5/core/en.h  |   5 +-
 .../net/ethernet/mellanox/mlx5/core/en_main.c |  15 +-
 .../net/ethernet/mellanox/mlx5/core/en_rx.c   | 123 ++--
 .../mellanox/mlx5/core/esw/devlink_port.c     |   2 +-
 .../net/ethernet/mellanox/mlx5/core/esw/qos.c | 558 +++++++-----------
 .../net/ethernet/mellanox/mlx5/core/esw/qos.h |   1 +
 .../net/ethernet/mellanox/mlx5/core/eswitch.c |   7 +-
 .../net/ethernet/mellanox/mlx5/core/eswitch.h |   5 +-
 .../mellanox/mlx5/core/eswitch_offloads.c     |  26 +-
 9 files changed, 303 insertions(+), 439 deletions(-)
Signature · 1 line
2.44.0