mbox series

[net-next,00/12] mlx5 esw qos refactor and SHAMPO cleanup

Message ID 20241107194357.683732-1-tariqt@nvidia.com (mailing list archive)
Headers show
Series mlx5 esw qos refactor and SHAMPO cleanup | expand

Message

Tariq Toukan Nov. 7, 2024, 7:43 p.m. UTC
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(-)