Lines Matching refs:ul_vr

1306 	struct mlxsw_sp_vr *ul_vr;  in mlxsw_sp_ipip_entry_find_decap()  local
1315 ul_vr = mlxsw_sp_vr_find(mlxsw_sp, ul_tb_id); in mlxsw_sp_ipip_entry_find_decap()
1316 if (!ul_vr) in mlxsw_sp_ipip_entry_find_decap()
1319 ul_fib = mlxsw_sp_vr_fib(ul_vr, ipip_ops->ul_proto); in mlxsw_sp_ipip_entry_find_decap()
7885 struct mlxsw_sp_vr *ul_vr; in mlxsw_sp_ipip_lb_ul_vr_id() local
7887 ul_vr = mlxsw_sp_vr_get(lb_rif->common.mlxsw_sp, ul_tb_id, NULL); in mlxsw_sp_ipip_lb_ul_vr_id()
7888 if (WARN_ON(IS_ERR(ul_vr))) in mlxsw_sp_ipip_lb_ul_vr_id()
7891 return ul_vr->id; in mlxsw_sp_ipip_lb_ul_vr_id()
9706 struct mlxsw_sp_vr *ul_vr; in mlxsw_sp1_rif_ipip_lb_configure() local
9709 ul_vr = mlxsw_sp_vr_get(mlxsw_sp, ul_tb_id, NULL); in mlxsw_sp1_rif_ipip_lb_configure()
9710 if (IS_ERR(ul_vr)) in mlxsw_sp1_rif_ipip_lb_configure()
9711 return PTR_ERR(ul_vr); in mlxsw_sp1_rif_ipip_lb_configure()
9713 err = mlxsw_sp_rif_ipip_lb_op(lb_rif, ul_vr->id, 0, true); in mlxsw_sp1_rif_ipip_lb_configure()
9717 lb_rif->ul_vr_id = ul_vr->id; in mlxsw_sp1_rif_ipip_lb_configure()
9719 ++ul_vr->rif_count; in mlxsw_sp1_rif_ipip_lb_configure()
9723 mlxsw_sp_vr_put(mlxsw_sp, ul_vr); in mlxsw_sp1_rif_ipip_lb_configure()
9731 struct mlxsw_sp_vr *ul_vr; in mlxsw_sp1_rif_ipip_lb_deconfigure() local
9733 ul_vr = &mlxsw_sp->router->vrs[lb_rif->ul_vr_id]; in mlxsw_sp1_rif_ipip_lb_deconfigure()
9734 mlxsw_sp_rif_ipip_lb_op(lb_rif, ul_vr->id, 0, false); in mlxsw_sp1_rif_ipip_lb_deconfigure()
9736 --ul_vr->rif_count; in mlxsw_sp1_rif_ipip_lb_deconfigure()
9737 mlxsw_sp_vr_put(mlxsw_sp, ul_vr); in mlxsw_sp1_rif_ipip_lb_deconfigure()