Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.h60 struct mlxsw_sp_router_nve_decap nve_decap_config; member
H A Dspectrum_router.c2099 if (WARN_ON_ONCE(router->nve_decap_config.valid)) { in mlxsw_sp_router_nve_promote_decap()
2104 router->nve_decap_config.ul_tb_id = ul_tb_id; in mlxsw_sp_router_nve_promote_decap()
2105 router->nve_decap_config.tunnel_index = tunnel_index; in mlxsw_sp_router_nve_promote_decap()
2106 router->nve_decap_config.ul_proto = ul_proto; in mlxsw_sp_router_nve_promote_decap()
2107 router->nve_decap_config.ul_sip = *ul_sip; in mlxsw_sp_router_nve_promote_decap()
2108 router->nve_decap_config.valid = true; in mlxsw_sp_router_nve_promote_decap()
2146 if (WARN_ON_ONCE(!router->nve_decap_config.valid)) in mlxsw_sp_router_nve_demote_decap()
2149 router->nve_decap_config.valid = false; in mlxsw_sp_router_nve_demote_decap()
2170 return router->nve_decap_config.valid && in mlxsw_sp_router_nve_is_decap()
2171 router->nve_decap_config.ul_tb_id == ul_tb_id && in mlxsw_sp_router_nve_is_decap()
[all …]