From: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
To: Marcel Apfelbaum <marcel@redhat.com>, qemu-devel@nongnu.org
Cc: jasowang@redhat.com, famz@redhat.com,
n.nikolaev@virtualopensystems.com, mst@redhat.com
Subject: Re: [Qemu-devel] [PATCH V3 1/3] hw/vhost-user: remove unnecessary virtio control bits
Date: Wed, 5 Aug 2015 14:37:55 +0300 [thread overview]
Message-ID: <55C1F593.5040905@gmail.com> (raw)
In-Reply-To: <1438360700-18289-2-git-send-email-marcel@redhat.com>
On 07/31/2015 07:38 PM, Marcel Apfelbaum wrote:
> The backend is interested in negotiating only several
> virtio bits, remove the others.
>
> Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
> ---
> hw/net/vhost_net.c | 22 ----------------------
> 1 file changed, 22 deletions(-)
>
> diff --git a/hw/net/vhost_net.c b/hw/net/vhost_net.c
> index c864237..90f97d2 100644
> --- a/hw/net/vhost_net.c
> +++ b/hw/net/vhost_net.c
> @@ -59,31 +59,9 @@ static const int kernel_feature_bits[] = {
>
> /* Features supported by others. */
> static const int user_feature_bits[] = {
> - VIRTIO_F_NOTIFY_ON_EMPTY,
> - VIRTIO_RING_F_INDIRECT_DESC,
> - VIRTIO_RING_F_EVENT_IDX,
> -
> VIRTIO_F_ANY_LAYOUT,
> VIRTIO_F_VERSION_1,
> - VIRTIO_NET_F_CSUM,
> - VIRTIO_NET_F_GUEST_CSUM,
> - VIRTIO_NET_F_GSO,
> - VIRTIO_NET_F_GUEST_TSO4,
> - VIRTIO_NET_F_GUEST_TSO6,
> - VIRTIO_NET_F_GUEST_ECN,
> - VIRTIO_NET_F_GUEST_UFO,
> - VIRTIO_NET_F_HOST_TSO4,
> - VIRTIO_NET_F_HOST_TSO6,
> - VIRTIO_NET_F_HOST_ECN,
> - VIRTIO_NET_F_HOST_UFO,
> VIRTIO_NET_F_MRG_RXBUF,
> - VIRTIO_NET_F_STATUS,
> - VIRTIO_NET_F_CTRL_VQ,
> - VIRTIO_NET_F_CTRL_RX,
> - VIRTIO_NET_F_CTRL_VLAN,
> - VIRTIO_NET_F_CTRL_RX_EXTRA,
> - VIRTIO_NET_F_CTRL_MAC_ADDR,
> - VIRTIO_NET_F_CTRL_GUEST_OFFLOADS,
>
> VIRTIO_NET_F_MQ,
>
>
Hi,
Please do not take this patch, I think that some bits I deleted are still required by the backend.
The others are OK in my opinion (at least until we change the MQ handshake)
Thanks,
Marcel
next prev parent reply other threads:[~2015-08-05 11:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-31 16:38 [Qemu-devel] [PATCH V3 0/3] vhost-user: sync backend Marcel Apfelbaum
2015-07-31 16:38 ` [Qemu-devel] [PATCH V3 1/3] hw/vhost-user: remove unnecessary virtio control bits Marcel Apfelbaum
2015-08-05 11:37 ` Marcel Apfelbaum [this message]
2015-07-31 16:38 ` [Qemu-devel] [PATCH V3 2/3] hw/vhost-user: sync backend features Marcel Apfelbaum
2015-07-31 16:38 ` [Qemu-devel] [PATCH V3 3/3] tests/vhost-user: check vhost-user feature negotiation Marcel Apfelbaum
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=55C1F593.5040905@gmail.com \
--to=marcel.apfelbaum@gmail.com \
--cc=famz@redhat.com \
--cc=jasowang@redhat.com \
--cc=marcel@redhat.com \
--cc=mst@redhat.com \
--cc=n.nikolaev@virtualopensystems.com \
--cc=qemu-devel@nongnu.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
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).