From patchwork Thu Jun 6 11:51:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ananyev, Konstantin" X-Patchwork-Id: 54491 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2A85D1B9A9; Thu, 6 Jun 2019 13:52:05 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 769EF1B9A7 for ; Thu, 6 Jun 2019 13:52:03 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Jun 2019 04:52:02 -0700 X-ExtLoop1: 1 Received: from sivswdev08.ir.intel.com ([10.237.217.47]) by orsmga008.jf.intel.com with ESMTP; 06 Jun 2019 04:52:00 -0700 From: Konstantin Ananyev To: dev@dpdk.org Cc: akhil.goyal@nxp.com, Konstantin Ananyev Date: Thu, 6 Jun 2019 12:51:46 +0100 Message-Id: <20190606115151.27805-1-konstantin.ananyev@intel.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190527184448.21264-1-konstantin.ananyev@intel.com> References: <20190527184448.21264-1-konstantin.ananyev@intel.com> Subject: [dpdk-dev] [PATCH v2 0/5] examples/ipsec-secgw: support packet 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" v1 -> v2 - merge with latest mainline - update sample app guide Add into ipsec-secgw ability to fragment packet bigger then mtu, and reassemble fragmented packet. To support these features ipsec-secgw relies on librte_ipsec ability to handle multi-segment packets. Also when reassemble/fragmentation support is enabled, attached crypto devices have to support 'In Place SGL' offload capability. To be able to work properly these changes require the following patches: [1] lib/librte_ip_frag: Remove PKT_TX_IP_CKSUM offload flags http://patches.dpdk.org/patch/53475/mbox/ [2] ip_frag: fix IPv6 fragment size calculation http://patches.dpdk.org/patch/54489/mbox/ [3] ipsec: support multi-segment packets http://patches.dpdk.org/patch/53948/mbox/ to be applied first. Konstantin Ananyev (5): examples/ipsec-secgw: fix invalid packet length examples/ipsec-secgw: support packet fragmentation and reassembly examples/ipsec-secgw: add multi-segment test cases examples/ipsec-secgw: add bypass test case doc: update ipsec-secgw guide doc/guides/sample_app_ug/ipsec_secgw.rst | 22 +- examples/ipsec-secgw/ipsec-secgw.c | 404 ++++++++++++++++++++--- examples/ipsec-secgw/ipsec.h | 1 + examples/ipsec-secgw/meson.build | 2 +- examples/ipsec-secgw/test/bypass_defs.sh | 45 +++ examples/ipsec-secgw/test/common_defs.sh | 18 +- examples/ipsec-secgw/test/data_rxtx.sh | 18 +- examples/ipsec-secgw/test/linux_test4.sh | 17 +- examples/ipsec-secgw/test/linux_test6.sh | 17 +- examples/ipsec-secgw/test/run_test.sh | 5 +- 10 files changed, 487 insertions(+), 62 deletions(-) create mode 100644 examples/ipsec-secgw/test/bypass_defs.sh