diff options
author | Florin Coras <fcoras@cisco.com> | 2019-10-22 19:01:39 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-11-05 15:50:37 +0000 |
commit | a8e71c8981f039588a7ca94e6ab66b4ebac784a5 (patch) | |
tree | e1cb1e3ff299d16276c0060901705d446645a445 /src/vnet/session/session.c | |
parent | 0b6a857d85df97e887de7aaf00fd6bd2dae39bf8 (diff) |
session tcp: refactor pacer time
Type: refactor
Change-Id: Ic1c3e1f7987702cd88972acc34849dc1f585d5fe
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/session.c')
-rw-r--r-- | src/vnet/session/session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c index d9a733d356e..5cd840bd834 100644 --- a/src/vnet/session/session.c +++ b/src/vnet/session/session.c @@ -1494,6 +1494,7 @@ session_manager_main_enable (vlib_main_t * vm) wrk->old_head = clib_llist_make_head (wrk->event_elts, evt_list); wrk->vm = vlib_mains[i]; wrk->last_vlib_time = vlib_time_now (vlib_mains[i]); + wrk->last_vlib_us_time = wrk->last_vlib_time * CLIB_US_TIME_FREQ; if (num_threads > 1) clib_rwlock_init (&smm->wrk[i].peekers_rw_locks); @@ -1537,7 +1538,6 @@ session_manager_main_enable (vlib_main_t * vm) /* Enable transports */ transport_enable_disable (vm, 1); - transport_init_tx_pacers_period (); return 0; } |