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.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 1AAA1C3A5A5 for ; Thu, 5 Sep 2019 12:36:28 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id BFF352080C for ; Thu, 5 Sep 2019 12:36:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BFF352080C 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 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 Content-Transfer-Encoding: 8bit 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 -- 2.17.1