]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx5: Refactor vport scheduling element creation function
authorCarolina Jubran <cjubran@nvidia.com>
Wed, 16 Oct 2024 17:36:09 +0000 (20:36 +0300)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 21 Oct 2024 11:26:17 +0000 (13:26 +0200)
commit88d5fbcb7ba0b94aeb054dd576ff6e43d026c1fe
tree6f54c4940cea3fa7d3f853e0d5431d0d6f181a40
parent1c25d4388ba69bd67a29b20278f9da46d092dd72
net/mlx5: Refactor vport scheduling element creation function

Modify the vport scheduling element creation function to get the parent
node directly, aligning it with the group creation function.

This ensures a consistent flow for scheduling elements creation, as the
parent nodes already contain the device and parent element index.

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