All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: Ouyang Changchun <changchun.ouyang@intel.com>,
	qemu-devel@nongnu.org, mst@redhat.com
Cc: luke@snabb.co, snabb-devel@googlegroups.com,
	thomas.long@intel.com, n.nikolaev@virtualopensystems.com
Subject: Re: [Qemu-devel] [PATCH v3] vhost-user: add multi queue support
Date: Thu, 21 May 2015 13:03:26 -0600	[thread overview]
Message-ID: <555E2BFE.8040805@redhat.com> (raw)
In-Reply-To: <1432218012-31328-1-git-send-email-changchun.ouyang@intel.com>

[-- Attachment #1: Type: text/plain, Size: 1786 bytes --]

On 05/21/2015 08:20 AM, Ouyang Changchun wrote:
> From: Changchun Ouyang <changchun.ouyang@intel.com>
> 

It's better to post a v3 patch as a new top-level thread, rather than
in-reply-to an existing thread.

> Based on patch by Nikolay Nikolaev:
> Vhost-user will implement the multi queue support in a similar way
> to what vhost already has - a separate thread for each queue.
> To enable the multi queue funcionality - a new command line parameter

s/funcionality/functionality/

> "queues" is introduced for the vhost-user netdev.
> 
> Signed-off-by: Nikolay Nikolaev <n.nikolaev@virtualopensystems.com>
> Signed-off-by: Changchun Ouyang <changchun.ouyang@intel.com>
> ---
> Changes since v2:
>  - fix vq index issue for set_vring_call
>    When it is the case of VHOST_SET_VRING_CALL, The vq_index is not initialized before it is used,
>    thus it could be a random value. The random value lead to crash in vhost after passing down
>    to vhost, as vhost use this random value to index an array index.
>  - fix the typo in the doc and description
>  - address vq index for reset_owner

> +++ b/qapi-schema.json
> @@ -2444,12 +2444,16 @@
>  #
>  # @vhostforce: #optional vhost on for non-MSIX virtio guests (default: false).
>  #
> +# @queues: #optional number of queues to be created for multiqueue vhost-user (default: 1).

Long line; please wrap to fit under 80 columns.

> +#          (Since 2.4)
> +#
>  # Since 2.1
>  ##
>  { 'struct': 'NetdevVhostUserOptions',
>    'data': {
>      'chardev':        'str',
> -    '*vhostforce':    'bool' } }
> +    '*vhostforce':    'bool',
> +    '*queues':        'uint32' } }

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]

      reply	other threads:[~2015-05-21 19:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-24 12:22 [Qemu-devel] [PATCH v2] vhost-user: add multi queue support Nikolay Nikolaev
2015-01-26 18:51 ` Eric Blake
2015-04-06 15:07 ` Michael S. Tsirkin
2015-04-08 15:18   ` [Qemu-devel] [snabb-devel] " Nikolay Nikolaev
2015-04-09  2:18   ` Ouyang, Changchun
2015-05-21 14:20 ` [Qemu-devel] [PATCH v3] " Ouyang Changchun
2015-05-21 19:03   ` Eric Blake [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=555E2BFE.8040805@redhat.com \
    --to=eblake@redhat.com \
    --cc=changchun.ouyang@intel.com \
    --cc=luke@snabb.co \
    --cc=mst@redhat.com \
    --cc=n.nikolaev@virtualopensystems.com \
    --cc=qemu-devel@nongnu.org \
    --cc=snabb-devel@googlegroups.com \
    --cc=thomas.long@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.