Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ipip.c190 char rtdp_pl[MLXSW_REG_RTDP_LEN]; in mlxsw_sp_ipip_decap_config_gre4() local
201 mlxsw_reg_rtdp_pack(rtdp_pl, MLXSW_REG_RTDP_TYPE_IPIP, tunnel_index); in mlxsw_sp_ipip_decap_config_gre4()
202 mlxsw_reg_rtdp_egress_router_interface_set(rtdp_pl, ul_rif_id); in mlxsw_sp_ipip_decap_config_gre4()
215 mlxsw_reg_rtdp_ipip4_pack(rtdp_pl, rif_index, in mlxsw_sp_ipip_decap_config_gre4()
219 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(rtdp), rtdp_pl); in mlxsw_sp_ipip_decap_config_gre4()
405 char rtdp_pl[MLXSW_REG_RTDP_LEN]; in mlxsw_sp_ipip_decap_config_gre6() local
415 mlxsw_reg_rtdp_pack(rtdp_pl, MLXSW_REG_RTDP_TYPE_IPIP, tunnel_index); in mlxsw_sp_ipip_decap_config_gre6()
416 mlxsw_reg_rtdp_egress_router_interface_set(rtdp_pl, ul_rif_id); in mlxsw_sp_ipip_decap_config_gre6()
428 mlxsw_reg_rtdp_ipip6_pack(rtdp_pl, rif_index, in mlxsw_sp_ipip_decap_config_gre6()
433 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()