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 11:04 AM, Nataraj Batchu <nataraj.bat...@gmail.com> wrote: > > Hi, > > I was trying to use TCP_NODELAY socket option in my application. But I see > that relevant code is "VPP-TBD" in vppcom.c. I see same comment for most of > socket options. Is there any other branch where code is available? If not, > are there any plans to support setsockopt that involve communicating VPP TCP > core. > > case VPPCOM_ATTR_SET_TCP_NODELAY: > if (buffer && buflen && (*buflen == sizeof (int))) > { > /* VPP-TBD */ > if (*(int *) buffer) > VCL_SESS_ATTR_SET (session->attr, VCL_SESS_ATTR_TCP_NODELAY); > else > VCL_SESS_ATTR_CLR (session->attr, VCL_SESS_ATTR_TCP_NODELAY); > > VDBG (2, "VPPCOM_ATTR_SET_TCP_NODELAY: %d, buflen %d, #VPP-TBD#", > VCL_SESS_ATTR_TEST (session->attr, VCL_SESS_ATTR_TCP_NODELAY), > *buflen); > } > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#13268): https://lists.fd.io/g/vpp-dev/message/13268 > Mute This Topic: https://lists.fd.io/mt/32043473/675152 > Group Owner: vpp-dev+ow...@lists.fd.io > Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [fcoras.li...@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13269): https://lists.fd.io/g/vpp-dev/message/13269 Mute This Topic: https://lists.fd.io/mt/32043473/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-