[vpp-dev] About the fifo-size parameter in app tcp_echo

2018-08-08 Thread wylandrea
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.

Re: [vpp-dev] About the fifo-size parameter in app tcp_echo

2018-08-08 Thread Florin Coras
Hi Yalei, I guess there’s two solutions to that. Set min_chunk to something like clib_min (16 << 10, fifo_size/2) or remove min_chunk entirely. I’m fine with either of those. Feel free to push a patch! Thanks, Florin > On Aug 8, 2018, at 12:17 AM, 汪亚雷 wrote: > > Hi Florin, > > These days