commit | 0c41292bc5ffb4e514652731dfeda1552e2df120 | [log] [tgz] |
---|---|---|
author | Petr Machata <petrm@mellanox.com> | Mon Jun 25 10:48:15 2018 +0300 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 26 18:05:22 2018 +0900 |
tree | 53bbe60d989926f37d5f57dba940a335a560b29a | |
parent | e6f1960ae6c736b7bb65a012809eb7c3654b42d7 [diff] |
mlxsw: spectrum_router: Publish mlxsw_sp_rif_find_by_dev() In order to guard against removal of a PVID for which a FID was allocated, spectrum_switchdev needs to first determine whether there is a RIF associated with a given bridge. To that end, publish a preexisting function mlxsw_sp_rif_find_by_dev(). Signed-off-by: Petr Machata <petrm@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>