Home
last modified time | relevance | path

Searched refs:mr_route (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A 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 in mlxsw_sp_mr_route_action()
163 mlxsw_sp_mr_route_prio(const struct mlxsw_sp_mr_route *mr_route) mlxsw_sp_mr_route_prio() argument
170 mlxsw_sp_mr_route_evif_link(struct mlxsw_sp_mr_route *mr_route, struct mlxsw_sp_mr_vif *mr_vif) mlxsw_sp_mr_route_evif_link() argument
193 mlxsw_sp_mr_route_ivif_link(struct mlxsw_sp_mr_route *mr_route, struct mlxsw_sp_mr_vif *mr_vif) mlxsw_sp_mr_route_ivif_link() argument
201 mlxsw_sp_mr_route_ivif_unlink(struct mlxsw_sp_mr_route *mr_route) mlxsw_sp_mr_route_ivif_unlink() argument
207 mlxsw_sp_mr_route_info_create(struct mlxsw_sp_mr_table *mr_table, struct mlxsw_sp_mr_route *mr_route, struct mlxsw_sp_mr_route_info *route_info) mlxsw_sp_mr_route_info_create() argument
248 mlxsw_sp_mr_route_write(struct mlxsw_sp_mr_table *mr_table, struct mlxsw_sp_mr_route *mr_route, bool replace) mlxsw_sp_mr_route_write() argument
288 mlxsw_sp_mr_route_erase(struct mlxsw_sp_mr_table *mr_table, struct mlxsw_sp_mr_route *mr_route) mlxsw_sp_mr_route_erase() argument
303 struct mlxsw_sp_mr_route *mr_route; mlxsw_sp_mr_route_create() local
344 mlxsw_sp_mr_route_destroy(struct mlxsw_sp_mr_table *mr_table, struct mlxsw_sp_mr_route *mr_route) mlxsw_sp_mr_route_destroy() argument
356 mlxsw_sp_mr_mfc_offload_set(struct mlxsw_sp_mr_route *mr_route, bool offload) mlxsw_sp_mr_mfc_offload_set() argument
365 mlxsw_sp_mr_mfc_offload_update(struct mlxsw_sp_mr_route *mr_route) mlxsw_sp_mr_mfc_offload_update() argument
373 __mlxsw_sp_mr_route_del(struct mlxsw_sp_mr_table *mr_table, struct mlxsw_sp_mr_route *mr_route) __mlxsw_sp_mr_route_del() argument
390 struct mlxsw_sp_mr_route *mr_route; mlxsw_sp_mr_route_add() local
465 struct mlxsw_sp_mr_route *mr_route; mlxsw_sp_mr_route_del() local
813 mlxsw_sp_mr_route4_starg(const struct mlxsw_sp_mr_table *mr_table, const struct mlxsw_sp_mr_route *mr_route) mlxsw_sp_mr_route4_starg() argument
859 mlxsw_sp_mr_route6_starg(const struct mlxsw_sp_mr_table *mr_table, const struct mlxsw_sp_mr_route *mr_route) mlxsw_sp_mr_route6_starg() argument
973 struct mlxsw_sp_mr_route *mr_route, *tmp; mlxsw_sp_mr_table_flush() local
997 mlxsw_sp_mr_route_stats_update(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_mr_route *mr_route) mlxsw_sp_mr_route_stats_update() argument
1020 struct mlxsw_sp_mr_route *mr_route; mlxsw_sp_mr_stats_update() local
[all...]
H A 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A 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 in mlxsw_sp_mr_route_action()
163 mlxsw_sp_mr_route_prio(const struct mlxsw_sp_mr_route *mr_route) mlxsw_sp_mr_route_prio() argument
170 mlxsw_sp_mr_route_evif_link(struct mlxsw_sp_mr_route *mr_route, struct mlxsw_sp_mr_vif *mr_vif) mlxsw_sp_mr_route_evif_link() argument
193 mlxsw_sp_mr_route_ivif_link(struct mlxsw_sp_mr_route *mr_route, struct mlxsw_sp_mr_vif *mr_vif) mlxsw_sp_mr_route_ivif_link() argument
201 mlxsw_sp_mr_route_ivif_unlink(struct mlxsw_sp_mr_route *mr_route) mlxsw_sp_mr_route_ivif_unlink() argument
207 mlxsw_sp_mr_route_info_create(struct mlxsw_sp_mr_table *mr_table, struct mlxsw_sp_mr_route *mr_route, struct mlxsw_sp_mr_route_info *route_info) mlxsw_sp_mr_route_info_create() argument
248 mlxsw_sp_mr_route_write(struct mlxsw_sp_mr_table *mr_table, struct mlxsw_sp_mr_route *mr_route, bool replace) mlxsw_sp_mr_route_write() argument
288 mlxsw_sp_mr_route_erase(struct mlxsw_sp_mr_table *mr_table, struct mlxsw_sp_mr_route *mr_route) mlxsw_sp_mr_route_erase() argument
303 struct mlxsw_sp_mr_route *mr_route; mlxsw_sp_mr_route_create() local
344 mlxsw_sp_mr_route_destroy(struct mlxsw_sp_mr_table *mr_table, struct mlxsw_sp_mr_route *mr_route) mlxsw_sp_mr_route_destroy() argument
356 mlxsw_sp_mr_mfc_offload_set(struct mlxsw_sp_mr_route *mr_route, bool offload) mlxsw_sp_mr_mfc_offload_set() argument
365 mlxsw_sp_mr_mfc_offload_update(struct mlxsw_sp_mr_route *mr_route) mlxsw_sp_mr_mfc_offload_update() argument
373 __mlxsw_sp_mr_route_del(struct mlxsw_sp_mr_table *mr_table, struct mlxsw_sp_mr_route *mr_route) __mlxsw_sp_mr_route_del() argument
390 struct mlxsw_sp_mr_route *mr_route; mlxsw_sp_mr_route_add() local
465 struct mlxsw_sp_mr_route *mr_route; mlxsw_sp_mr_route_del() local
810 mlxsw_sp_mr_route4_starg(const struct mlxsw_sp_mr_table *mr_table, const struct mlxsw_sp_mr_route *mr_route) mlxsw_sp_mr_route4_starg() argument
856 mlxsw_sp_mr_route6_starg(const struct mlxsw_sp_mr_table *mr_table, const struct mlxsw_sp_mr_route *mr_route) mlxsw_sp_mr_route6_starg() argument
970 struct mlxsw_sp_mr_route *mr_route, *tmp; mlxsw_sp_mr_table_flush() local
994 mlxsw_sp_mr_route_stats_update(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_mr_route *mr_route) mlxsw_sp_mr_route_stats_update() argument
1017 struct mlxsw_sp_mr_route *mr_route; mlxsw_sp_mr_stats_update() local
[all...]
H A 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()

Completed in 5 milliseconds