On Fri, 22 Oct, 2021, 2:44 pm Satya Murthy, <satyamurthy1...@gmail.com> wrote:
> Hi VPP experts, > > We are using memif for communication between an APP and VPP. > We recently tried moving to zero-copy memif based on the > example icmp_responder-zero-copy-slave. > > This example shows the code for the APP being in SLAVE mode. > So, to go along with this, we made VPP as memif-MASTER and APP as SLAVE. > > But, the VPP memif create interface code is restricting the VPP to be > memif-SLAVE when we use Zero-copy. > > So, few questions of interest are: > > - Does VPP latest release support zero-copy-memif with VPP being MASTER ? > [MJ]- For zero copy in VPP, it should be in slave mode. - Is there any example zero-copy code for APP side being in MASTER [MJ]- Yes, you can try, icmp_resp-epoll Or other example, in case it hard-code, you just change the flag from slave to master. > Please let us know. > Current example only shows APP being SLAVE for zero-copy. > > > -- > Thanks & Regards, > Murthy > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20359): https://lists.fd.io/g/vpp-dev/message/20359 Mute This Topic: https://lists.fd.io/mt/86509719/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-