Lines Matching refs:nh_group

479 	struct mlxsw_sp_nexthop_group *nh_group;  member
5665 fib_entry->nh_group = nh_grp; in mlxsw_sp_nexthop4_group_get()
5672 struct mlxsw_sp_nexthop_group *nh_grp = fib_entry->nh_group; in mlxsw_sp_nexthop4_group_put()
5699 struct mlxsw_sp_nexthop_group *nh_group = fib_entry->nh_group; in mlxsw_sp_fib_entry_should_offload() local
5712 return !!nh_group->nhgi->adj_index_valid; in mlxsw_sp_fib_entry_should_offload()
5714 return !!mlxsw_sp_nhgi_rif(nh_group->nhgi); in mlxsw_sp_fib_entry_should_offload()
5960 struct mlxsw_sp_nexthop_group *nh_group = fib_entry->nh_group; in mlxsw_sp_fib_entry_op_remote() local
5961 struct mlxsw_sp_nexthop_group_info *nhgi = nh_group->nhgi; in mlxsw_sp_fib_entry_op_remote()
5996 struct mlxsw_sp_rif *rif = mlxsw_sp_nhgi_rif(fib_entry->nh_group->nhgi); in mlxsw_sp_fib_entry_op_local()
6152 struct mlxsw_sp_nexthop_group_info *nhgi = fib_entry->nh_group->nhgi; in mlxsw_sp_fib4_entry_type_set()
6243 err = mlxsw_sp_nexthop_group_vr_link(fib_entry->nh_group, in mlxsw_sp_fib4_entry_create()
6263 mlxsw_sp_nexthop_group_vr_unlink(fib_entry->nh_group, fib_node->fib); in mlxsw_sp_fib4_entry_create()
6278 mlxsw_sp_nexthop_group_vr_unlink(fib4_entry->common.nh_group, in mlxsw_sp_fib4_entry_destroy()
6923 fib6_entry->common.nh_group = nh_grp; in mlxsw_sp_nexthop6_group_get()
6931 struct mlxsw_sp_nexthop_group *nh_grp = fib_entry->nh_group; in mlxsw_sp_nexthop6_group_put()
6949 struct mlxsw_sp_nexthop_group *old_nh_grp = fib6_entry->common.nh_group; in mlxsw_sp_nexthop6_group_update()
6954 fib6_entry->common.nh_group = NULL; in mlxsw_sp_nexthop6_group_update()
6961 err = mlxsw_sp_nexthop_group_vr_link(fib6_entry->common.nh_group, in mlxsw_sp_nexthop6_group_update()
6980 mlxsw_sp_nexthop_group_vr_unlink(fib6_entry->common.nh_group, in mlxsw_sp_nexthop6_group_update()
6987 fib6_entry->common.nh_group = old_nh_grp; in mlxsw_sp_nexthop6_group_update()
7055 struct mlxsw_sp_nexthop_group_info *nhgi = fib_entry->nh_group->nhgi; in mlxsw_sp_fib6_entry_type_set_local()
7097 else if (fib_entry->nh_group->nhgi->gateway) in mlxsw_sp_fib6_entry_type_set()
7149 err = mlxsw_sp_nexthop_group_vr_link(fib_entry->nh_group, in mlxsw_sp_fib6_entry_create()
7163 mlxsw_sp_nexthop_group_vr_unlink(fib_entry->nh_group, fib_node->fib); in mlxsw_sp_fib6_entry_create()
7191 mlxsw_sp_nexthop_group_vr_unlink(fib6_entry->common.nh_group, in mlxsw_sp_fib6_entry_destroy()