We had 2 DPDK processes - one DPDK primary and multiple DPDK secondary 
processes and RTE ring between the primary and the secondary processes.
The primary had multiple worker threads and each worker thread tx/queues a 
packet on a RTE ring which is picked up/rx by one of the secondary process.
And a secondary DPDK process picks a RTE ring of a worker thread in the primary 
(based on some tag) and tx/queues the packet on the RTE ring which is then 
picked up/rx by the worker thread processing that RTE ring.

We are trying to port this code base to VPP world.  We have converted DPDK 
primary to be an extension of VPP by adding required custom graph nodes.
The question how do we interface with the secondary DPDK processes since we 
can't have RTE ring between VPP and DPDK processes

We are considering using memif interface between VPP and the DPDK processes 
which will use memif PMD to tx/rx packets to/from VPP worker threads. In this 
case the DPDK processes will act as memif slave and VPP as the master

Questions are:
- How many memif interfaces should we have in VPP - one per VPP worker thread? 
emulating RTE_ring?  If there are N worker threads and M DPDK processes how 
would it work?
Basically we want N worker threads to round robin M DPDK processes and DPDK 
processes to pick the worker thread on transmit
- Should we consider single memif interface in VPP and the use RSS (if 
supported some kind) to split the traffic to the worker threads?
Could a DPDK process steer/tx a packet to a specific worker thread in VPP?
- We used to tag additional data in mbuf which was passed around between DPDK 
primary and DPDK secondary processes. Since memif is a packet interface - how 
could we tag additional context data between VPP worker thread and DPDK process.

Appreciate you help!!!!
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15454): https://lists.fd.io/g/vpp-dev/message/15454
Mute This Topic: https://lists.fd.io/mt/71375592/21656
Mute #dpdk: https://lists.fd.io/mk?hashtag=dpdk&subid=1480452
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]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to