From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 00E21A0503; Fri, 1 Apr 2022 11:38:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D07E742911; Fri, 1 Apr 2022 11:38:21 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 328334067E for ; Fri, 1 Apr 2022 11:38:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648805900; x=1680341900; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=oGXzr2UADkZZRVq3MPTNvo2U1tdLTZr06VdlJvn2Nlk=; b=lSI+JgLcflEPPyT165q0FMhVtj6HL9Sc29XH3IE9g9CW2F0uMlisgldU drAbEtE2xrQuecUyT14QSIeyZer8viOFTzr625M6zGDueMMl0NEvsDWjD HI/PTzcm/9ym2WNuVTfEMXHu+tTqwbotXpdkp/1+PUka3iL/vW7JaOs+H +3/xGgNIrwoobuVQGggGf8NGrH9gT2RnAPTz4zEzmKuveXyzemearcxKM V4+vyQ99Ga1NMUn3HHffgz/jLDIWK5rZRsH22l1QaCHtd4q59AaED2Hur crrJZoAJKXALShFd7ckubWKTWX3ghOUFdzO+zcevPBO9dPsRJxSGybskY Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10303"; a="260079585" X-IronPort-AV: E=Sophos;i="5.90,226,1643702400"; d="scan'208";a="260079585" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Apr 2022 02:38:19 -0700 X-IronPort-AV: E=Sophos;i="5.90,226,1643702400"; d="scan'208";a="567339565" Received: from unknown (HELO ocsbesrhlrepo01.amr.corp.intel.com) ([10.239.251.86]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Apr 2022 02:38:17 -0700 From: Peng Zhang To: dts@dpdk.org Cc: Peng Zhang Subject: [dts][PATCH V2] tests/inline_ipsec modify ipsec configuration of script according to DPDK modification Date: Sat, 2 Apr 2022 20:37:36 +0800 Message-Id: <20220402123736.2310092-1-peng1x.zhang@intel.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org According to dpdk commit a15f7b7d8aac9cca41d8bd022c3cf939a6a8d2e8("examples/ipsec-secgw: add check for unprotected port mask"),ingress rules of configuration are added.So dts test script need be modified to adapt DPDK modification. Signed-off-by: Peng Zhang --- tests/TestSuite_inline_ipsec.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/TestSuite_inline_ipsec.py b/tests/TestSuite_inline_ipsec.py index 8e263e22..e56664ff 100644 --- a/tests/TestSuite_inline_ipsec.py +++ b/tests/TestSuite_inline_ipsec.py @@ -118,6 +118,7 @@ class TestInlineIpsec(TestCase): "sp ipv4 out esp protect 1005 pri 1 dst 192.168.105.0/24 sport 0:65535 dport 0:65535\n" "#SA rules\n" "sa out 1005 aead_algo aes-128-gcm aead_key 2b:7e:15:16:28:ae:d2:a6:ab:f7:15:88:09:cf:4f:3d:de:ad:be:ef mode ipv4-tunnel src 172.16.1.5 dst 172.16.2.5 port_id 1 type inline-crypto-offload\n" + "sa in 5 aead_algo aes-128-gcm aead_key 2b:7e:15:16:28:ae:d2:a6:ab:f7:15:88:09:cf:4f:3d:de:ad:be:ef mode ipv4-tunnel src 172.16.2.5 dst 172.16.1.5 port_id 1 type inline-crypto-offload" "#Routing rules\n" "rt ipv4 dst 172.16.2.5/32 port 1\n" ) @@ -132,6 +133,7 @@ class TestInlineIpsec(TestCase): "#SP IPv4 rules\n" "sp ipv4 out esp protect 1002 pri 1 dst 192.168.102.0/24 sport 0:65535 dport 0:65535\n" "sa out 1002 aead_algo aes-128-gcm aead_key 2b:7e:15:16:28:ae:d2:a6:ab:f7:15:88:09:cf:4f:3d:de:ad:be:ef mode ipv4-tunnel src 172.16.31.35 dst 172.16.32.35 port_id 1 type inline-crypto-offload \n" + "sa in 5 aead_algo aes-128-gcm aead_key 2b:7e:15:16:28:ae:d2:a6:ab:f7:15:88:09:cf:4f:3d:de:ad:be:ef mode ipv4-tunnel src 172.16.32.35 dst 172.16.31.35 port_id 1 type inline-crypto-offload" "#Routing rules\n" "rt ipv4 dst 172.16.32.35/32 port 1\n" ) -- 2.31.1