From patchwork Tue Sep 24 10:35:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mariusz Drost X-Patchwork-Id: 59658 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 DDEBA1DBC; Tue, 24 Sep 2019 12:36:35 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 8DE831DB9 for ; Tue, 24 Sep 2019 12:36:33 +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 fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Sep 2019 03:36:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,543,1559545200"; d="scan'208";a="272595594" Received: from mdrostx-mobl.ger.corp.intel.com ([10.103.104.98]) by orsmga001.jf.intel.com with ESMTP; 24 Sep 2019 03:36:30 -0700 From: Mariusz Drost To: radu.nicolau@intel.com, akhil.goyal@nxp.com, konstantin.ananyev@intel.com Cc: dev@dpdk.org, Mariusz Drost Date: Tue, 24 Sep 2019 12:35:37 +0200 Message-Id: <20190924103539.12052-1-mariuszx.drost@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 In-Reply-To: <20190905123523.172-1-mariuszx.drost@intel.com> References: <20190905123523.172-1-mariuszx.drost@intel.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 0/2] fix SAD selection logic 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" Code fix for SAD selection logic by splitting SAD into IPv4 SAD and IPv6 SAD. Test scripts updated to reflect changes. v2: * Added linux_test.sh * Modified ep0.cfg and ep1.cfg files to run with ipsec-secgw app Mariusz Drost (2): examples/ipsec-secgw: fix SAD selection logic examples/ipsec-secgw: tests for split SAD examples/ipsec-secgw/ep0.cfg | 58 ++- examples/ipsec-secgw/ep1.cfg | 62 ++- examples/ipsec-secgw/ipsec-secgw.c | 48 ++- examples/ipsec-secgw/ipsec.c | 5 +- examples/ipsec-secgw/ipsec.h | 21 +- examples/ipsec-secgw/sa.c | 396 ++++++++++++------ examples/ipsec-secgw/test/common_defs.sh | 7 +- .../test/{linux_test6.sh => linux_test.sh} | 94 ++++- examples/ipsec-secgw/test/linux_test4.sh | 78 ---- examples/ipsec-secgw/test/run_test.sh | 42 +- .../ipsec-secgw/test/trs_3descbc_sha1_defs.sh | 7 +- .../test/trs_3descbc_sha1_esn_defs.sh | 7 +- .../ipsec-secgw/test/trs_aescbc_sha1_defs.sh | 7 +- .../test/trs_aescbc_sha1_esn_defs.sh | 7 +- .../ipsec-secgw/test/trs_aesctr_sha1_defs.sh | 7 +- .../test/trs_aesctr_sha1_esn_defs.sh | 7 +- examples/ipsec-secgw/test/trs_aesgcm_defs.sh | 7 +- .../ipsec-secgw/test/trs_aesgcm_esn_defs.sh | 7 +- .../test/tun_3descbc_sha1_common_defs.sh | 68 +++ .../ipsec-secgw/test/tun_3descbc_sha1_defs.sh | 77 +++- .../test/tun_3descbc_sha1_esn_defs.sh | 77 +++- .../test/tun_aescbc_sha1_common_defs.sh | 64 +++ .../ipsec-secgw/test/tun_aescbc_sha1_defs.sh | 77 +++- .../test/tun_aescbc_sha1_esn_defs.sh | 77 +++- .../test/tun_aesctr_sha1_common_defs.sh | 64 +++ .../ipsec-secgw/test/tun_aesctr_sha1_defs.sh | 77 +++- .../test/tun_aesctr_sha1_esn_defs.sh | 77 +++- .../test/tun_aesgcm_common_defs.sh | 56 +++ examples/ipsec-secgw/test/tun_aesgcm_defs.sh | 77 +++- .../ipsec-secgw/test/tun_aesgcm_esn_defs.sh | 77 +++- 30 files changed, 1397 insertions(+), 338 deletions(-) rename examples/ipsec-secgw/test/{linux_test6.sh => linux_test.sh} (50%) delete mode 100644 examples/ipsec-secgw/test/linux_test4.sh