]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3a315724fc20b2e43e55e8a7ccc6680c782336ab
tree3aa159a798fc8254b9a234674da0efbbb6462c1a
parent454e681c7b2c3be2b53b7304791f63d5b74bcebc
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