Home
last modified time | relevance | path

Searched refs:mr_orig_route (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_mr.c389 struct mlxsw_sp_mr_route *mr_orig_route = NULL; in mlxsw_sp_mr_route_add() local
402 mr_orig_route = rhashtable_lookup_fast(&mr_table->route_ht, in mlxsw_sp_mr_route_add()
408 if (WARN_ON(!mr_orig_route)) { in mlxsw_sp_mr_route_add()
412 mr_route->route_priv = mr_orig_route->route_priv; in mlxsw_sp_mr_route_add()
413 } else if (mr_orig_route) { in mlxsw_sp_mr_route_add()
441 &mr_orig_route->ht_node, in mlxsw_sp_mr_route_add()
443 list_del(&mr_orig_route->node); in mlxsw_sp_mr_route_add()
444 mlxsw_sp_mr_route_destroy(mr_table, mr_orig_route); in mlxsw_sp_mr_route_add()