Home
last modified time | relevance | path

Searched refs:num_nve_tunnels (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_nve.h30 unsigned int num_nve_tunnels; /* Protected by RTNL */ member
H A Dspectrum_nve.c733 if (nve->num_nve_tunnels++ != 0) in mlxsw_sp_nve_tunnel_init()
755 nve->num_nve_tunnels--; in mlxsw_sp_nve_tunnel_init()
766 if (mlxsw_sp->nve->num_nve_tunnels == 1) { in mlxsw_sp_nve_tunnel_fini()
772 nve->num_nve_tunnels--; in mlxsw_sp_nve_tunnel_fini()
952 if (nve->num_nve_tunnels && in mlxsw_sp_nve_fid_enable()
1168 WARN_ON(mlxsw_sp->nve->num_nve_tunnels); in mlxsw_sp_nve_fini()