Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
tcp: pacer and mrtt estimation improvements
[vpp.git]
/
src
/
vnet
/
session
/
session_node.c
diff --git
a/src/vnet/session/session_node.c
b/src/vnet/session/session_node.c
index
64c873c
..
22d8d3c
100644
(file)
--- a/
src/vnet/session/session_node.c
+++ b/
src/vnet/session/session_node.c
@@
-99,7
+99,7
@@
session_mq_reset_reply_handler (void *data)
s = session_get_if_valid (index, thread_index);
if (!s)
{
s = session_get_if_valid (index, thread_index);
if (!s)
{
-
clib_warning
("Invalid session!");
+
SESSION_DBG
("Invalid session!");
return;
}
app_wrk = app_worker_get (s->app_wrk_index);
return;
}
app_wrk = app_worker_get (s->app_wrk_index);
@@
-751,7
+751,7
@@
static void
session_update_dispatch_period (session_manager_worker_t * wrk, f64 now,
u32 thread_index)
{
session_update_dispatch_period (session_manager_worker_t * wrk, f64 now,
u32 thread_index)
{
- if (wrk->last_tx_packets
> 1
)
+ if (wrk->last_tx_packets)
{
f64 sample = now - wrk->last_vlib_time;
wrk->dispatch_period = (wrk->dispatch_period + sample) * 0.5;
{
f64 sample = now - wrk->last_vlib_time;
wrk->dispatch_period = (wrk->dispatch_period + sample) * 0.5;