]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Reserved field in mbox profile shouldn't be set
authorTal Bar <talb@mellanox.com>
Mon, 19 Mar 2018 07:51:01 +0000 (09:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Mar 2018 16:11:02 +0000 (12:11 -0400)
commitff69a24edf283fed17ea614f72791703986c793b
treed9a3c0a70b41d0009949dd32b0de02d91a61b010
parent0746dc70a62c620a5fd1ff93dd95f99b0dc49c96
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>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c