[PATCH v2 0/4] virtio-net: add USO feature (UDP segmentation offload)

Yuri Benditovich posted 4 patches 9 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230731223148.1002258-1-yuri.benditovich@daynix.com
Maintainers: Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Yanan Wang <wangyanan55@huawei.com>, Dmitry Fleytman <dmitry.fleytman@gmail.com>, Akihiko Odaki <akihiko.odaki@daynix.com>, Jason Wang <jasowang@redhat.com>, Sriram Yagnaraman <sriram.yagnaraman@est.tech>, "Michael S. Tsirkin" <mst@redhat.com>, Stefan Weil <sw@weilnetz.de>
hw/core/machine.c    |  4 ++++
hw/net/e1000e_core.c |  2 +-
hw/net/igb_core.c    |  2 +-
hw/net/vhost_net.c   |  3 +++
hw/net/virtio-net.c  | 35 ++++++++++++++++++++++++++++++++---
hw/net/vmxnet3.c     |  2 ++
include/net/net.h    |  7 +++++--
net/net.c            | 13 +++++++++++--
net/tap-bsd.c        |  7 ++++++-
net/tap-linux.c      | 27 ++++++++++++++++++++++++---
net/tap-linux.h      |  2 ++
net/tap-solaris.c    |  7 ++++++-
net/tap-stub.c       |  7 ++++++-
net/tap-win32.c      |  2 +-
net/tap.c            | 18 +++++++++++++++---
net/tap_int.h        |  4 +++-
net/vhost-vdpa.c     |  3 +++
17 files changed, 125 insertions(+), 20 deletions(-)
[PATCH v2 0/4] virtio-net: add USO feature (UDP segmentation offload)
Posted by Yuri Benditovich 9 months ago
Starting from 6.2 the kernel supports UDP segmentation offload, it
uses GSO_UDP_L4 to mark packets with UDP sermentation request

v1->v2:
 Enable USO features by default starting from 8.1
 Move command-line parameters to the last patch

Andrew Melnychenko (2):
  tap: Add USO support to tap device.
  virtio-net: Add USO flags to vhost support.

Yuri Benditovich (2):
  tap: Add check for USO features
  virtio-net: Add support for USO features

 hw/core/machine.c    |  4 ++++
 hw/net/e1000e_core.c |  2 +-
 hw/net/igb_core.c    |  2 +-
 hw/net/vhost_net.c   |  3 +++
 hw/net/virtio-net.c  | 35 ++++++++++++++++++++++++++++++++---
 hw/net/vmxnet3.c     |  2 ++
 include/net/net.h    |  7 +++++--
 net/net.c            | 13 +++++++++++--
 net/tap-bsd.c        |  7 ++++++-
 net/tap-linux.c      | 27 ++++++++++++++++++++++++---
 net/tap-linux.h      |  2 ++
 net/tap-solaris.c    |  7 ++++++-
 net/tap-stub.c       |  7 ++++++-
 net/tap-win32.c      |  2 +-
 net/tap.c            | 18 +++++++++++++++---
 net/tap_int.h        |  4 +++-
 net/vhost-vdpa.c     |  3 +++
 17 files changed, 125 insertions(+), 20 deletions(-)

-- 
2.34.3
Re: [PATCH v2 0/4] virtio-net: add USO feature (UDP segmentation offload)
Posted by Yuri Benditovich 8 months, 3 weeks ago
ping

On Tue, Aug 1, 2023 at 1:32 AM Yuri Benditovich <yuri.benditovich@daynix.com>
wrote:

> Starting from 6.2 the kernel supports UDP segmentation offload, it
> uses GSO_UDP_L4 to mark packets with UDP sermentation request
>
> v1->v2:
>  Enable USO features by default starting from 8.1
>  Move command-line parameters to the last patch
>
> Andrew Melnychenko (2):
>   tap: Add USO support to tap device.
>   virtio-net: Add USO flags to vhost support.
>
> Yuri Benditovich (2):
>   tap: Add check for USO features
>   virtio-net: Add support for USO features
>
>  hw/core/machine.c    |  4 ++++
>  hw/net/e1000e_core.c |  2 +-
>  hw/net/igb_core.c    |  2 +-
>  hw/net/vhost_net.c   |  3 +++
>  hw/net/virtio-net.c  | 35 ++++++++++++++++++++++++++++++++---
>  hw/net/vmxnet3.c     |  2 ++
>  include/net/net.h    |  7 +++++--
>  net/net.c            | 13 +++++++++++--
>  net/tap-bsd.c        |  7 ++++++-
>  net/tap-linux.c      | 27 ++++++++++++++++++++++++---
>  net/tap-linux.h      |  2 ++
>  net/tap-solaris.c    |  7 ++++++-
>  net/tap-stub.c       |  7 ++++++-
>  net/tap-win32.c      |  2 +-
>  net/tap.c            | 18 +++++++++++++++---
>  net/tap_int.h        |  4 +++-
>  net/vhost-vdpa.c     |  3 +++
>  17 files changed, 125 insertions(+), 20 deletions(-)
>
> --
> 2.34.3
>
>
Re: [PATCH v2 0/4] virtio-net: add USO feature (UDP segmentation offload)
Posted by Jason Wang 8 months, 3 weeks ago
On Thu, Aug 10, 2023 at 4:21 AM Yuri Benditovich
<yuri.benditovich@daynix.com> wrote:
>
> ping

I've queued this.

Thanks

>
> On Tue, Aug 1, 2023 at 1:32 AM Yuri Benditovich <yuri.benditovich@daynix.com> wrote:
>>
>> Starting from 6.2 the kernel supports UDP segmentation offload, it
>> uses GSO_UDP_L4 to mark packets with UDP sermentation request
>>
>> v1->v2:
>>  Enable USO features by default starting from 8.1
>>  Move command-line parameters to the last patch
>>
>> Andrew Melnychenko (2):
>>   tap: Add USO support to tap device.
>>   virtio-net: Add USO flags to vhost support.
>>
>> Yuri Benditovich (2):
>>   tap: Add check for USO features
>>   virtio-net: Add support for USO features
>>
>>  hw/core/machine.c    |  4 ++++
>>  hw/net/e1000e_core.c |  2 +-
>>  hw/net/igb_core.c    |  2 +-
>>  hw/net/vhost_net.c   |  3 +++
>>  hw/net/virtio-net.c  | 35 ++++++++++++++++++++++++++++++++---
>>  hw/net/vmxnet3.c     |  2 ++
>>  include/net/net.h    |  7 +++++--
>>  net/net.c            | 13 +++++++++++--
>>  net/tap-bsd.c        |  7 ++++++-
>>  net/tap-linux.c      | 27 ++++++++++++++++++++++++---
>>  net/tap-linux.h      |  2 ++
>>  net/tap-solaris.c    |  7 ++++++-
>>  net/tap-stub.c       |  7 ++++++-
>>  net/tap-win32.c      |  2 +-
>>  net/tap.c            | 18 +++++++++++++++---
>>  net/tap_int.h        |  4 +++-
>>  net/vhost-vdpa.c     |  3 +++
>>  17 files changed, 125 insertions(+), 20 deletions(-)
>>
>> --
>> 2.34.3
>>