mlxsw: spectrum: Make port flood update more generic
authorNogah Frankel <nogahf@mellanox.com>
Thu, 9 Feb 2017 13:54:44 +0000 (14:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2017 16:46:39 +0000 (11:46 -0500)
commit69be01f374e4c09aae29be6e15a538ff0c282bb6
tree521cd72dfa954db10aea35b1a15250fb18943a57
parenteaa7df3c5afe257e59e03746cdf9800fcd2494d2
mlxsw: spectrum: Make port flood update more generic

Currently, there is a per port flood update function only for the UC
table. Make the function  more generic by changing the table type to be
an input.

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