Searched refs:number_nhops (Results 1 – 1 of 1) sorted by relevance
138 uint32_t number_nhops; /* current # of nhops */ member620 fd->number_nhops = 16; in estimate_nhop_scale()624 if (old_fd->hit_nhops && old_fd->number_nhops < FIB_MAX_NHOPS) in estimate_nhop_scale()625 fd->number_nhops = 2 * old_fd->number_nhops; in estimate_nhop_scale()627 fd->number_nhops = old_fd->number_nhops; in estimate_nhop_scale()836 for (int i = 0; i < fd->number_nhops; i++) { in destroy_fd_instance()911 size = fd->number_nhops * sizeof(void *); in try_setup_fd_instance()920 size += fd->number_nhops * sizeof(uint32_t); in try_setup_fd_instance()926 FD_PRINTF(LOG_DEBUG, fd, "Allocated %u nhop indexes", fd->number_nhops); in try_setup_fd_instance()1430 if (idx >= fd->number_nhops) { in fib_ref_nhop()[all …]