From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3E77FA04B7; Mon, 21 Sep 2020 08:21:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EBF9D1D941; Mon, 21 Sep 2020 08:21:32 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id F06EC1D8F7 for ; Mon, 21 Sep 2020 08:21:31 +0200 (CEST) IronPort-SDR: ZUEeG3nWTfNMOOT0TPYQ9+Nc29YL87tq7nSPjhg5HJ+udANgv12t1BYW3b7ow6vjE4EX6lqXFR UdG7yHZ3FsJg== X-IronPort-AV: E=McAfee;i="6000,8403,9750"; a="160367911" X-IronPort-AV: E=Sophos;i="5.77,285,1596524400"; d="scan'208";a="160367911" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Sep 2020 23:21:27 -0700 IronPort-SDR: lEtPmg+beZgQSCXgXd8eE8IIoJum0Lo/AvWTaHYt83A+Evdo8FjVgs/qBGkpwPreqLAqxhn3dm XIynSc2nNwSg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,285,1596524400"; d="scan'208";a="290721636" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga008.fm.intel.com with ESMTP; 20 Sep 2020 23:21:27 -0700 Received: from shsmsx602.ccr.corp.intel.com (10.109.6.142) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Sun, 20 Sep 2020 23:21:26 -0700 Received: from shsmsx606.ccr.corp.intel.com (10.109.6.216) by SHSMSX602.ccr.corp.intel.com (10.109.6.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 21 Sep 2020 14:21:24 +0800 Received: from shsmsx606.ccr.corp.intel.com ([10.109.6.216]) by SHSMSX606.ccr.corp.intel.com ([10.109.6.216]) with mapi id 15.01.1713.004; Mon, 21 Sep 2020 14:21:24 +0800 From: "Hu, Jiayu" To: "yang_y_yi@163.com" , "dev@dpdk.org" CC: "thomas@monjalon.net" , "yangyi01@inspur.com" Thread-Topic: [PATCH v6 1/3] gro: add UDP/IPv4 GRO support Thread-Index: AQHWjKWzv3lviGU1z0yWybyQX7v9nalypTDQ Date: Mon, 21 Sep 2020 06:21:24 +0000 Message-ID: <8cc972802ea2426ba885800fbd2cd1e4@intel.com> References: <20200917034959.194372-1-yang_y_yi@163.com> <20200917034959.194372-2-yang_y_yi@163.com> In-Reply-To: <20200917034959.194372-2-yang_y_yi@163.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v6 1/3] gro: add UDP/IPv4 GRO support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: yang_y_yi@163.com > Sent: Thursday, September 17, 2020 11:50 AM > To: dev@dpdk.org > Cc: Hu, Jiayu ; thomas@monjalon.net; > yangyi01@inspur.com; yang_y_yi@163.com > Subject: [PATCH v6 1/3] gro: add UDP/IPv4 GRO support >=20 > From: Yi Yang >=20 > 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. >=20 > 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. >=20 > Signed-off-by: Yi Yang Acked-by: Jiayu Hu > --- > 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 >=20