[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [ Patch 1/2] virtio-net rsc: support coalescing ipv4 tc
From: |
Jason Wang |
Subject: |
Re: [Qemu-devel] [ Patch 1/2] virtio-net rsc: support coalescing ipv4 tcp traffic |
Date: |
Fri, 18 Mar 2016 13:20:47 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
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.
- [Qemu-devel] [ Patch 2/2] virtio-net rsc: support coalescing ipv6 tcp traffic, (continued)
- [Qemu-devel] [ Patch 2/2] virtio-net rsc: support coalescing ipv6 tcp traffic, wexu, 2016/03/15
- [Qemu-devel] [ Patch 1/2] virtio-net rsc: support coalescing ipv4 tcp traffic, wexu, 2016/03/15
- Re: [Qemu-devel] [ Patch 1/2] virtio-net rsc: support coalescing ipv4 tcp traffic, Michael S. Tsirkin, 2016/03/15
- Re: [Qemu-devel] [ Patch 1/2] virtio-net rsc: support coalescing ipv4 tcp traffic, Jason Wang, 2016/03/17
- Re: [Qemu-devel] [ Patch 1/2] virtio-net rsc: support coalescing ipv4 tcp traffic, Wei Xu, 2016/03/17
- Re: [Qemu-devel] [ Patch 1/2] virtio-net rsc: support coalescing ipv4 tcp traffic, Jason Wang, 2016/03/17
- Re: [Qemu-devel] [ Patch 1/2] virtio-net rsc: support coalescing ipv4 tcp traffic, Wei Xu, 2016/03/18
- Re: [Qemu-devel] [ Patch 1/2] virtio-net rsc: support coalescing ipv4 tcp traffic,
Jason Wang <=
- Re: [Qemu-devel] [ Patch 1/2] virtio-net rsc: support coalescing ipv4 tcp traffic, Wei Xu, 2016/03/18
- Re: [Qemu-devel] [ Patch 1/2] virtio-net rsc: support coalescing ipv4 tcp traffic, Jason Wang, 2016/03/18
- Re: [Qemu-devel] [ Patch 1/2] virtio-net rsc: support coalescing ipv4 tcp traffic, Wei Xu, 2016/03/18
Re: [Qemu-devel] [ Patch 0/2] Support Receive-Segment-Offload(RSC) for WHQL test of Window guest, Michael S. Tsirkin, 2016/03/15
Re: [Qemu-devel] [ Patch 0/2] Support Receive-Segment-Offload(RSC) for WHQL test of Window guest, Jason Wang, 2016/03/17