From patchwork Tue Jun 25 23:16:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ananyev, Konstantin" X-Patchwork-Id: 55380 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 DEA2C1B945; Wed, 26 Jun 2019 01:17:03 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 082C31B942 for ; Wed, 26 Jun 2019 01:17:00 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jun 2019 16:17:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,417,1557212400"; d="scan'208";a="245235966" Received: from sivswdev08.ir.intel.com ([10.237.217.47]) by orsmga001.jf.intel.com with ESMTP; 25 Jun 2019 16:16:58 -0700 From: Konstantin Ananyev To: dev@dpdk.org Cc: akhil.goyal@nxp.com, Konstantin Ananyev Date: Wed, 26 Jun 2019 00:16:45 +0100 Message-Id: <20190625231649.22560-1-konstantin.ananyev@intel.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190606115151.27805-1-konstantin.ananyev@intel.com> References: <20190606115151.27805-1-konstantin.ananyev@intel.com> Subject: [dpdk-dev] [PATCH v3 0/4] 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 v2 -> v3 address Akhil comments: - merge with latest mainline - squash sample app guide changes with ipsec-secgw changes 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/ to be applied first. Konstantin Ananyev (4): 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/guides/sample_app_ug/ipsec_secgw.rst | 22 +- examples/ipsec-secgw/ipsec-secgw.c | 402 ++++++++++++++++++++--- 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, 484 insertions(+), 63 deletions(-) create mode 100644 examples/ipsec-secgw/test/bypass_defs.sh