Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ !
Dspectrum_mr.c50 struct mlxsw_sp_mr_route *mr_route; member
61 const struct mlxsw_sp_mr_route *mr_route);
111 mlxsw_sp_mr_route_ivif_in_evifs(const struct mlxsw_sp_mr_route *mr_route) in mlxsw_sp_mr_route_ivif_in_evifs() argument
113 vifi_t ivif = mr_route->mfc->mfc_parent; in mlxsw_sp_mr_route_ivif_in_evifs()
115 return mr_route->mfc->mfc_un.res.ttls[ivif] != 255; in mlxsw_sp_mr_route_ivif_in_evifs()
119 mlxsw_sp_mr_route_valid_evifs_num(const struct mlxsw_sp_mr_route *mr_route) in mlxsw_sp_mr_route_valid_evifs_num() argument
125 list_for_each_entry(rve, &mr_route->evif_list, route_node) in mlxsw_sp_mr_route_valid_evifs_num()
132 mlxsw_sp_mr_route_action(const struct mlxsw_sp_mr_route *mr_route) in mlxsw_sp_mr_route_action() argument
137 if (!mlxsw_sp_mr_vif_valid(mr_route->ivif.mr_vif)) in mlxsw_sp_mr_route_action()
143 if (mr_route->mr_table->ops->is_route_starg(mr_route->mr_table, in mlxsw_sp_mr_route_action()
[all …]
Dspectrum2_mr_tcam.c212 struct mlxsw_sp2_mr_route *mr_route = route_priv; in mlxsw_sp2_mr_tcam_route_create() local
218 mr_route->mr_tcam = mr_tcam; in mlxsw_sp2_mr_tcam_route_create()
269 struct mlxsw_sp2_mr_route *mr_route = route_priv; in mlxsw_sp2_mr_tcam_route_update() local
270 struct mlxsw_sp2_mr_tcam *mr_tcam = mr_route->mr_tcam; in mlxsw_sp2_mr_tcam_route_update()