DPDK usage discussions
 help / color / mirror / Atom feed
From: Timothy Wood <timwood@gwu.edu>
Cc: users@dpdk.org
Subject: Re: Connecting two DPDK applications through fake virtual functions
Date: Thu, 17 Mar 2022 09:26:32 -0400	[thread overview]
Message-ID: <CAC8jeWMtcCUnHO7L9bno28TsDAqaudYxG_zwRZQ4hfrTXGdthA@mail.gmail.com> (raw)
In-Reply-To: <CAO8pfF=7CCmyZVPC1omVyxvF7uujN+S59UyxbBS=5dNPhbu2oQ@mail.gmail.com>

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

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: 1899 bytes --]

  reply	other threads:[~2022-03-17 13:27 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 [this message]
2022-03-17 15:55   ` Antonio Di Bacco
2022-03-17 16:44     ` Dmitry Kozlyuk
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=CAC8jeWMtcCUnHO7L9bno28TsDAqaudYxG_zwRZQ4hfrTXGdthA@mail.gmail.com \
    --to=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).