[dpdk-dev] [PATCH v6 1/3] gro: add UDP/IPv4 GRO support

Hu, Jiayu jiayu.hu at intel.com
Mon Sep 21 08:21:24 CEST 2020


> -----Original Message-----
> From: yang_y_yi at 163.com <yang_y_yi at 163.com>
> Sent: Thursday, September 17, 2020 11:50 AM
> To: dev at dpdk.org
> Cc: Hu, Jiayu <jiayu.hu at intel.com>; thomas at monjalon.net;
> yangyi01 at inspur.com; yang_y_yi at 163.com
> Subject: [PATCH v6 1/3] gro: add UDP/IPv4 GRO support
> 
> From: Yi Yang <yangyi01 at inspur.com>
> 
> UDP/IPv4 GRO can help improve VM-to-VM UDP performance
> when UFO or GSO is enabled in VM, GRO must be supported
> if UFO or GSO is enabled, otherwise, performance can't
> get big improvement if only GSO is there.
> 
> With this enabled in DPDK, OVS DPDK can leverage it
> to improve VM-to-VM UDP performance, it will reassemble
> UDP fragments immediate after they are received from
> a physical NIC. It is very helpful in OVS DPDK VLAN use
> case.
> 
> Signed-off-by: Yi Yang <yangyi01 at inspur.com>

Acked-by: Jiayu Hu <jiayu.hu at intel.com>

> ---
>  lib/librte_gro/gro_udp4.c  | 430
> +++++++++++++++++++++++++++++++++++++++++++++
>  lib/librte_gro/gro_udp4.h  | 281 +++++++++++++++++++++++++++++
>  lib/librte_gro/meson.build |   2 +-
>  lib/librte_gro/rte_gro.c   |  92 ++++++++--
>  lib/librte_gro/rte_gro.h   |   5 +-
>  5 files changed, 794 insertions(+), 16 deletions(-)
>  create mode 100644 lib/librte_gro/gro_udp4.c
>  create mode 100644 lib/librte_gro/gro_udp4.h
> 


More information about the dev mailing list