OSDN Git Service

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)
commit7e8c711661ce21ceba5be861b1b3d30f325a4db1
treed9a3c0a70b41d0009949dd32b0de02d91a61b010
parent830a8b1b001d3c2b4dfaa97d0eea5b9d6b03ae62
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