Searched refs:num_nve_tunnels (Results 1 – 2 of 2) sorted by relevance
718 WARN_ON(mlxsw_sp->nve->num_nve_tunnels == 0); in mlxsw_sp_nve_decap_tunnel_index_get()729 if (nve->num_nve_tunnels && in mlxsw_sp_nve_ipv4_route_is_decap()744 if (nve->num_nve_tunnels++ != 0) in mlxsw_sp_nve_tunnel_init()763 nve->num_nve_tunnels--; in mlxsw_sp_nve_tunnel_init()774 if (mlxsw_sp->nve->num_nve_tunnels == 1) { in mlxsw_sp_nve_tunnel_fini()780 nve->num_nve_tunnels--; in mlxsw_sp_nve_tunnel_fini()824 if (nve->num_nve_tunnels && in mlxsw_sp_nve_fid_enable()1033 WARN_ON(mlxsw_sp->nve->num_nve_tunnels); in mlxsw_sp_nve_fini()
28 unsigned int num_nve_tunnels; /* Protected by RTNL */ member