]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx5: Generalize QoS operations for nodes and vports
authorCarolina Jubran <cjubran@nvidia.com>
Wed, 16 Oct 2024 17:36:13 +0000 (20:36 +0300)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 21 Oct 2024 11:26:17 +0000 (13:26 +0200)
commita1903bf50f2e67f8f5c67743d57c76ab19e795a5
treef60e97f32af57ef6aae5a71a68685ae29f8f8286
parent70744a46aabfaea925cd0ebf172e1bd21ce58148
net/mlx5: Generalize QoS operations for nodes and vports

Refactor QoS normalization and rate calculation functions to operate
on mlx5_esw_sched_node, allowing for generalized handling of both
vports and nodes.

Signed-off-by: Carolina Jubran <cjubran@nvidia.com>
Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c