From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9F528C432C1 for ; Tue, 24 Sep 2019 10:36:37 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 3028C20872 for ; Tue, 24 Sep 2019 10:36:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3028C20872 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@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 Content-Transfer-Encoding: 8bit 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 -- 2.17.1