DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Tan, Jianfeng" <jianfeng.tan@intel.com>
To: Thomas Monjalon <thomas.monjalon@6wind.com>,
	"O'Driscoll, Tim" <tim.odriscoll@intel.com>
Cc: dev@dpdk.org, stephen@networkplumber.org
Subject: Re: [dpdk-dev] 17.02 Roadmap
Date: Thu, 13 Oct 2016 11:15:42 +0800	[thread overview]
Message-ID: <6d6c30a9-118b-2780-9757-160c18b11488@intel.com> (raw)
In-Reply-To: <1998191.9HGrB6oKr3@xps13>

Hi Thomas,


On 10/11/2016 4:42 AM, Thomas Monjalon wrote:
> Thanks Tim for the interesting inputs.
> Some of them may require a dedicated thread to continue the discussion
> based on some preliminary specifications or drafts.
[...]
>> Interrupt Mode Support in Virtio PMD: Support for interrupt mode will be added to the virtio PMD.
> I guess you mean Rx interrupt in virtio PMD to avoid 100% polling in the VM?

Yes, it is. Previously, Stephen Hemminger has worked out a version which 
requires MSI support in uio driver, which is not upstreamed. And as 
Stephen said here 
(http://dpdk.org/ml/archives/dev/2015-December/030913.html), we will go 
with VFIO with no-IOMMU. And this dependence has been addressed in Linux 
4.8,
033291eccbd ("vfio: Include No-IOMMU mode").

Hi Stephen,

Sorry that I did not sync up with you about this topic before it's sent 
out. Have you already started the work on this topic? Or I'll work on 
this and ask your review?

>
>> Virtio-User as an Alternative Exception Path: Investigate the use of virtio-user and vhost-net as an alternative exception path to KNI that does not require out of tree drivers. This work is still at an experimental stage, so it may not be included in 17.02.
> Interesting. Please share more details of the design you are thinking of.
>
Currently, virtio-user just has the vhost-user backend (and the 
vhost-kernel path has been dropped before merge). The path of 
vhost-kernel has been dropped for bad performance comparing to 
vhost-user. And we want keep the code as simple as possible.

But after a second thought, virtio_user + vhost-kernel is a good 
candidate for exceptional path.

1. maintenance: vhost-net (kernel) is upstreamed and extensively used 
kernel module. We don't need any out-of-tree module like KNI.
2. performance: this solution would have at least similar performance 
with KNI.
3. feature: multi queue, tso, multi-seg mbuf, etc.

Any suggestions?

Thanks,
Jianfeng

  parent reply	other threads:[~2016-10-13  3:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-10 16:13 O'Driscoll, Tim
2016-10-10 20:42 ` Thomas Monjalon
2016-10-11  5:32   ` Yuanhan Liu
2016-10-11  9:09   ` O'Driscoll, Tim
2016-10-11 10:25   ` Pattan, Reshma
2016-10-11 22:36   ` De Lara Guarch, Pablo
2016-10-13  3:15   ` Tan, Jianfeng [this message]
2016-10-13 14:18   ` Hunt, David
2016-10-13 14:39     ` Thomas Monjalon
2016-10-14 17:29 ` Stephen Hemminger
2016-10-14 20:18   ` Thomas Monjalon
2016-10-16 20:21     ` O'Driscoll, Tim
  -- strict thread matches above, loose matches on Subject: below --
2016-08-31 10:31 O'Driscoll, Tim
2016-08-31 12:07 ` Thomas Monjalon

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=6d6c30a9-118b-2780-9757-160c18b11488@intel.com \
    --to=jianfeng.tan@intel.com \
    --cc=dev@dpdk.org \
    --cc=stephen@networkplumber.org \
    --cc=thomas.monjalon@6wind.com \
    --cc=tim.odriscoll@intel.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).