hsa: Fix QUIC sessions count calculation
Type: fix
Signed-off-by: Aloys Augustin <aloaugus@cisco.com>
Change-Id: Ia53a41a30920f8af7cd00c6f809b32e7cc277b7a
(cherry picked from commit a786687ab4
)
This commit is contained in:

committed by
Andrew Yourtchenko

parent
b7a6c5633c
commit
62042e618a
@ -454,9 +454,7 @@ quic_echo_set_defaults_after_opts_cb ()
|
||||
|
||||
em->n_connects = em->n_clients;
|
||||
em->n_sessions =
|
||||
clib_max (1,
|
||||
eqm->n_stream_clients) * em->n_clients + eqm->n_stream_clients +
|
||||
1;
|
||||
clib_max (1, eqm->n_stream_clients) * em->n_clients + em->n_clients + 1;
|
||||
em->n_clients = eqm->n_stream_clients * em->n_clients;
|
||||
|
||||
if (em->i_am_master)
|
||||
|
Reference in New Issue
Block a user