]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Break flood set func to be per table
authorNogah Frankel <nogahf@mellanox.com>
Thu, 9 Feb 2017 13:54:43 +0000 (14:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2017 16:46:39 +0000 (11:46 -0500)
commit40eed92a2d01dc394f18581deffecc5cc08413d5
tree2ae17862846dcb790d8d1ac00716acc31f8455fc
parent392a2c914cf3308a2596c4bbe3ef7db8d1a68b94
mlxsw: spectrum: Break flood set func to be per table

Currently, the flood set function can't operate on only one table, but
sets both uc_flood and mb_flood together.
This patch creates a function that sets the flood state per table.

Signed-off-by: Nogah Frankel <nogahf@mellanox.com>
Signed-off-by: Yotam Gigi <yotamg@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c