It’s done on purpose in order to avoid constant locking. Applications should accept new session on the right thread. If you plan to distribute the load across multiple workers, then just have them all listen on the same ip:port tuple and vpp will load balance.
Florin > On Nov 22, 2018, at 6:54 AM, at.man...@gmail.com wrote: > > Hello all, > Having that index in the thread context is breaking run-time of > multi-threaded applications. Most of them accept connections in a main loop > and process data in a thread by passing the socket descriptor. > I understand that there is no data protections across the interface > library..but, are there any other reasons, that I might be missing, for that? > > Thanks in advance. > Manuel -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#11372): https://lists.fd.io/g/vpp-dev/message/11372 > Mute This Topic: https://lists.fd.io/mt/28286895/675152 > Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480544 > 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 (#11390): https://lists.fd.io/g/vpp-dev/message/11390 Mute This Topic: https://lists.fd.io/mt/28286895/21656 Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-