]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteb75680ff6c96211f6ff6c8d37272daa383630e3
tree521cd72dfa954db10aea35b1a15250fb18943a57
parent40eed92a2d01dc394f18581deffecc5cc08413d5
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