Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/101561/?format=api
http://patches.dpdk.org/api/patches/101561/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/1634199023-65745-1-git-send-email-songx.jiale@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": "<1634199023-65745-1-git-send-email-songx.jiale@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/1634199023-65745-1-git-send-email-songx.jiale@intel.com", "date": "2021-10-14T08:10:23", "name": "[V2] tests/rteflow_priority: update case code for dpdk code change", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "87b9e83b8c10ee9f8bb7d20644aabfb26e13dbc7", "submitter": { "id": 2352, "url": "http://patches.dpdk.org/api/people/2352/?format=api", "name": "Jiale, SongX", "email": "songx.jiale@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dts/patch/1634199023-65745-1-git-send-email-songx.jiale@intel.com/mbox/", "series": [ { "id": 19636, "url": "http://patches.dpdk.org/api/series/19636/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=19636", "date": "2021-10-14T08:10:23", "name": "[V2] tests/rteflow_priority: update case code for dpdk code change", "version": 2, "mbox": "http://patches.dpdk.org/series/19636/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/101561/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/101561/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id A75EFA0C4C;\n\tThu, 14 Oct 2021 09:56:53 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 741E140042;\n\tThu, 14 Oct 2021 09:56:53 +0200 (CEST)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 8346940041\n for <dts@dpdk.org>; Thu, 14 Oct 2021 09:56:51 +0200 (CEST)", "from orsmga006.jf.intel.com ([10.7.209.51])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 14 Oct 2021 00:56:50 -0700", "from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68])\n by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 14 Oct 2021 00:56:49 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10136\"; a=\"214783873\"", "E=Sophos;i=\"5.85,372,1624345200\"; d=\"scan'208\";a=\"214783873\"", "E=Sophos;i=\"5.85,372,1624345200\"; d=\"scan'208\";a=\"442008109\"" ], "From": "Jiale Song <songx.jiale@intel.com>", "To": "dts@dpdk.org", "Cc": "Jiale Song <songx.jiale@intel.com>", "Date": "Thu, 14 Oct 2021 16:10:23 +0800", "Message-Id": "<1634199023-65745-1-git-send-email-songx.jiale@intel.com>", "X-Mailer": "git-send-email 1.8.3.1", "Subject": "[dts] [PATCH V2] tests/rteflow_priority: update case code for dpdk\n code change", "X-BeenThere": "dts@dpdk.org", "X-Mailman-Version": "2.1.29", "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": "when dpdk fixed a bug, the code design changed, so in order to test the fdir rule,\nneed to add \"mark\" to the rule\n\nSigned-off-by: Jiale Song <songx.jiale@intel.com>\n---\n test_plans/rteflow_priority_test_plan.rst | 4 ++--\n tests/TestSuite_rteflow_priority.py | 8 ++++----\n 2 files changed, 6 insertions(+), 6 deletions(-)", "diff": "diff --git a/test_plans/rteflow_priority_test_plan.rst b/test_plans/rteflow_priority_test_plan.rst\nindex b1815ce..4ca1c22 100644\n--- a/test_plans/rteflow_priority_test_plan.rst\n+++ b/test_plans/rteflow_priority_test_plan.rst\n@@ -77,14 +77,14 @@ Patterns in this case:\n \n #. Create a rule with priority 0, Check the flow can be created but it will map to fdir filter::\n \n- testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions queue index 2 / end\n+ testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions queue index 2 / mark / end\n ice_interrupt_handler(): OICR: MDD event\n ice_flow_create(): Succeeded to create (1) flow\n Flow rule #0 created\n \n #. Create a rule with priority 1, check the flow can not be created for the vallue of priority is 0 in non-pipeline mode::\n \n- testpmd> flow create 0 priority 1 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions queue index 2 / end\n+ testpmd> flow create 0 priority 1 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions queue index 2 / mark / end\n ice_flow_create(): Failed to create flow\n Caught error type 4 (priority field): cause: 0x7ffe24e65738, Not support priority.: Invalid argument\n \ndiff --git a/tests/TestSuite_rteflow_priority.py b/tests/TestSuite_rteflow_priority.py\nindex 23aea82..61607c1 100755\n--- a/tests/TestSuite_rteflow_priority.py\n+++ b/tests/TestSuite_rteflow_priority.py\n@@ -204,9 +204,9 @@ class TestRteflowPriority(TestCase):\n out = self.dut.send_expect(command, \"testpmd> \", 120)\n self.logger.debug(out)\n \n- out=self.dut.send_expect(\"flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions queue index 2 / end\", \"testpmd>\", 15) \n+ out=self.dut.send_expect(\"flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions queue index 2 / mark / end\", \"testpmd>\", 15)\n self.verify( \"Successed\" and \"(1)\" in out, \"failed: rule can't be created to fdir\")\n- out=self.dut.send_expect(\"flow create 0 priority 1 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions queue index 2 / end\", \"testpmd>\", 15) \n+ out=self.dut.send_expect(\"flow create 0 priority 1 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions queue index 2 / mark / end\", \"testpmd>\", 15)\n self.verify( \"Failed\" in out, \"failed: default value of priority is 0 in non-pipeline mode\")\n self.dut.send_expect(\"flow flush 0\", \"testpmd>\", 20)\n self.dut.send_expect(\"quit\", \"#\", 50)\n@@ -216,9 +216,9 @@ class TestRteflowPriority(TestCase):\n out = self.dut.send_expect(command, \"testpmd> \", 120)\n self.logger.debug(out)\n \n- out=self.dut.send_expect(\"flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions queue index 2 / end\", \"testpmd>\", 15) \n+ out=self.dut.send_expect(\"flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions queue index 2 / mark / end\", \"testpmd>\", 15)\n self.verify( \"Successed\" and \"(1)\" in out, \"failed: rule can't be created to fdir\")\n- out=self.dut.send_expect(\"flow create 0 priority 1 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions queue index 2 / end\", \"testpmd>\", 15) \n+ out=self.dut.send_expect(\"flow create 0 priority 1 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions queue index 2 / mark / end\", \"testpmd>\", 15)\n self.verify( \"Failed\" in out, \"failed: default value of priority is 0 in non-pipeline mode\")\n self.dut.send_expect(\"flow flush 0\", \"testpmd>\", 20)\n self.dut.send_expect(\"quit\", \"#\", 50)\n", "prefixes": [ "V2" ] }{ "id": 101561, "url": "