Re: [vpp-dev] setsockopt with TCP_NODELAY

2019-06-12 Thread Florin Coras
Unfortunately, we don’t support any of those options at this time. In particular, the stack won’t delay segments and tcp doesn’t do keepalives. Do you really need those? If you need to constrain tcp mss, you can indirectly do it by configuring the tcp mtu as a vpp startup parameter. You can’t d

Re: [vpp-dev] setsockopt with TCP_NODELAY

2019-06-12 Thread Nataraj Batchu
Hi Florin, Thanks for reply. My question is setsockopt() for not yet established sessions i.e before connect(). I was trying to clearing TCP_NODELAY, setting TCP_MAXSEG(to much lower than interface MTU) and TCP_KEEPINTVL. These options need to be communicating to the vnet right? I was looking for

Re: [vpp-dev] setsockopt with TCP_NODELAY

2019-06-12 Thread Florin Coras
Hi Nataraj, TCP defaults to TCP_NODELAY behavior, unless you need Nagle’s algorithm on, you should be fine. As for the socket options, no. At this time, ldp cannot change properties for established tcp connections. What sort of things are you missing? Thanks, Florin > On Jun 12, 2019, at 1