Skip to content

Commit 23ca5ec

Browse files
Arkadi Sharshevskydavem330
authored andcommitted
mlxsw: spectrum_dpipe: Fix erif table op name space
Fix ERIF's table operations name space. Signed-off-by: Arkadi Sharshevsky <[email protected]> Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 3fb886e commit 23ca5ec

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

drivers/net/ethernet/mellanox/mlxsw/spectrum_dpipe.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ static int mlxsw_sp_erif_entry_get(struct mlxsw_sp *mlxsw_sp,
215215
}
216216

217217
static int
218-
mlxsw_sp_table_erif_entries_dump(void *priv, bool counters_enabled,
219-
struct devlink_dpipe_dump_ctx *dump_ctx)
218+
mlxsw_sp_dpipe_table_erif_entries_dump(void *priv, bool counters_enabled,
219+
struct devlink_dpipe_dump_ctx *dump_ctx)
220220
{
221221
struct devlink_dpipe_value match_value, action_value;
222222
struct devlink_dpipe_action action = {0};
@@ -279,7 +279,7 @@ mlxsw_sp_table_erif_entries_dump(void *priv, bool counters_enabled,
279279
return err;
280280
}
281281

282-
static int mlxsw_sp_table_erif_counters_update(void *priv, bool enable)
282+
static int mlxsw_sp_dpipe_table_erif_counters_update(void *priv, bool enable)
283283
{
284284
struct mlxsw_sp *mlxsw_sp = priv;
285285
int i;
@@ -304,8 +304,8 @@ static int mlxsw_sp_table_erif_counters_update(void *priv, bool enable)
304304
static struct devlink_dpipe_table_ops mlxsw_sp_erif_ops = {
305305
.matches_dump = mlxsw_sp_dpipe_table_erif_matches_dump,
306306
.actions_dump = mlxsw_sp_dpipe_table_erif_actions_dump,
307-
.entries_dump = mlxsw_sp_table_erif_entries_dump,
308-
.counters_set_update = mlxsw_sp_table_erif_counters_update,
307+
.entries_dump = mlxsw_sp_dpipe_table_erif_entries_dump,
308+
.counters_set_update = mlxsw_sp_dpipe_table_erif_counters_update,
309309
};
310310

311311
static int mlxsw_sp_dpipe_erif_table_init(struct mlxsw_sp *mlxsw_sp)

0 commit comments

Comments
 (0)