Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ipip.c195 char rtdp_pl[MLXSW_REG_RTDP_LEN]; in mlxsw_sp_ipip_decap_config_gre4() local
205 mlxsw_reg_rtdp_pack(rtdp_pl, MLXSW_REG_RTDP_TYPE_IPIP, tunnel_index); in mlxsw_sp_ipip_decap_config_gre4()
206 mlxsw_reg_rtdp_egress_router_interface_set(rtdp_pl, ul_rif_id); in mlxsw_sp_ipip_decap_config_gre4()
219 mlxsw_reg_rtdp_ipip4_pack(rtdp_pl, rif_index, in mlxsw_sp_ipip_decap_config_gre4()
223 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rtdp), rtdp_pl); in mlxsw_sp_ipip_decap_config_gre4()
412 char rtdp_pl[MLXSW_REG_RTDP_LEN]; in mlxsw_sp_ipip_decap_config_gre6() local
422 mlxsw_reg_rtdp_pack(rtdp_pl, MLXSW_REG_RTDP_TYPE_IPIP, tunnel_index); in mlxsw_sp_ipip_decap_config_gre6()
423 mlxsw_reg_rtdp_egress_router_interface_set(rtdp_pl, ul_rif_id); in mlxsw_sp_ipip_decap_config_gre6()
435 mlxsw_reg_rtdp_ipip6_pack(rtdp_pl, rif_index, in mlxsw_sp_ipip_decap_config_gre6()
440 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rtdp), rtdp_pl); in mlxsw_sp_ipip_decap_config_gre6()
Dspectrum_nve_vxlan.c225 char rtdp_pl[MLXSW_REG_RTDP_LEN]; in mlxsw_sp1_nve_vxlan_rtdp_set() local
227 mlxsw_reg_rtdp_pack(rtdp_pl, MLXSW_REG_RTDP_TYPE_NVE, tunnel_index); in mlxsw_sp1_nve_vxlan_rtdp_set()
229 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rtdp), rtdp_pl); in mlxsw_sp1_nve_vxlan_rtdp_set()
405 char rtdp_pl[MLXSW_REG_RTDP_LEN]; in mlxsw_sp2_nve_vxlan_rtdp_set() local
407 mlxsw_reg_rtdp_pack(rtdp_pl, MLXSW_REG_RTDP_TYPE_NVE, tunnel_index); in mlxsw_sp2_nve_vxlan_rtdp_set()
408 mlxsw_reg_rtdp_egress_router_interface_set(rtdp_pl, ul_rif_index); in mlxsw_sp2_nve_vxlan_rtdp_set()
410 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rtdp), rtdp_pl); in mlxsw_sp2_nve_vxlan_rtdp_set()