]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx5: Simplify QoS scheduling element configuration
authorCarolina Jubran <cjubran@nvidia.com>
Wed, 16 Oct 2024 17:36:12 +0000 (20:36 +0300)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 21 Oct 2024 11:26:17 +0000 (13:26 +0200)
commit70744a46aabfaea925cd0ebf172e1bd21ce58148
treedb1c0aefa93f9c3cfb4f579ec2f0072475db2cd4
parentebecc37befb184c0a4316006df0eef83039a2475
net/mlx5: Simplify QoS scheduling element configuration

Simplify the configuration of QoS scheduling elements by removing the
separate functions `esw_qos_node_config` and `esw_qos_vport_config`.

Instead, directly use the existing `esw_qos_sched_elem_config` function
for both nodes and vports.

This unification helps in generalizing operations on scheduling
elements 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