Lines Matching refs:tngcr_pl

164 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()
215 char tngcr_pl[MLXSW_REG_TNGCR_LEN]; in mlxsw_sp1_nve_vxlan_config_clear() local
217 mlxsw_reg_tngcr_pack(tngcr_pl, MLXSW_REG_TNGCR_TYPE_VXLAN, false, 0); in mlxsw_sp1_nve_vxlan_config_clear()
219 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(tngcr), tngcr_pl); in mlxsw_sp1_nve_vxlan_config_clear()
339 char tngcr_pl[MLXSW_REG_TNGCR_LEN]; in mlxsw_sp2_nve_vxlan_config_set() local
354 mlxsw_sp_nve_vxlan_config_prepare(tngcr_pl, config); in mlxsw_sp2_nve_vxlan_config_set()
355 mlxsw_reg_tngcr_underlay_rif_set(tngcr_pl, ul_rif_index); in mlxsw_sp2_nve_vxlan_config_set()
357 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(tngcr), tngcr_pl); in mlxsw_sp2_nve_vxlan_config_set()
378 mlxsw_reg_tngcr_pack(tngcr_pl, MLXSW_REG_TNGCR_TYPE_VXLAN, false, 0); in mlxsw_sp2_nve_vxlan_config_set()
379 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(tngcr), tngcr_pl); in mlxsw_sp2_nve_vxlan_config_set()
390 char tngcr_pl[MLXSW_REG_TNGCR_LEN]; in mlxsw_sp2_nve_vxlan_config_clear() local
395 mlxsw_reg_tngcr_pack(tngcr_pl, MLXSW_REG_TNGCR_TYPE_VXLAN, false, 0); in mlxsw_sp2_nve_vxlan_config_clear()
396 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(tngcr), tngcr_pl); in mlxsw_sp2_nve_vxlan_config_clear()