Lines Matching refs:tngcr_pl

162 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()
213 char tngcr_pl[MLXSW_REG_TNGCR_LEN]; in mlxsw_sp1_nve_vxlan_config_clear() local
215 mlxsw_reg_tngcr_pack(tngcr_pl, MLXSW_REG_TNGCR_TYPE_VXLAN, false, 0); in mlxsw_sp1_nve_vxlan_config_clear()
217 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(tngcr), tngcr_pl); in mlxsw_sp1_nve_vxlan_config_clear()
337 char tngcr_pl[MLXSW_REG_TNGCR_LEN]; in mlxsw_sp2_nve_vxlan_config_set() local
352 mlxsw_sp_nve_vxlan_config_prepare(tngcr_pl, config); in mlxsw_sp2_nve_vxlan_config_set()
353 mlxsw_reg_tngcr_underlay_rif_set(tngcr_pl, ul_rif_index); in mlxsw_sp2_nve_vxlan_config_set()
355 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(tngcr), tngcr_pl); in mlxsw_sp2_nve_vxlan_config_set()
376 mlxsw_reg_tngcr_pack(tngcr_pl, MLXSW_REG_TNGCR_TYPE_VXLAN, false, 0); in mlxsw_sp2_nve_vxlan_config_set()
377 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(tngcr), tngcr_pl); in mlxsw_sp2_nve_vxlan_config_set()
388 char tngcr_pl[MLXSW_REG_TNGCR_LEN]; in mlxsw_sp2_nve_vxlan_config_clear() local
393 mlxsw_reg_tngcr_pack(tngcr_pl, MLXSW_REG_TNGCR_TYPE_VXLAN, false, 0); in mlxsw_sp2_nve_vxlan_config_clear()
394 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(tngcr), tngcr_pl); in mlxsw_sp2_nve_vxlan_config_clear()