diff options
author | Tal Bar <talb@mellanox.com> | 2018-03-19 10:51:01 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-20 19:11:02 +0300 |
commit | 7e8c711661ce21ceba5be861b1b3d30f325a4db1 (patch) | |
tree | d9a3c0a70b41d0009949dd32b0de02d91a61b010 /drivers/net/ethernet/mellanox/mlxsw/spectrum.c | |
parent | 830a8b1b001d3c2b4dfaa97d0eea5b9d6b03ae62 (diff) | |
download | linux-7e8c711661ce21ceba5be861b1b3d30f325a4db1.tar.xz |
mlxsw: spectrum: Reserved field in mbox profile shouldn't be set
There is no need to set some of the fields within 'mbox_config_profile',
since they are reserved and capability mask should be set to zero.
Signed-off-by: Tal Bar <talb@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum.c')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum.c index 7884e8a2de35..a120602bca26 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum.c +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum.c @@ -3779,12 +3779,8 @@ static void mlxsw_sp_fini(struct mlxsw_core *mlxsw_core) } static const struct mlxsw_config_profile mlxsw_sp_config_profile = { - .used_max_vepa_channels = 1, - .max_vepa_channels = 0, .used_max_mid = 1, .max_mid = MLXSW_SP_MID_MAX, - .used_max_pgt = 1, - .max_pgt = 0, .used_flood_tables = 1, .used_flood_mode = 1, .flood_mode = 3, |