Commit d528d497 authored by Roi Dayan's avatar Roi Dayan Committed by Saeed Mahameed

net/mlx5: E-Switch, Use correct type for chain, prio and level values

The correct type is u32.

Fixes: d18296ff ("net/mlx5: E-Switch, Introduce global tables")
Signed-off-by: default avatarRoi Dayan <roid@mellanox.com>
Reviewed-by: default avatarPaul Blakey <paulb@mellanox.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
parent c8508713
...@@ -730,7 +730,8 @@ mlx5_esw_chains_get_tc_end_ft(struct mlx5_eswitch *esw) ...@@ -730,7 +730,8 @@ mlx5_esw_chains_get_tc_end_ft(struct mlx5_eswitch *esw)
struct mlx5_flow_table * struct mlx5_flow_table *
mlx5_esw_chains_create_global_table(struct mlx5_eswitch *esw) mlx5_esw_chains_create_global_table(struct mlx5_eswitch *esw)
{ {
int chain, prio, level, err; u32 chain, prio, level;
int err;
if (!fdb_ignore_flow_level_supported(esw)) { if (!fdb_ignore_flow_level_supported(esw)) {
err = -EOPNOTSUPP; err = -EOPNOTSUPP;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment