Hi Florin,

These days I tested the tcp_echo of master branch, and found an issue: when
I set the  fifo-size in client to value that lower then 16, it test will
hang because nothing send to server and of cause no recv too.

After some investigation, it is related to this lines in send_test_chunk.

-----
  if (enq_space < clib_min (bytes_this_chunk, min_chunk))
    return;
------

>From the code logic, it may want to use the available space in fifo, but
there is a hard code length 16<<10 for min_chunk, so looks like we could
either remove
this line( because code still try to get the available length of fifo in
following code), or
add limitation announcement for fifo-size configuration.


/Yalei
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10062): https://lists.fd.io/g/vpp-dev/message/10062
Mute This Topic: https://lists.fd.io/mt/24228320/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to