Lines Matching refs:nve

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