提交 23ca5ec3 编写于 作者: A Arkadi Sharshevsky 提交者: David S. Miller

mlxsw: spectrum_dpipe: Fix erif table op name space

Fix ERIF's table operations name space.
Signed-off-by: NArkadi Sharshevsky <arkadis@mellanox.com>
Signed-off-by: NJiri Pirko <jiri@mellanox.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 3fb886ec
...@@ -215,8 +215,8 @@ static int mlxsw_sp_erif_entry_get(struct mlxsw_sp *mlxsw_sp, ...@@ -215,8 +215,8 @@ static int mlxsw_sp_erif_entry_get(struct mlxsw_sp *mlxsw_sp,
} }
static int static int
mlxsw_sp_table_erif_entries_dump(void *priv, bool counters_enabled, mlxsw_sp_dpipe_table_erif_entries_dump(void *priv, bool counters_enabled,
struct devlink_dpipe_dump_ctx *dump_ctx) struct devlink_dpipe_dump_ctx *dump_ctx)
{ {
struct devlink_dpipe_value match_value, action_value; struct devlink_dpipe_value match_value, action_value;
struct devlink_dpipe_action action = {0}; struct devlink_dpipe_action action = {0};
...@@ -279,7 +279,7 @@ mlxsw_sp_table_erif_entries_dump(void *priv, bool counters_enabled, ...@@ -279,7 +279,7 @@ mlxsw_sp_table_erif_entries_dump(void *priv, bool counters_enabled,
return err; return err;
} }
static int mlxsw_sp_table_erif_counters_update(void *priv, bool enable) static int mlxsw_sp_dpipe_table_erif_counters_update(void *priv, bool enable)
{ {
struct mlxsw_sp *mlxsw_sp = priv; struct mlxsw_sp *mlxsw_sp = priv;
int i; int i;
...@@ -304,8 +304,8 @@ static int mlxsw_sp_table_erif_counters_update(void *priv, bool enable) ...@@ -304,8 +304,8 @@ static int mlxsw_sp_table_erif_counters_update(void *priv, bool enable)
static struct devlink_dpipe_table_ops mlxsw_sp_erif_ops = { static struct devlink_dpipe_table_ops mlxsw_sp_erif_ops = {
.matches_dump = mlxsw_sp_dpipe_table_erif_matches_dump, .matches_dump = mlxsw_sp_dpipe_table_erif_matches_dump,
.actions_dump = mlxsw_sp_dpipe_table_erif_actions_dump, .actions_dump = mlxsw_sp_dpipe_table_erif_actions_dump,
.entries_dump = mlxsw_sp_table_erif_entries_dump, .entries_dump = mlxsw_sp_dpipe_table_erif_entries_dump,
.counters_set_update = mlxsw_sp_table_erif_counters_update, .counters_set_update = mlxsw_sp_dpipe_table_erif_counters_update,
}; };
static int mlxsw_sp_dpipe_erif_table_init(struct mlxsw_sp *mlxsw_sp) static int mlxsw_sp_dpipe_erif_table_init(struct mlxsw_sp *mlxsw_sp)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册