/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_mr_tcam.c | 262 struct mlxsw_sp_mr_route_info *route_info) in mlxsw_sp_mr_tcam_erif_populate() 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() 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 in mlxsw_sp_mr_tcam_route_update() 260 mlxsw_sp_mr_tcam_erif_populate(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_mr_tcam_erif_list *erif_list, struct mlxsw_sp_mr_route_info *route_info) mlxsw_sp_mr_tcam_erif_populate() argument 520 mlxsw_sp_mr_tcam_route_update(struct mlxsw_sp *mlxsw_sp, void *route_priv, struct mlxsw_sp_mr_route_info *route_info) mlxsw_sp_mr_tcam_route_update() argument [all...] |
H A D | spectrum_mr.c | 209 struct mlxsw_sp_mr_route_info *route_info) in mlxsw_sp_mr_route_info_create() 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() 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 [all...] |
H A D | spectrum_mr.h | 49 struct mlxsw_sp_mr_route_info *route_info);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_mr_tcam.c | 262 struct mlxsw_sp_mr_route_info *route_info) in mlxsw_sp_mr_tcam_erif_populate() 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() 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 in mlxsw_sp_mr_tcam_route_update() 260 mlxsw_sp_mr_tcam_erif_populate(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_mr_tcam_erif_list *erif_list, struct mlxsw_sp_mr_route_info *route_info) mlxsw_sp_mr_tcam_erif_populate() argument 520 mlxsw_sp_mr_tcam_route_update(struct mlxsw_sp *mlxsw_sp, void *route_priv, struct mlxsw_sp_mr_route_info *route_info) mlxsw_sp_mr_tcam_route_update() argument [all...] |
H A D | spectrum_mr.c | 209 struct mlxsw_sp_mr_route_info *route_info) in mlxsw_sp_mr_route_info_create() 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() 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 [all...] |
H A D | spectrum_mr.h | 49 struct mlxsw_sp_mr_route_info *route_info);
|
/kernel/linux/linux-5.10/include/net/ |
H A D | ip6_route.h | 5 struct route_info { struct
|
/kernel/linux/linux-6.6/include/net/ |
H A D | ip6_route.h | 15 struct route_info { struct
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | ndisc.c | 1453 struct route_info *ri = (struct route_info *)p; in ndisc_router_discovery()
|
H A D | route.c | 929 struct route_info *rinfo = (struct route_info *) opt; in rt6_route_rcv() 935 if (len < sizeof(struct route_info)) { in rt6_route_rcv()
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | ndisc.c | 1513 struct route_info *ri = (struct route_info *)p; in ndisc_router_discovery()
|
H A D | route.c | 932 struct route_info *rinfo = (struct route_info *) opt; in rt6_route_rcv() 938 if (len < sizeof(struct route_info)) { in rt6_route_rcv()
|