aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/lib/test_modules_helpers.c
diff options
context:
space:
mode:
authorCarolina Jubran <[email protected]>2025-03-10 21:26:56 +0000
committerPaolo Abeni <[email protected]>2025-03-18 09:36:55 +0000
commit9c7bbf4c3304f139faad4b753241963f875b4195 (patch)
treed7482573d9917378e6532cd54cd8b087f98c5bf6 /arch/s390/lib/test_modules_helpers.c
parentnet/mlx5: Preserve rate settings when creating a rate node (diff)
downloadkernel-9c7bbf4c3304f139faad4b753241963f875b4195.tar.gz
kernel-9c7bbf4c3304f139faad4b753241963f875b4195.zip
net/mlx5: Add support for setting parent of nodes
Introduce `mlx5_esw_devlink_rate_node_parent_set()` to allow assigning a parent to scheduling nodes. Implement `mlx5_esw_qos_node_update_parent()` and `mlx5_esw_qos_node_validate_set_parent()` to enforce constraints on node reassignment. Don't allow reassignment of nodes with active rate objects. Update `esw_qos_node_set_parent()` to handle cases where the parent is NULL. A NULL parent indicates that the scheduling element is attached to the root scheduling element, and since only rate nodes can be connected to the root, this update is now necessary. Signed-off-by: Carolina Jubran <[email protected]> Reviewed-by: Cosmin Ratiu <[email protected]> Reviewed-by: Dragos Tatulea <[email protected]> Signed-off-by: Tariq Toukan <[email protected]> Link: https://patch.msgid.link/[email protected] Reviewed-by: Jacob Keller <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'arch/s390/lib/test_modules_helpers.c')
0 files changed, 0 insertions, 0 deletions