diff options
author | Chris Mi <cmi@nvidia.com> | 2021-04-26 05:06:37 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-07-28 01:10:06 +0200 |
commit | 740452e09cf5fc489ce60831cf11abef117b5d26 (patch) | |
tree | 30c4b451b3747fd55dbcb3b6c307de0c9d386ba2 /drivers | |
parent | net/mlx5e: Fix nullptr in mlx5e_hairpin_get_mdev() (diff) | |
download | linux-740452e09cf5fc489ce60831cf11abef117b5d26.tar.xz linux-740452e09cf5fc489ce60831cf11abef117b5d26.zip |
net/mlx5: Fix mlx5_vport_tbl_attr chain from u16 to u32
The offending refactor commit uses u16 chain wrongly. Actually, it
should be u32.
Fixes: c620b772152b ("net/mlx5: Refactor tc flow attributes structure")
CC: Ariel Levkovich <lariel@nvidia.com>
Signed-off-by: Chris Mi <cmi@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/eswitch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h index 48cac5bf606d..d562edf5b0bc 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h @@ -636,7 +636,7 @@ struct esw_vport_tbl_namespace { }; struct mlx5_vport_tbl_attr { - u16 chain; + u32 chain; u16 prio; u16 vport; const struct esw_vport_tbl_namespace *vport_ns; |