From patchwork Thu Sep 5 12:35:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mariusz Drost X-Patchwork-Id: 58646 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 CEFD41EF64; Thu, 5 Sep 2019 14:36:26 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 54B2F1EF4C for ; Thu, 5 Sep 2019 14:36:25 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Sep 2019 05:36:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,470,1559545200"; d="scan'208";a="199272165" Received: from mdrostx-mobl.ger.corp.intel.com ([10.103.104.98]) by fmsmga001.fm.intel.com with ESMTP; 05 Sep 2019 05:36:22 -0700 From: Mariusz Drost To: radu.nicolau@intel.com, akhil.goyal@nxp.com, konstantin.ananyev@intel.com Cc: dev@dpdk.org, Mariusz Drost Date: Thu, 5 Sep 2019 14:35:21 +0200 Message-Id: <20190905123523.172-1-mariuszx.drost@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 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. Mariusz Drost (2): examples/ipsec-secgw: fix SAD selection logic examples/ipsec-secgw: tests for split SAD 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 +- examples/ipsec-secgw/test/linux_test4.sh | 78 ---- examples/ipsec-secgw/test/linux_test6.sh | 79 ---- 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 +++- 28 files changed, 1222 insertions(+), 378 deletions(-) delete mode 100644 examples/ipsec-secgw/test/linux_test4.sh delete mode 100644 examples/ipsec-secgw/test/linux_test6.sh