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

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ https://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git