Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_mr.h46 void *route_priv,
48 int (*route_update)(struct mlxsw_sp *mlxsw_sp, void *route_priv,
50 int (*route_stats)(struct mlxsw_sp *mlxsw_sp, void *route_priv,
52 int (*route_action_update)(struct mlxsw_sp *mlxsw_sp, void *route_priv,
54 int (*route_min_mtu_update)(struct mlxsw_sp *mlxsw_sp, void *route_priv,
56 int (*route_irif_update)(struct mlxsw_sp *mlxsw_sp, void *route_priv,
58 int (*route_erif_add)(struct mlxsw_sp *mlxsw_sp, void *route_priv,
60 int (*route_erif_del)(struct mlxsw_sp *mlxsw_sp, void *route_priv,
63 void *route_priv);
Dspectrum_mr_tcam.c280 void *route_priv, in mlxsw_sp_mr_tcam_route_create() argument
284 struct mlxsw_sp_mr_tcam_route *route = route_priv; in mlxsw_sp_mr_tcam_route_create()
344 void *priv, void *route_priv) in mlxsw_sp_mr_tcam_route_destroy() argument
347 struct mlxsw_sp_mr_tcam_route *route = route_priv; in mlxsw_sp_mr_tcam_route_destroy()
358 void *route_priv, u64 *packets, in mlxsw_sp_mr_tcam_route_stats() argument
361 struct mlxsw_sp_mr_tcam_route *route = route_priv; in mlxsw_sp_mr_tcam_route_stats()
369 void *route_priv, in mlxsw_sp_mr_tcam_route_action_update() argument
373 struct mlxsw_sp_mr_tcam_route *route = route_priv; in mlxsw_sp_mr_tcam_route_action_update()
402 void *route_priv, u16 min_mtu) in mlxsw_sp_mr_tcam_route_min_mtu_update() argument
405 struct mlxsw_sp_mr_tcam_route *route = route_priv; in mlxsw_sp_mr_tcam_route_min_mtu_update()
[all …]
Dspectrum2_mr_tcam.c207 void *route_priv, in mlxsw_sp2_mr_tcam_route_create() argument
212 struct mlxsw_sp2_mr_route *mr_route = route_priv; in mlxsw_sp2_mr_tcam_route_create()
224 (unsigned long) route_priv, afa_block, in mlxsw_sp2_mr_tcam_route_create()
243 void *route_priv, in mlxsw_sp2_mr_tcam_route_destroy() argument
255 (unsigned long) route_priv); in mlxsw_sp2_mr_tcam_route_destroy()
265 void *route_priv, in mlxsw_sp2_mr_tcam_route_update() argument
269 struct mlxsw_sp2_mr_route *mr_route = route_priv; in mlxsw_sp2_mr_tcam_route_update()
279 (unsigned long) route_priv); in mlxsw_sp2_mr_tcam_route_update()
Dspectrum_mr.c85 void *route_priv; member
264 mr_route->route_priv = kzalloc(mr->mr_ops->route_priv_size, in mlxsw_sp_mr_route_write()
266 if (!mr_route->route_priv) { in mlxsw_sp_mr_route_write()
275 mr_route->route_priv, in mlxsw_sp_mr_route_write()
278 kfree(mr_route->route_priv); in mlxsw_sp_mr_route_write()
280 err = mr->mr_ops->route_update(mlxsw_sp, mr_route->route_priv, in mlxsw_sp_mr_route_write()
294 mr->mr_ops->route_destroy(mlxsw_sp, mr->priv, mr_route->route_priv); in mlxsw_sp_mr_route_erase()
295 kfree(mr_route->route_priv); in mlxsw_sp_mr_route_erase()
412 mr_route->route_priv = mr_orig_route->route_priv; in mlxsw_sp_mr_route_add()
495 err = mr->mr_ops->route_irif_update(mlxsw_sp, rve->mr_route->route_priv, in mlxsw_sp_mr_route_ivif_resolve()
[all …]
Dspectrum1_mr_tcam.c123 void *route_priv, in mlxsw_sp1_mr_tcam_route_create() argument
128 struct mlxsw_sp1_mr_tcam_route *route = route_priv; in mlxsw_sp1_mr_tcam_route_create()
150 void *route_priv, in mlxsw_sp1_mr_tcam_route_destroy() argument
153 struct mlxsw_sp1_mr_tcam_route *route = route_priv; in mlxsw_sp1_mr_tcam_route_destroy()
162 void *route_priv, in mlxsw_sp1_mr_tcam_route_update() argument
166 struct mlxsw_sp1_mr_tcam_route *route = route_priv; in mlxsw_sp1_mr_tcam_route_update()
Dspectrum.h1342 void *route_priv,
1347 void *route_priv,
1349 int (*route_update)(struct mlxsw_sp *mlxsw_sp, void *route_priv,
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c1561 struct mlx5e_priv *out_priv, *route_priv; in mlx5e_tc_is_vf_tunnel() local
1565 route_priv = netdev_priv(route_dev); in mlx5e_tc_is_vf_tunnel()
1566 route_mdev = route_priv->mdev; in mlx5e_tc_is_vf_tunnel()
1575 return mlx5e_same_hw_devs(out_priv, route_priv); in mlx5e_tc_is_vf_tunnel()
1580 struct mlx5e_priv *out_priv, *route_priv; in mlx5e_tc_query_route_vport() local
1589 route_priv = netdev_priv(route_dev); in mlx5e_tc_query_route_vport()
1590 route_mdev = route_priv->mdev; in mlx5e_tc_query_route_vport()