Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mlxsw: spectrum_acl: Rename rehash_dis trace

The name of the trace is no longer correct, since there is no disable of
rehash done. So name it "rehash_rollback_failed".

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Jiri Pirko and committed by
David S. Miller
a4e76ba6 7c33c72b

+3 -3
+2 -2
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c
··· 1399 1399 err2 = mlxsw_sp_acl_tcam_vchunk_migrate_all(mlxsw_sp, vregion, 1400 1400 ctx, credits); 1401 1401 if (err2) { 1402 - trace_mlxsw_sp_acl_tcam_vregion_rehash_dis(mlxsw_sp, 1403 - vregion); 1402 + trace_mlxsw_sp_acl_tcam_vregion_rehash_rollback_failed(mlxsw_sp, 1403 + vregion); 1404 1404 dev_err(mlxsw_sp->bus_info->dev, "Failed to rollback during vregion migration fail\n"); 1405 1405 /* Let the rollback to be continued later on. */ 1406 1406 }
+1 -1
include/trace/events/mlxsw.h
··· 93 93 __entry->mlxsw_sp, __entry->vregion) 94 94 ); 95 95 96 - TRACE_EVENT(mlxsw_sp_acl_tcam_vregion_rehash_dis, 96 + TRACE_EVENT(mlxsw_sp_acl_tcam_vregion_rehash_rollback_failed, 97 97 TP_PROTO(const struct mlxsw_sp *mlxsw_sp, 98 98 const struct mlxsw_sp_acl_tcam_vregion *vregion), 99 99