Home
last modified time | relevance | path

Searched refs:inner_ecn (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ipip.c345 u8 inner_ecn, u8 outer_ecn) in mlxsw_sp_ipip_ecn_encap_init_one() argument
349 mlxsw_reg_tieem_pack(tieem_pl, inner_ecn, outer_ecn); in mlxsw_sp_ipip_ecn_encap_init_one()
371 u8 inner_ecn, u8 outer_ecn) in mlxsw_sp_ipip_ecn_decap_init_one() argument
377 new_inner_ecn = mlxsw_sp_tunnel_ecn_decap(outer_ecn, inner_ecn, in mlxsw_sp_ipip_ecn_decap_init_one()
379 mlxsw_reg_tidem_pack(tidem_pl, outer_ecn, inner_ecn, new_inner_ecn, in mlxsw_sp_ipip_ecn_decap_init_one()
Dspectrum_nve.c909 u8 inner_ecn, u8 outer_ecn) in __mlxsw_sp_nve_ecn_decap_init() argument
915 new_inner_ecn = mlxsw_sp_tunnel_ecn_decap(outer_ecn, inner_ecn, in __mlxsw_sp_nve_ecn_decap_init()
917 mlxsw_reg_tndem_pack(tndem_pl, outer_ecn, inner_ecn, new_inner_ecn, in __mlxsw_sp_nve_ecn_decap_init()
Dspectrum.h349 static inline u8 mlxsw_sp_tunnel_ecn_decap(u8 outer_ecn, u8 inner_ecn, in mlxsw_sp_tunnel_ecn_decap() argument
354 *trap_en = !!__INET_ECN_decapsulate(outer_ecn, inner_ecn, &set_ce); in mlxsw_sp_tunnel_ecn_decap()
357 else if (outer_ecn == INET_ECN_ECT_1 && inner_ecn == INET_ECN_ECT_0) in mlxsw_sp_tunnel_ecn_decap()
360 return inner_ecn; in mlxsw_sp_tunnel_ecn_decap()