Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
aaf64a2
)
session: include timer generated packets in max burst
70/25370/1
author
Florin Coras
<
[email protected]
>
Sun, 23 Feb 2020 19:00:18 +0000
(19:00 +0000)
committer
Florin Coras
<
[email protected]
>
Sun, 23 Feb 2020 19:00:18 +0000
(19:00 +0000)
Type: improvement
Signed-off-by: Florin Coras <
[email protected]
>
Change-Id: Ic9174c92ab05b58e62b00999fe9cbf4e9292d43e
src/vnet/session/session_node.c
patch
|
blob
|
history
diff --git
a/src/vnet/session/session_node.c
b/src/vnet/session/session_node.c
index
44dc9cc
..
5f76578
100644
(file)
--- a/
src/vnet/session/session_node.c
+++ b/
src/vnet/session/session_node.c
@@
-1272,7
+1272,7
@@
session_queue_node_fn (vlib_main_t * vm, vlib_node_runtime_t * node,
session_evt_elt_t *elt, *ctrl_he, *new_he, *old_he;
clib_llist_index_t ei, next_ei, old_ti;
svm_msg_q_msg_t _msg, *msg = &_msg;
- int i, n_tx_packets
= 0
;
+ int i, n_tx_packets;
session_event_t *evt;
svm_msg_q_t *mq;
@@
-1285,6
+1285,7
@@
session_queue_node_fn (vlib_main_t * vm, vlib_node_runtime_t * node,
* Update transport time
*/
transport_update_time (wrk->last_vlib_time, thread_index);
+ n_tx_packets = vec_len (wrk->pending_tx_buffers);
/*
* Dequeue and handle new events