Skip to content

mlx5: Support setting a parent for a devlink rate node

Tariq Toukan linux-rdma lkml 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 Latest4 patches 2 repliesApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4net/mlx5: Rename devlink rate parent set function for leaf nodesdrivers/net/ethernet/mellanox/mlx5/core/devlink.c drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c drivers/net/ethernet/mellanox/mlx5/core/esw/qos.h+9 -90 repliesApplied
2/4net/mlx5: Introduce hierarchy level tracking on scheduling nodesdrivers/net/ethernet/mellanox/mlx5/core/esw/qos.c+16 -30 repliesApplied
3/4net/mlx5: Preserve rate settings when creating a rate nodedrivers/net/ethernet/mellanox/mlx5/core/esw/qos.c+9 -40 repliesApplied
4/4net/mlx5: Add support for setting parent of nodesdrivers/net/ethernet/mellanox/mlx5/core/devlink.c drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c drivers/net/ethernet/mellanox/mlx5/core/esw/qos.h+110 -31 replyApplied

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchCosmin RatiuDragos TatuleaJacob Keller
SeriesR-b
1/4R-b R-b
2/4R-b R-b
3/4R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH net-next 0/4] mlx5: Support setting a parent for a devlink rate node

Hi,

This series by Carolina adds mlx5 support for the setting of a parent to devlink rate nodes.

By introducing a hierarchical level to scheduling nodes, these changes allow for more granular control over bandwidth allocation and isolation of Virtual Functions.

Function renaming for parent setting on leafs:
- net/mlx5: Rename devlink rate parent set function for leaf nodes

Add support for hierarchy level tracking:
- net/mlx5: Introduce hierarchy level tracking on scheduling nodes
- net/mlx5: Preserve rate settings when creating a rate node

Support setting parent for rate nodes:
- net/mlx5: Add support for setting parent of nodes

Regards,
Tariq

Carolina Jubran (4):
net/mlx5: Rename devlink rate parent set function for leaf nodes net/mlx5: Introduce hierarchy level tracking on scheduling nodes net/mlx5: Preserve rate settings when creating a rate node net/mlx5: Add support for setting parent of nodes

 .../net/ethernet/mellanox/mlx5/core/devlink.c |   3 +-
 .../net/ethernet/mellanox/mlx5/core/esw/qos.c | 146 ++++++++++++++++--
 .../net/ethernet/mellanox/mlx5/core/esw/qos.h |  12 +-
 3 files changed, 143 insertions(+), 18 deletions(-)

base-commit: 8ef890df4031121a94407c84659125cbccd3fdbe

Signature · 1 line
2.31.1