OSDN Git Service

mlxsw: spectrum_acl: Rename rehash_dis trace
authorJiri Pirko <jiri@mellanox.com>
Sun, 31 Mar 2019 06:49:41 +0000 (06:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 31 Mar 2019 18:01:23 +0000 (11:01 -0700)
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>
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c
include/trace/events/mlxsw.h

index 2f0b61b..e993159 100644 (file)
@@ -1399,8 +1399,8 @@ mlxsw_sp_acl_tcam_vregion_migrate(struct mlxsw_sp *mlxsw_sp,
                err2 = mlxsw_sp_acl_tcam_vchunk_migrate_all(mlxsw_sp, vregion,
                                                            ctx, credits);
                if (err2) {
-                       trace_mlxsw_sp_acl_tcam_vregion_rehash_dis(mlxsw_sp,
-                                                                  vregion);
+                       trace_mlxsw_sp_acl_tcam_vregion_rehash_rollback_failed(mlxsw_sp,
+                                                                              vregion);
                        dev_err(mlxsw_sp->bus_info->dev, "Failed to rollback during vregion migration fail\n");
                        /* Let the rollback to be continued later on. */
                }
index 6a4cfae..19a25ed 100644 (file)
@@ -93,7 +93,7 @@ TRACE_EVENT(mlxsw_sp_acl_tcam_vregion_migrate_end,
                  __entry->mlxsw_sp, __entry->vregion)
 );
 
-TRACE_EVENT(mlxsw_sp_acl_tcam_vregion_rehash_dis,
+TRACE_EVENT(mlxsw_sp_acl_tcam_vregion_rehash_rollback_failed,
        TP_PROTO(const struct mlxsw_sp *mlxsw_sp,
                 const struct mlxsw_sp_acl_tcam_vregion *vregion),