Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_nve_vxlan.c162 mlxsw_sp_nve_vxlan_config_prepare(char *tngcr_pl, in mlxsw_sp_nve_vxlan_config_prepare() argument
168 mlxsw_reg_tngcr_pack(tngcr_pl, MLXSW_REG_TNGCR_TYPE_VXLAN, true, in mlxsw_sp_nve_vxlan_config_prepare()
176 mlxsw_reg_tngcr_nve_udp_sport_prefix_set(tngcr_pl, udp_sport); in mlxsw_sp_nve_vxlan_config_prepare()
180 mlxsw_reg_tngcr_usipv4_set(tngcr_pl, in mlxsw_sp_nve_vxlan_config_prepare()
185 mlxsw_reg_tngcr_usipv6_memcpy_to(tngcr_pl, in mlxsw_sp_nve_vxlan_config_prepare()
195 char tngcr_pl[MLXSW_REG_TNGCR_LEN]; in mlxsw_sp1_nve_vxlan_config_set() local
204 mlxsw_sp_nve_vxlan_config_prepare(tngcr_pl, config); in mlxsw_sp1_nve_vxlan_config_set()
205 mlxsw_reg_tngcr_learn_enable_set(tngcr_pl, config->learning_en); in mlxsw_sp1_nve_vxlan_config_set()
206 mlxsw_reg_tngcr_underlay_virtual_router_set(tngcr_pl, ul_vr_id); in mlxsw_sp1_nve_vxlan_config_set()
208 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(tngcr), tngcr_pl); in mlxsw_sp1_nve_vxlan_config_set()
[all …]