Searched refs:tngcr_pl (Results 1 – 1 of 1) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_nve_vxlan.c | 167 mlxsw_sp_nve_vxlan_config_prepare(char *tngcr_pl, in mlxsw_sp_nve_vxlan_config_prepare() argument 172 mlxsw_reg_tngcr_pack(tngcr_pl, MLXSW_REG_TNGCR_TYPE_VXLAN, true, in mlxsw_sp_nve_vxlan_config_prepare() 180 mlxsw_reg_tngcr_nve_udp_sport_prefix_set(tngcr_pl, udp_sport); in mlxsw_sp_nve_vxlan_config_prepare() 181 mlxsw_reg_tngcr_usipv4_set(tngcr_pl, be32_to_cpu(config->ul_sip.addr4)); in mlxsw_sp_nve_vxlan_config_prepare() 188 char tngcr_pl[MLXSW_REG_TNGCR_LEN]; in mlxsw_sp1_nve_vxlan_config_set() local 197 mlxsw_sp_nve_vxlan_config_prepare(tngcr_pl, config); in mlxsw_sp1_nve_vxlan_config_set() 198 mlxsw_reg_tngcr_learn_enable_set(tngcr_pl, config->learning_en); in mlxsw_sp1_nve_vxlan_config_set() 199 mlxsw_reg_tngcr_underlay_virtual_router_set(tngcr_pl, ul_vr_id); in mlxsw_sp1_nve_vxlan_config_set() 201 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(tngcr), tngcr_pl); in mlxsw_sp1_nve_vxlan_config_set() 206 char tngcr_pl[MLXSW_REG_TNGCR_LEN]; in mlxsw_sp1_nve_vxlan_config_clear() local [all …]
|