mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 04:19:23 -04:00
net/mlx5: E-Switch, Use correct type for chain, prio and level values
The correct type is u32.
Fixes: d18296ffd9 ("net/mlx5: E-Switch, Introduce global tables")
Signed-off-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Paul Blakey <paulb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
This commit is contained in:
committed by
Saeed Mahameed
parent
c8508713c7
commit
d528d49705
@@ -730,7 +730,8 @@ mlx5_esw_chains_get_tc_end_ft(struct mlx5_eswitch *esw)
|
||||
struct mlx5_flow_table *
|
||||
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)) {
|
||||
err = -EOPNOTSUPP;
|
||||
|
||||
Reference in New Issue
Block a user