Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_nve_vxlan.c164 mlxsw_sp_nve_vxlan_config_prepare(char *tngcr_pl, in mlxsw_sp_nve_vxlan_config_prepare() argument
170 mlxsw_reg_tngcr_pack(tngcr_pl, MLXSW_REG_TNGCR_TYPE_VXLAN, true, in mlxsw_sp_nve_vxlan_config_prepare()
178 mlxsw_reg_tngcr_nve_udp_sport_prefix_set(tngcr_pl, udp_sport); in mlxsw_sp_nve_vxlan_config_prepare()
182 mlxsw_reg_tngcr_usipv4_set(tngcr_pl, in mlxsw_sp_nve_vxlan_config_prepare()
187 mlxsw_reg_tngcr_usipv6_memcpy_to(tngcr_pl, in mlxsw_sp_nve_vxlan_config_prepare()
197 char tngcr_pl[MLXSW_REG_TNGCR_LEN]; in mlxsw_sp1_nve_vxlan_config_set() local
206 mlxsw_sp_nve_vxlan_config_prepare(tngcr_pl, config); in mlxsw_sp1_nve_vxlan_config_set()
207 mlxsw_reg_tngcr_learn_enable_set(tngcr_pl, config->learning_en); in mlxsw_sp1_nve_vxlan_config_set()
208 mlxsw_reg_tngcr_underlay_virtual_router_set(tngcr_pl, ul_vr_id); in mlxsw_sp1_nve_vxlan_config_set()
210 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(tngcr), tngcr_pl); in mlxsw_sp1_nve_vxlan_config_set()
[all …]