DPDK usage discussions
 help / color / mirror / Atom feed
From: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
To: Antonio Di Bacco <a.dibacco.ks@gmail.com>
Cc: timwood@gwu.edu, users@dpdk.org
Subject: Re: Connecting two DPDK applications through fake virtual functions
Date: Thu, 17 Mar 2022 19:44:14 +0300	[thread overview]
Message-ID: <20220317194414.09e9530d@sovereign> (raw)
In-Reply-To: <CAO8pfFkh4odkNrd24_9shVuSn0XJc9Bzxcs0dJm+7tOuhFC17Q@mail.gmail.com>

2022-03-17 16:55 (UTC+0100), Antonio Di Bacco:
> Unfortunately I cannot change the applications but I only can create some
> fake VFs and connect them with software.
> Could OVS come to the rescue?

You don't need to modify app code to communicate via shared memory:
https://doc.dpdk.org/guides/nics/memif.html

> 
> Il giorno gio 17 mar 2022 alle ore 14:27 Timothy Wood <timwood@gwu.edu> ha
> scritto:
> 
> > One option is to modify the applications to use DPDK's multi-process
> > support: https://doc.dpdk.org/guides/prog_guide/multi_proc_support.html
> > Essentially you would have one app read from the real port and then write
> > data to a software queue in shared memory. Instead of having the second app
> > read from a port it would read from the queue.
> >
> > If you want to build more elaborate combinations of functions, check out
> > our OpenNetVM research project which focused on high performance NF
> > chaining: http://sdnfv.github.io/onvm/
> >
> > ---
> > Timothy Wood, Ph. D.
> > he/him/his
> > Associate Professor
> > Department of Computer Science
> > The George Washington University
> > http://www.seas.gwu.edu/~timwood
> >
> >
> > On Thu, Mar 17, 2022 at 5:29 AM Antonio Di Bacco <a.dibacco.ks@gmail.com>
> > wrote:
> >  
> >> I have two DPDK applications that are using virtual functions built on
> >> top of two physical functions that correspond to the two ports of a 25 Gbps
> >> ethernet card. The two physical ports are connected one to the other with
> >> an optic fiber.
> >> Now, I would like to realize the same setup but without using a physical
> >> 25 Gbps card, I wonder if this is possible.
> >>
> >>  


  reply	other threads:[~2022-03-17 16:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-17  9:29 Antonio Di Bacco
2022-03-17 13:26 ` Timothy Wood
2022-03-17 15:55   ` Antonio Di Bacco
2022-03-17 16:44     ` Dmitry Kozlyuk [this message]
2022-03-17 20:53       ` Antonio Di Bacco
2022-03-17 21:41         ` Dmitry Kozlyuk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220317194414.09e9530d@sovereign \
    --to=dmitry.kozliuk@gmail.com \
    --cc=a.dibacco.ks@gmail.com \
    --cc=timwood@gwu.edu \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).