From: Wei Xu <wexu@redhat.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [ Patch 1/2] virtio-net rsc: support coalescing ipv4 tcp traffic
Date: Fri, 18 Mar 2016 14:38:13 +0800 [thread overview]
Message-ID: <56EBA255.3090608@redhat.com> (raw)
In-Reply-To: <56EB902F.1070506@redhat.com>
On 2016年03月18日 13:20, Jason Wang wrote:
>
> On 03/18/2016 12:17 PM, Wei Xu wrote:
>>>>>> +static ssize_t virtio_net_receive(NetClientState *nc,
>>>>>> + const uint8_t *buf, size_t size)
>>>>>> +{
>>>>>> + if (virtio_net_rsc_bypass) {
>>>>>> + return virtio_net_do_receive(nc, buf, size);
>>>>> You need a feature bit for this and compat it for older machine types.
>>>>> And also need some work on virtio spec I think.
>>>> yes, not sure which way is good to support this, hmp/qmp/ethtool, this
>>>> is gonna to support win guest,
>>>> so need a well-compatible interface, any comments?
>>> I think this should be implemented through feature bits/negotiation
>>> instead of something like ethtool.
>> Looks this feature should be turn on/off dynamically due to the spec,
>> so maybe this should be managed from the guest, is there any reference
>> code for this?
> Then you may want to look at implementation of
> VIRTIO_NET_F_CTRL_GUEST_OFFLOADS.
Have a short look at it, do you know how to control the feature bit?
both when lauching vm and changing it during runtime?
next prev parent reply other threads:[~2016-03-18 6:38 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-15 9:17 [Qemu-devel] [ Patch 0/2] Support Receive-Segment-Offload(RSC) for WHQL test of Window guest wexu
2016-03-15 9:17 ` [Qemu-devel] [ Patch 1/2] virtio-net rsc: support coalescing ipv4 tcp traffic wexu
2016-03-15 10:00 ` Michael S. Tsirkin
2016-03-16 3:23 ` Wei Xu
2016-03-17 8:42 ` Jason Wang
2016-03-17 16:45 ` Wei Xu
2016-03-18 2:03 ` Jason Wang
2016-03-18 4:17 ` Wei Xu
2016-03-18 5:20 ` Jason Wang
2016-03-18 6:38 ` Wei Xu [this message]
2016-03-18 6:56 ` Jason Wang
2016-03-18 14:52 ` Wei Xu
2016-03-15 9:17 ` [Qemu-devel] [ Patch 2/2] virtio-net rsc: support coalescing ipv6 " wexu
2016-03-17 8:50 ` Jason Wang
2016-03-17 16:50 ` Wei Xu
2016-03-15 10:01 ` [Qemu-devel] [ Patch 0/2] Support Receive-Segment-Offload(RSC) for WHQL test of Window guest Michael S. Tsirkin
2016-03-16 3:08 ` Wei Xu
2016-03-17 6:47 ` Jason Wang
2016-03-17 15:21 ` Wei Xu
2016-03-17 15:44 ` Michael S. Tsirkin
2016-03-17 16:57 ` Wei Xu
2016-03-18 2:22 ` Jason Wang
2016-03-18 4:24 ` Wei Xu
2016-03-18 5:21 ` Jason Wang
2016-03-18 6:30 ` Wei Xu
-- strict thread matches above, loose matches on Subject: below --
2016-10-31 17:41 [Qemu-devel] [ RFC Patch v7 0/2] Support Receive-Segment-Offload(RSC) for WHQL wexu
2016-10-31 17:41 ` [Qemu-devel] [PATCH 1/2] virtio-net rsc: support coalescing ipv4 tcp traffic wexu
2016-11-24 4:17 ` Jason Wang
2016-11-24 4:26 ` Michael S. Tsirkin
2016-11-24 4:31 ` Jason Wang
2016-11-24 5:09 ` Michael S. Tsirkin
2016-11-30 8:55 ` Wei Xu
2016-11-30 11:12 ` Jason Wang
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=56EBA255.3090608@redhat.com \
--to=wexu@redhat.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 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.