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:
99e3b8b
)
session: increase retries to grab mq lock
99/36699/4
author
Radha krishna Saragadam
<
[email protected]
>
Mon, 18 Jul 2022 13:53:06 +0000
(19:23 +0530)
committer
Florin Coras
<
[email protected]
>
Tue, 19 Jul 2022 20:09:22 +0000
(20:09 +0000)
With thousands of UDP sessions,
Sometimes VPP needs more time to grab the MQ lock for a session.
So increased tries from 5 to 75.
Type: fix
Signed-off-by: Radha krishna Saragadam <
[email protected]
>
Change-Id: Id8b877255aedcdcf206e9d0869fe5246645d76e7
src/vnet/session/application_worker.c
patch
|
blob
|
history
diff --git
a/src/vnet/session/application_worker.c
b/src/vnet/session/application_worker.c
index
6bbad04
..
844e78f
100644
(file)
--- a/
src/vnet/session/application_worker.c
+++ b/
src/vnet/session/application_worker.c
@@
-683,7
+683,7
@@
mq_try_lock_and_alloc_msg (svm_msg_q_t *mq, session_mq_rings_e ring,
{
int rv, n_try = 0;
- while (n_try < 5)
+ while (n_try <
7
5)
{
rv = svm_msg_q_lock_and_alloc_msg_w_ring (mq, ring, SVM_Q_NOWAIT, msg);
if (!rv)