From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 326567D06 for ; Thu, 14 Dec 2017 03:45:34 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Dec 2017 18:45:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,399,1508828400"; d="scan'208";a="2649779" Received: from dpdk15.sh.intel.com ([10.67.111.77]) by orsmga006.jf.intel.com with ESMTP; 13 Dec 2017 18:45:31 -0800 From: Jiayu Hu To: dev@dpdk.org Cc: konstantin.ananyev@intel.com, jianfeng.tan@intel.com, junjie.j.chen@intel.com, stephen@networkplumber.org, john.mcnamara@intel.com, matvejchikov@gmail.com, Jiayu Hu Date: Thu, 14 Dec 2017 10:49:37 +0800 Message-Id: <1513219779-100115-1-git-send-email-jiayu.hu@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511579860-37020-1-git-send-email-jiayu.hu@intel.com> References: <1511579860-37020-1-git-send-email-jiayu.hu@intel.com> Subject: [dpdk-dev] [PATCH v2 0/2] Support VxLAN GRO 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: , X-List-Received-Date: Thu, 14 Dec 2017 02:45:35 -0000 VxLAN is one of the most widely used tunneled protocols. Providing GRO support for VxLAN-encapsulated packets can benefit many per-packet based applications, like Open vSwitch. This patchset is to support VxLAN GRO. The first patch cleans up current gro codes for the sake of supporting tunneled GRO. The second patch supports GRO on the VxLAN packets which have an outer IPv4 header and an inner TCP/IPv4 packet. Change log =========== v2: - comply RFC 6848 to process IP ID fields. Specifically, we require the IP ID fields of neighbor packets whose DF bit is 0 to be increased by 1. We don't check IP ID for the packets whose DF bit is 1. Additionally, packets whose DF bits are different cannot be merged. - update the programmer guide and function comments Jiayu Hu (2): gro: code cleanup gro: support VxLAN GRO .../prog_guide/generic_receive_offload_lib.rst | 269 ++++++----- doc/guides/prog_guide/img/gro-key-algorithm.png | Bin 0 -> 28231 bytes lib/librte_gro/Makefile | 1 + lib/librte_gro/gro_tcp4.c | 324 +++++-------- lib/librte_gro/gro_tcp4.h | 251 +++++++--- lib/librte_gro/gro_vxlan_tcp4.c | 512 +++++++++++++++++++++ lib/librte_gro/gro_vxlan_tcp4.h | 181 ++++++++ lib/librte_gro/rte_gro.c | 181 +++++--- lib/librte_gro/rte_gro.h | 93 ++-- 9 files changed, 1316 insertions(+), 496 deletions(-) create mode 100644 doc/guides/prog_guide/img/gro-key-algorithm.png create mode 100644 lib/librte_gro/gro_vxlan_tcp4.c create mode 100644 lib/librte_gro/gro_vxlan_tcp4.h -- 2.7.4