Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A 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);
H A 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
402 void *route_priv, u16 min_mtu) in mlxsw_sp_mr_tcam_route_min_mtu_update() argument
435 void *route_priv, u16 irif_index) in mlxsw_sp_mr_tcam_route_irif_update() argument
446 void *route_priv, u16 erif_index) in mlxsw_sp_mr_tcam_route_erif_add() argument
[all …]
H A 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()
H A Dspectrum_mr.c85 void *route_priv; member
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()
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()
501 rve->mr_route->route_priv, in mlxsw_sp_mr_route_ivif_resolve()
542 rve->mr_route->route_priv, in mlxsw_sp_mr_route_evif_resolve()
577 rve->mr_route->route_priv, in mlxsw_sp_mr_route_evif_resolve()
611 rve->mr_route->route_priv, in mlxsw_sp_mr_route_evif_unresolve()
[all …]
H A 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()
H A Dspectrum.h1345 void *route_priv,
1350 void *route_priv,
1352 int (*route_update)(struct mlxsw_sp *mlxsw_sp, void *route_priv,
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c1653 struct mlx5e_priv *out_priv, *route_priv; in mlx5e_tc_is_vf_tunnel() local
1657 route_priv = netdev_priv(route_dev); in mlx5e_tc_is_vf_tunnel()
1658 route_mdev = route_priv->mdev; in mlx5e_tc_is_vf_tunnel()
1667 return mlx5e_same_hw_devs(out_priv, route_priv); in mlx5e_tc_is_vf_tunnel()
1672 struct mlx5e_priv *out_priv, *route_priv; in mlx5e_tc_query_route_vport() local
1681 route_priv = netdev_priv(route_dev); in mlx5e_tc_query_route_vport()
1682 route_mdev = route_priv->mdev; in mlx5e_tc_query_route_vport()