diff options
author | Florin Coras <fcoras@cisco.com> | 2021-04-02 18:32:00 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2021-04-05 21:07:22 +0000 |
commit | 8f10b9050dc6318d7ccb3982eec2ed742752c6ea (patch) | |
tree | 64123a2faaf179db0558023a1a6de8c147528714 /src/vnet/session/transport.c | |
parent | e2daada1d58368b7e77c2990e680bf58e4d94f2e (diff) |
tcp: time infra improvements
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I998c0686f9f7dc556dda8b28e23bbed127d0aafc
Diffstat (limited to 'src/vnet/session/transport.c')
-rw-r--r-- | src/vnet/session/transport.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vnet/session/transport.c b/src/vnet/session/transport.c index 7cc2a8e04c5..4f6ac8b1c48 100644 --- a/src/vnet/session/transport.c +++ b/src/vnet/session/transport.c @@ -763,6 +763,12 @@ transport_connection_tx_pacer_update_bytes (transport_connection_t * tc, } void +transport_update_pacer_time (u32 thread_index, clib_time_type_t now) +{ + session_wrk_update_time (session_main_get_worker (thread_index), now); +} + +void transport_connection_reschedule (transport_connection_t * tc) { tc->flags &= ~TRANSPORT_CONNECTION_F_DESCHED; |