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 AF455A0501; Fri, 8 Apr 2022 12:05:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AA4B64067E; Fri, 8 Apr 2022 12:05:03 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 344F64003F for ; Fri, 8 Apr 2022 12:05:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649412302; x=1680948302; h=from:to:cc:subject:date:message-id; bh=2ZqKE8zb+dK+8PSlvbY+Ln7w7AqYF33gdOFiG0RVKvU=; b=mPLKhMXt6mFkACelfoght7xjD9U5ZfMqpRauPnzgumIZvQyJcCDnp5Pi HbzLpgLVmUtjrVdXRnVSDhUx+mh5yiWesNtfsS3jLKUs8cgJgm5JX1dWQ cxEo/j5U5QpIbeiTLqI67KKVDq0ktxtqLWkFlOmS9ClaQG9fogJkxCr+r PobYzs0dC/e9/ETtXVJgIX5+YfIKNTguVWvwUqs8Rjs9YyoN57EHAHI3C p6Tt9M38OqoUYu8p9Sep0o4gUh2L3dDG6DqisrqiJawx/5Se3hbjHx9ZE Xgf7iUtWcQnxbJGmSIA9W8jw1WEzIQ/gKcrhJiah6mWWgGnFUwxbjmhnC g==; X-IronPort-AV: E=McAfee;i="6400,9594,10310"; a="259157282" X-IronPort-AV: E=Sophos;i="5.90,244,1643702400"; d="scan'208";a="259157282" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2022 03:05:01 -0700 X-IronPort-AV: E=Sophos;i="5.90,244,1643702400"; d="scan'208";a="698132001" Received: from unknown (HELO localhost.localdomain) ([10.239.251.94]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2022 03:05:00 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V3] tests/inline_ipsec: modify ipsec configuration according to dpdk code change Date: Fri, 8 Apr 2022 18:32:12 +0000 Message-Id: <20220408183212.1066-1-songx.jiale@intel.com> X-Mailer: git-send-email 2.17.1 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 a15f7b7d8("examples/ipsec-secgw: add check for unprotected port mask"). ingress rules of configuration are added, so modify dts to adapt DPDK modification. Signed-off-by: Jiale Song --- 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..cb105d9c 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\n" "#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 \n" "#Routing rules\n" "rt ipv4 dst 172.16.32.35/32 port 1\n" ) -- 2.25.1