Lines Matching refs:nve

56 static bool mlxsw_sp_nve_vxlan_can_offload(const struct mlxsw_sp_nve *nve,  in mlxsw_sp_nve_vxlan_can_offload()  argument
117 static bool mlxsw_sp1_nve_vxlan_can_offload(const struct mlxsw_sp_nve *nve, in mlxsw_sp1_nve_vxlan_can_offload() argument
126 return mlxsw_sp_nve_vxlan_can_offload(nve, params, extack); in mlxsw_sp1_nve_vxlan_can_offload()
145 static void mlxsw_sp_nve_vxlan_config(const struct mlxsw_sp_nve *nve, in mlxsw_sp_nve_vxlan_config() argument
230 static int mlxsw_sp1_nve_vxlan_init(struct mlxsw_sp_nve *nve, in mlxsw_sp1_nve_vxlan_init() argument
233 struct mlxsw_sp *mlxsw_sp = nve->mlxsw_sp; in mlxsw_sp1_nve_vxlan_init()
248 err = mlxsw_sp1_nve_vxlan_rtdp_set(mlxsw_sp, nve->tunnel_index); in mlxsw_sp1_nve_vxlan_init()
255 nve->tunnel_index); in mlxsw_sp1_nve_vxlan_init()
271 static void mlxsw_sp1_nve_vxlan_fini(struct mlxsw_sp_nve *nve) in mlxsw_sp1_nve_vxlan_fini() argument
273 struct mlxsw_sp_nve_config *config = &nve->config; in mlxsw_sp1_nve_vxlan_fini()
274 struct mlxsw_sp *mlxsw_sp = nve->mlxsw_sp; in mlxsw_sp1_nve_vxlan_fini()
346 mlxsw_sp->nve->ul_rif_index = ul_rif_index; in mlxsw_sp2_nve_vxlan_config_set()
396 mlxsw_sp_router_ul_rif_put(mlxsw_sp, mlxsw_sp->nve->ul_rif_index); in mlxsw_sp2_nve_vxlan_config_clear()
411 static int mlxsw_sp2_nve_vxlan_init(struct mlxsw_sp_nve *nve, in mlxsw_sp2_nve_vxlan_init() argument
414 struct mlxsw_sp *mlxsw_sp = nve->mlxsw_sp; in mlxsw_sp2_nve_vxlan_init()
429 err = mlxsw_sp2_nve_vxlan_rtdp_set(mlxsw_sp, nve->tunnel_index, in mlxsw_sp2_nve_vxlan_init()
430 nve->ul_rif_index); in mlxsw_sp2_nve_vxlan_init()
437 nve->tunnel_index); in mlxsw_sp2_nve_vxlan_init()
453 static void mlxsw_sp2_nve_vxlan_fini(struct mlxsw_sp_nve *nve) in mlxsw_sp2_nve_vxlan_fini() argument
455 struct mlxsw_sp_nve_config *config = &nve->config; in mlxsw_sp2_nve_vxlan_fini()
456 struct mlxsw_sp *mlxsw_sp = nve->mlxsw_sp; in mlxsw_sp2_nve_vxlan_fini()