Lines Matching defs:nve
58 static bool mlxsw_sp_nve_vxlan_can_offload(const struct mlxsw_sp_nve *nve,
119 static bool mlxsw_sp1_nve_vxlan_can_offload(const struct mlxsw_sp_nve *nve,
128 return mlxsw_sp_nve_vxlan_can_offload(nve, params, extack);
147 static void mlxsw_sp_nve_vxlan_config(const struct mlxsw_sp_nve *nve,
232 static int mlxsw_sp1_nve_vxlan_init(struct mlxsw_sp_nve *nve,
235 struct mlxsw_sp *mlxsw_sp = nve->mlxsw_sp;
250 err = mlxsw_sp1_nve_vxlan_rtdp_set(mlxsw_sp, nve->tunnel_index);
257 nve->tunnel_index);
273 static void mlxsw_sp1_nve_vxlan_fini(struct mlxsw_sp_nve *nve)
275 struct mlxsw_sp_nve_config *config = &nve->config;
276 struct mlxsw_sp *mlxsw_sp = nve->mlxsw_sp;
348 mlxsw_sp->nve->ul_rif_index = ul_rif_index;
398 mlxsw_sp_router_ul_rif_put(mlxsw_sp, mlxsw_sp->nve->ul_rif_index);
413 static int mlxsw_sp2_nve_vxlan_init(struct mlxsw_sp_nve *nve,
416 struct mlxsw_sp *mlxsw_sp = nve->mlxsw_sp;
431 err = mlxsw_sp2_nve_vxlan_rtdp_set(mlxsw_sp, nve->tunnel_index,
432 nve->ul_rif_index);
439 nve->tunnel_index);
455 static void mlxsw_sp2_nve_vxlan_fini(struct mlxsw_sp_nve *nve)
457 struct mlxsw_sp_nve_config *config = &nve->config;
458 struct mlxsw_sp *mlxsw_sp = nve->mlxsw_sp;