mlxsw: spectrum_router: Flood packets to router after RIF creation
authorIdo Schimmel <idosch@mellanox.com>
Fri, 26 May 2017 06:37:37 +0000 (08:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 May 2017 19:18:48 +0000 (15:18 -0400)
commit8e3482d6adef158d362e46cae1415940bf0f9b07
tree3aa159a798fc8254b9a234674da0efbbb6462c1a
parent1b8f09a05f33dbced2e48cd1c6d3ee524739ff63
mlxsw: spectrum_router: Flood packets to router after RIF creation

If a packet ingress the router but can't be assigned an ingress RIF,
it's dropped.

Therefore, in the case of RIF configured on top of a bridge, it makes
sense to start flooding broadcast packets to the router only after the
RIF was created.

Signed-off-by: Ido Schimmel <idosch@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_router.c