Dear All,

The example application hs_apps/proxy.c ( 
https://github.com/FDio/vpp/blob/master/src/plugins/hs_apps/proxy.c ) seems to 
achieve the functionality of TCP proxy using VPP host stack.

1. It uses Session Layer API with FIFO. My understanding is that it includes 2 
packet memcpy for all the TCP data packets (One from vlib_buffer to FIFO, again 
from FIFO to vlib_buffer). Any solution to avoid this and modify the same 
buffer between connections? Assuming it is okay to compromise on packet 
reordering or TCP segment overlap functionality.
1.1 Since the proxy runs in same VPP process, shared memory is not needed. Also 
any documentation on Hoststack's Binary API?
2. If it is not possible to avoid FIFO in shared memory, is there any limit on 
the number of connections because of the linux fd?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18831): https://lists.fd.io/g/vpp-dev/message/18831
Mute This Topic: https://lists.fd.io/mt/81029148/21656
Mute #vpp-hoststack:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp-hoststack
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to