]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx5: qos: Add an explicit 'dev' to vport trace calls
authorCosmin Ratiu <cratiu@nvidia.com>
Tue, 8 Oct 2024 18:32:17 +0000 (21:32 +0300)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 10 Oct 2024 11:12:00 +0000 (13:12 +0200)
commit0c4cf09eca83634e859c51be9dded6b535190a88
tree1ab19c9c9501ca06acae7c0e3f7cfe69f232acb8
parentb9cfe193eb8fa3468fbd5585f92ed77648488b98
net/mlx5: qos: Add an explicit 'dev' to vport trace calls

vport qos trace calls used vport->dev implicitly as the device to which
the command was sent (and thus the device logged in traces).
But that will no longer be the case for cross-esw scheduling, where the
commands have to be sent to the group esw device instead.

This commit corrects that.

Signed-off-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/diag/qos_tracepoint.h
drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c