DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@intel.com>
To: vattunuru@marvell.com, dev@dpdk.org
Cc: jerinj@marvell.com, stephen@networkplumber.org, thomas@monjalon.net
Subject: Re: [dpdk-dev] [PATCH v1 1/1] bus/vdev: add get iommu class callback
Date: Wed, 16 Oct 2019 19:10:31 +0100	[thread overview]
Message-ID: <d0b25027-cfb6-7e20-a55e-9e1856a13ea0@intel.com> (raw)
In-Reply-To: <20191016142901.31059-1-vattunuru@marvell.com>

On 10/16/2019 3:29 PM, vattunuru@marvell.com wrote:
> From: Vamsi Attunuru <vattunuru@marvell.com>
> 
> When DPDK application is run with vdevs, EAL decides
> the iommu mode and accordingly application runs in
> either of the modes.
> 
> For KNI kind of functionality with vdevs, since there
> is no backed device structure in kernel, iommu_mode = PA
> needs to be enforced during eal init.
> 
> Patch adds get_iommu_class callback in vdev bus driver
> and returns iommu mode as PA when vdevs are used for
> kni functionality, callback returns iommu mode as DC
> in normal cases.
> 
> Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com>

NACK, more comment on other thread:
https://mails.dpdk.org/archives/dev/2019-October/147459.html


      parent reply	other threads:[~2019-10-16 18:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-16 14:29 vattunuru
2019-10-16 14:42 ` Jerin Jacob
2019-10-16 18:10 ` Ferruh Yigit [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=d0b25027-cfb6-7e20-a55e-9e1856a13ea0@intel.com \
    --to=ferruh.yigit@intel.com \
    --cc=dev@dpdk.org \
    --cc=jerinj@marvell.com \
    --cc=stephen@networkplumber.org \
    --cc=thomas@monjalon.net \
    --cc=vattunuru@marvell.com \
    /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).