Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_mr_tcam.c262 struct mlxsw_sp_mr_route_info *route_info) in mlxsw_sp_mr_tcam_erif_populate() argument
267 for (i = 0; i < route_info->erif_num; i++) { in mlxsw_sp_mr_tcam_erif_populate()
268 u16 erif_index = route_info->erif_indices[i]; in mlxsw_sp_mr_tcam_erif_populate()
521 struct mlxsw_sp_mr_route_info *route_info) in mlxsw_sp_mr_tcam_route_update() argument
531 err = mlxsw_sp_mr_tcam_erif_populate(mlxsw_sp, &erif_list, route_info); in mlxsw_sp_mr_tcam_route_update()
537 route_info->route_action, in mlxsw_sp_mr_tcam_route_update()
538 route_info->irif_index, in mlxsw_sp_mr_tcam_route_update()
540 route_info->min_mtu, in mlxsw_sp_mr_tcam_route_update()
556 route->action = route_info->route_action; in mlxsw_sp_mr_tcam_route_update()
557 route->irif_index = route_info->irif_index; in mlxsw_sp_mr_tcam_route_update()
[all …]
Dspectrum_mr.c209 struct mlxsw_sp_mr_route_info *route_info) in mlxsw_sp_mr_route_info_create() argument
234 route_info->irif_index = irif_index; in mlxsw_sp_mr_route_info_create()
235 route_info->erif_indices = erif_indices; in mlxsw_sp_mr_route_info_create()
236 route_info->min_mtu = mr_route->min_mtu; in mlxsw_sp_mr_route_info_create()
237 route_info->route_action = mr_route->route_action; in mlxsw_sp_mr_route_info_create()
238 route_info->erif_num = erif; in mlxsw_sp_mr_route_info_create()
243 mlxsw_sp_mr_route_info_destroy(struct mlxsw_sp_mr_route_info *route_info) in mlxsw_sp_mr_route_info_destroy() argument
245 kfree(route_info->erif_indices); in mlxsw_sp_mr_route_info_destroy()
253 struct mlxsw_sp_mr_route_info route_info; in mlxsw_sp_mr_route_write() local
257 err = mlxsw_sp_mr_route_info_create(mr_table, mr_route, &route_info); in mlxsw_sp_mr_route_write()
[all …]
Dspectrum_mr.h49 struct mlxsw_sp_mr_route_info *route_info);