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

[-- Attachment #1: Type: text/plain, Size: 1955 bytes --]

Really? I know that the application is using a PMD driver for Intel card,
will this driver work with memif too?



Il giorno gio 17 mar 2022 alle ore 17:44 Dmitry Kozlyuk <
dmitry.kozliuk@gmail.com> ha scritto:

> 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.
> > >>
> > >>
>
>

[-- Attachment #2: Type: text/html, Size: 3098 bytes --]

  reply	other threads:[~2022-03-17 20:54 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
2022-03-17 20:53       ` Antonio Di Bacco [this message]
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='CAO8pfFkReUNEB9pbu3RaYHU6bZ8Byzwv9f2bKHM_=WjSQeJNqg@mail.gmail.com' \
    --to=a.dibacco.ks@gmail.com \
    --cc=dmitry.kozliuk@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).