DPDK usage discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Sudharshan Krishnakumar <sudhar.ckrishna@gmail.com>
Cc: users@dpdk.org
Subject: Re: [dpdk-users] access to different ports on the same NIC by 2 DPDK applications
Date: Thu, 20 May 2021 15:34:49 -0700	[thread overview]
Message-ID: <20210520153449.1970527b@hermes.local> (raw)
In-Reply-To: <CAEm3rUnWPxkz7OsCx2-_NkAYYq5eGthFQX2WmffmVG9+Dbu_fA@mail.gmail.com>

On Thu, 20 May 2021 14:19:13 -0700
Sudharshan Krishnakumar <sudhar.ckrishna@gmail.com> wrote:

> Thanks for your inputs. So, does this mean, when ports are bound to VFIO
> driver(which uses IOMMU), we can
> run 2 DPDK apps concurrently, only if the 2 apps are accessing ports on 2
> different Network cards.
> In other words, when ports are bound to VFIO driver, if 2 DPDK apps are
> running concurrently on the same system,
> then we need 2 Network cards installed on that system.
> So, I am guessing with 2 Network cards, under /dev, they would enumerate as
> 2 distinct paths, for example-> /dev/vfio/1 and /dev/vfio/2.
> Is this a correct understanding, please let me know.

Groups are explained here.

https://www.kernel.org/doc/Documentation/vfio.txt

The VFIO is about isolation and if two processes are trying to
use the same group they are not isolated.

      reply	other threads:[~2021-05-20 22:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-20 20:34 Sudharshan Krishnakumar
2021-05-20 20:54 ` Stephen Hemminger
2021-05-20 21:19   ` Sudharshan Krishnakumar
2021-05-20 22:34     ` Stephen Hemminger [this message]

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=20210520153449.1970527b@hermes.local \
    --to=stephen@networkplumber.org \
    --cc=sudhar.ckrishna@gmail.com \
    --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).