Skip to content

Commit 47bcd9b

Browse files
cjubrankuba-moo
authored andcommitted
net/mlx5: Restore missing trace event when enabling vport QoS
Restore the `trace_mlx5_esw_vport_qos_create` event when creating the vport scheduling element. This trace event was lost during refactoring. Fixes: be034ba ("net/mlx5: Make vport QoS enablement more flexible for future extensions") Signed-off-by: Carolina Jubran <[email protected]> Reviewed-by: Dragos Tatulea <[email protected]> Signed-off-by: Tariq Toukan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 7f3528f commit 47bcd9b

File tree

1 file changed

+3
-0
lines changed
  • drivers/net/ethernet/mellanox/mlx5/core/esw

1 file changed

+3
-0
lines changed

drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,9 @@ static int esw_qos_vport_enable(struct mlx5_vport *vport, struct mlx5_esw_sched_
564564
return err;
565565

566566
esw_qos_normalize_min_rate(parent->esw, parent, extack);
567+
trace_mlx5_esw_vport_qos_create(vport->dev, vport,
568+
vport->qos.sched_node->max_rate,
569+
vport->qos.sched_node->bw_share);
567570

568571
return 0;
569572
}

0 commit comments

Comments
 (0)