Hi Subrata, As a first guess, I'd say using a tap from VPP to your pod is probably the best option, alternatively you could leverage a memif interface between both - if performance matters - but it would probably require evolutions in your legacy application.
But I'm not completely sure why using a tap would require updating your legacy application. Does it expect traffic destined to a specific address ? More generally how is the addressing/routing in your setup ? On your other suggestions, the Host Stack would work but also requiring updating the legacy application, iirc the netmap node is not maintained anymore, and the veth would probably be tricky to leverage from within VPP. Hope this helps, Cheers, -Nathan Le ven. 10 juin 2022 à 13:29, Subrata Nath <subratanat...@gmail.com> a écrit : > HI, > > Our application runs inside Kubernetes Pod and two process communicate > over UDP socket via the internal Pod interface which is managed by > Kubernetes. One process is being migrated to VPP based and uses the SRIOV & > multus CNI based external interface. VPP can't use the internal Pod > interface as its managed by Kubernetes and coming from Calico CNI. How to > achieve the communication now between VPP based process and the other > legacy Linux based process over the Pod internal interface. I checked the > following options but none of them seems to be suitable with the Pod > internal interface - > > 1. VPP host-stack based socket communication but it can't be used as Pod > internal interface is not with VPP. > > 2.VPP veth based host interface is also rule out as the Pod interface is > not of type veth. > > 3. VPP netmap input node - As per VPP doc, this needs the physical NIC and > hence won't work with the K8s Pod interface. > > 4. Tap interface - This needs other side i.e. legacy linux app to change > to send/receive packets. > > Is there any other VPP based input nodes or any other solution which can > be used here to communicate with a legacy linux app over Pod interface? > Thanks. > > Regards, > Subrata > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21531): https://lists.fd.io/g/vpp-dev/message/21531 Mute This Topic: https://lists.fd.io/mt/91666071/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-