Re: [vpp-dev] #vpp-hoststack how to change tcp congestion algorithm

2022-04-26 Thread Florin Coras
Hi, I wouldn’t recommend it, but if you must change it, in vpp’s startup.conf add a tcp stanza with cc-algo set to newreno: tcp { cc-algo newreno } Regards, Florin > On Apr 26, 2022, at 10:30 PM, 25956760...@gmail.com wrote: > > Hi All, > I have read the src code of TCP. I found that if I w

[vpp-dev] #vpp-hoststack how to change tcp congestion algorithm

2022-04-26 Thread 2595676015a
Hi All, I have read the src code of TCP.  I found that if I want to switch tcp congestion algorithm between newreno and cubic, the only way is to modify the src code. May I ask if my understanding is correct? Thank you very much. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to th

[vpp-dev] Rx issue on VPP

2022-04-26 Thread Tetsuya Murakami
Hi, Now I am facing the issue on rx. VPP is running on the VM having macvtap with e1000. After forwarding the packets for several minutes, suddenly the rx on this interface is stopped. Looks like there is no error on VPP. I can see a lot of Rx drop on macvtap interface on the host operating sys

Re: [vpp-dev] #socket-api get stuck in socket function

2022-04-26 Thread Florin Coras
Hi, I’m guessing you’re asking how to run LDP from gdb. For that either create a gdb script file and: gdb -x cmd.gdb --args ./epollandsocket, or run the commands after starting gdb. The minimal set of commands to start: set exec-wrapper env ‘LD_PRELOAD=/vpp/build-root/build-vpp-native/vpp/l

Re: [vpp-dev] #socket-api get stuck in socket function

2022-04-26 Thread 2595676015a
Thanks, I'm using LDP. When I use gdb to debug, it comes out with output as follows. I guess LDP recovers some libraries that gdb needs. When I switch to normal env, gdb runs correctly. How can I solve this, thanks. Correct output as follows. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messa