From: Jerin Jacob <jerinjacobk@gmail.com>
To: David Marchand <david.marchand@redhat.com>
Cc: dpdk-dev <dev@dpdk.org>, Thomas Monjalon <thomas@monjalon.net>,
Kiran Kumar K <kirankumark@marvell.com>,
Olivier Matz <olivier.matz@6wind.com>,
Ferruh Yigit <ferruh.yigit@intel.com>,
Anatoly Burakov <anatoly.burakov@intel.com>,
Andrew Rybchenko <arybchenko@solarflare.com>,
Stephen Hemminger <stephen@networkplumber.org>,
Vamsi Attunuru <vattunuru@marvell.com>
Subject: Re: [dpdk-dev] [PATCH v15 2/2] eal/linux: remove KNI restriction on IOVA
Date: Mon, 18 Nov 2019 19:34:57 +0530 [thread overview]
Message-ID: <CALBAE1Np+ZCvVc6Lr-a_G2MS7Qpmk1vzc1zWqLoA1G20Tj6-4Q@mail.gmail.com> (raw)
In-Reply-To: <20191117151244.3854-3-david.marchand@redhat.com>
On Sun, Nov 17, 2019 at 8:43 PM David Marchand
<david.marchand@redhat.com> wrote:
>
> From: Vamsi Attunuru <vattunuru@marvell.com>
>
> Now that KNI supports VA (with kernel versions starting 4.6.0), we can
> accept IOVA as VA, but KNI must be configured for this.
> Pass iova_mode when creating KNI netdevs.
>
> So far, IOVA detection policy forced IOVA as PA when KNI is loaded,
> whatever the buses IOVA requirements were.
>
> We can now use IOVA as VA, but this comes with a cost in KNI.
> When no constraint is expressed by the buses, keep the current behavior
> of choosing PA.
>
> Note: this change supposes that dpdk is built on the same kernel than
> the target system kernel; no objection has been expressed on this topic.
>
> Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com>
> Signed-off-by: Kiran Kumar K <kirankumark@marvell.com>
> Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
next prev parent reply other threads:[~2019-11-18 14:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-17 15:12 [dpdk-dev] [PATCH v15 0/2] kni: support IOVA mode David Marchand
2019-11-17 15:12 ` [dpdk-dev] [PATCH v15 1/2] kni: support userspace VA David Marchand
2019-11-18 14:04 ` Jerin Jacob
2019-11-20 10:47 ` Ferruh Yigit
2019-11-17 15:12 ` [dpdk-dev] [PATCH v15 2/2] eal/linux: remove KNI restriction on IOVA David Marchand
2019-11-18 14:04 ` Jerin Jacob [this message]
2019-11-18 15:03 ` [dpdk-dev] [PATCH v15 0/2] kni: support IOVA mode David Marchand
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=CALBAE1Np+ZCvVc6Lr-a_G2MS7Qpmk1vzc1zWqLoA1G20Tj6-4Q@mail.gmail.com \
--to=jerinjacobk@gmail.com \
--cc=anatoly.burakov@intel.com \
--cc=arybchenko@solarflare.com \
--cc=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
--cc=kirankumark@marvell.com \
--cc=olivier.matz@6wind.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).