Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/84789/?format=api
http://patches.dpdk.org/api/patches/84789/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20201208100627.9792-4-junx.w.zhou@intel.com/", "project": { "id": 3, "url": "http://patches.dpdk.org/api/projects/3/?format=api", "name": "DTS", "link_name": "dts", "list_id": "dts.dpdk.org", "list_email": "dts@dpdk.org", "web_url": "", "scm_url": "git://dpdk.org/tools/dts", "webscm_url": "http://git.dpdk.org/tools/dts/", "list_archive_url": "https://inbox.dpdk.org/dts", "list_archive_url_format": "https://inbox.dpdk.org/dts/{}", "commit_url_format": "" }, "msgid": "<20201208100627.9792-4-junx.w.zhou@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20201208100627.9792-4-junx.w.zhou@intel.com", "date": "2020-12-08T10:06:02", "name": "[03/28] tests/TestSuite_inline_ipsec:Modify the hard coded app parameter to call the platform interface", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "a2a3ab36afe99f1a04347bb5791067451f68531a", "submitter": { "id": 1646, "url": "http://patches.dpdk.org/api/people/1646/?format=api", "name": "Zhou, JunX W", "email": "junx.w.zhou@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dts/patch/20201208100627.9792-4-junx.w.zhou@intel.com/mbox/", "series": [ { "id": 14207, "url": "http://patches.dpdk.org/api/series/14207/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=14207", "date": "2020-12-08T10:06:03", "name": "Modify the hard coded app parameter to call the platform interface", "version": 1, "mbox": "http://patches.dpdk.org/series/14207/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/84789/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/84789/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dts-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 735B4A09E6;\n\tTue, 8 Dec 2020 11:03:46 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 3E884C914;\n\tTue, 8 Dec 2020 11:03:45 +0100 (CET)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by dpdk.org (Postfix) with ESMTP id D8CAD98\n for <dts@dpdk.org>; Tue, 8 Dec 2020 11:03:42 +0100 (CET)", "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Dec 2020 02:03:38 -0800", "from unknown (HELO localhost.localdomain) ([10.240.183.80])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Dec 2020 02:03:37 -0800" ], "IronPort-SDR": [ "\n VhvsUdvPXa4Sy2NkWqDxaA0/73+buF44FeI6AqixHAiiWn0CmO4Xb8ZPSrwUkpQ8rdU24xosip\n zGTKNeCR0OSw==", "\n asXskWvVrBQ5btL8UTWmn9vG7NC+D+Vk5o+SHwdZ/Sl6kznRHU5It/dNjuT5/W0ackD34xdklW\n QAKFFNuhoDVA==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9828\"; a=\"171293337\"", "E=Sophos;i=\"5.78,402,1599548400\"; d=\"scan'208\";a=\"171293337\"", "E=Sophos;i=\"5.78,402,1599548400\"; d=\"scan'208\";a=\"363575549\"" ], "From": "Zhou Jun <junx.w.zhou@intel.com>", "To": "dts@dpdk.org", "Cc": "Zhou Jun <junx.w.zhou@intel.com>", "Date": "Tue, 8 Dec 2020 18:06:02 +0800", "Message-Id": "<20201208100627.9792-4-junx.w.zhou@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20201208100627.9792-1-junx.w.zhou@intel.com>", "References": "<20201208100627.9792-1-junx.w.zhou@intel.com>", "Subject": "[dts] [dts 03/28] tests/TestSuite_inline_ipsec:Modify the hard\n\tcoded app parameter to call the platform interface", "X-BeenThere": "dts@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "test suite reviews and discussions <dts.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dts/>", "List-Post": "<mailto:dts@dpdk.org>", "List-Help": "<mailto:dts-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>", "Errors-To": "dts-bounces@dpdk.org", "Sender": "\"dts\" <dts-bounces@dpdk.org>" }, "content": "Signed-off-by: Zhou Jun <junx.w.zhou@intel.com>\n---\n tests/TestSuite_inline_ipsec.py | 13 +++++++------\n 1 file changed, 7 insertions(+), 6 deletions(-)", "diff": "diff --git a/tests/TestSuite_inline_ipsec.py b/tests/TestSuite_inline_ipsec.py\nindex 2b599374..2b9db77e 100644\n--- a/tests/TestSuite_inline_ipsec.py\n+++ b/tests/TestSuite_inline_ipsec.py\n@@ -93,6 +93,7 @@ class TestInlineIpsec(TestCase):\n out = self.dut.build_dpdk_apps(\"./examples/ipsec-secgw\")\n self.verify(\"Error\" not in out, \"compilation error 1\")\n self.verify(\"No such file\" not in out, \"compilation error 2\")\n+ self.eal_para = self.dut.create_eal_parameters(cores=[20, 21])\n \n self.cfg_prepare()\n \n@@ -207,11 +208,11 @@ class TestInlineIpsec(TestCase):\n verify Ipsec receive package\n \"\"\"\n if jumboframe is not None:\n- cmd = self.path + \" -l 20,21 -w %s -w %s --vdev 'crypto_null' --log-level 8 --socket-mem 1024,1024 -- -p 0xf -P -u 0x2 -j 9200 --mtu %s --config='%s' -f %s\" % (\n- self.portpci_0, self.portpci_1, jumboframe, config, file_name)\n+ cmd = self.path + \" %s --vdev 'crypto_null' --log-level 8 --socket-mem 1024,1024 -- -p 0xf -P -u 0x2 -j 9200 --mtu %s --config='%s' -f %s\" % (\n+ self.eal_para, jumboframe, config, file_name)\n else:\n- cmd = self.path + \" -l 20,21 -w %s -w %s --vdev 'crypto_null' --log-level 8 --socket-mem 1024,1024 -- -p 0xf -P -u 0x2 --config='%s' -f %s\" % (\n- self.portpci_0, self.portpci_1, config, file_name)\n+ cmd = self.path + \" %s --vdev 'crypto_null' --log-level 8 --socket-mem 1024,1024 -- -p 0xf -P -u 0x2 --config='%s' -f %s\" % (\n+ self.eal_para, config, file_name)\n \n self.dut.send_expect(cmd, \"IPSEC\", 60)\n \n@@ -341,8 +342,8 @@ class TestInlineIpsec(TestCase):\n \"\"\"\n test Ipsec Encryption Decryption\n \"\"\"\n- cmd = self.path + \" -l 20,21 -w %s -w %s --vdev 'crypto_null' --log-level 8 --socket-mem 1024,1 -- -p 0xf -P -u 0x2 --config='%s' -f %s\" % (\n- self.portpci_0, self.portpci_1, '(0,0,21),(1,0,21)', '/root/dpdk/enc_dec.cfg')\n+ cmd = self.path + \" %s --vdev 'crypto_null' --log-level 8 --socket-mem 1024,1 -- -p 0xf -P -u 0x2 --config='%s' -f %s\" % (\n+ self.eal_para, '(0,0,21),(1,0,21)', '/root/dpdk/enc_dec.cfg')\n self.dut.send_expect(cmd, \"IPSEC\", 60)\n session_receive = self.tester.create_session(\n name='receive_encryption_package')\n", "prefixes": [ "03/28" ] }{ "id": 84789, "url": "