]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: cmd: Increase 'config_profile.flood_mode' length
authorAmit Cohen <amcohen@nvidia.com>
Tue, 21 Jun 2022 08:33:41 +0000 (11:33 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jun 2022 11:56:58 +0000 (12:56 +0100)
commita20b01c79860aa734ec9a1fb06bb6f79eb5275a4
tree9164fa6897fdcdafc70c72f74d722e3fd385ad7c
parentd23624705baf515aaae1e6582fe82b5869a001ca
mlxsw: cmd: Increase 'config_profile.flood_mode' length

Currently, the length of 'config_profile.flood_mode' is defined as 2
bits, while the correct length is 3 bits.

As preparation for unified bridge model, which will use the whole field
length, fix it and increase the field to the correct size.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/cmd.h