Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/97327/?format=api
http://patchwork.dpdk.org/api/patches/97327/?format=api", "web_url": "http://patchwork.dpdk.org/project/dts/patch/20210825183034.63754-3-linglix.chen@intel.com/", "project": { "id": 3, "url": "http://patchwork.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": "<20210825183034.63754-3-linglix.chen@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20210825183034.63754-3-linglix.chen@intel.com", "date": "2021-08-25T18:30:33", "name": "[V1,2/3] test_plans/generic_flow_api: add two test cases", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "6e26dc26a58ae124ea54a3f0cfebf5f9f36e780c", "submitter": { "id": 1843, "url": "http://patchwork.dpdk.org/api/people/1843/?format=api", "name": "Lingli Chen", "email": "linglix.chen@intel.com" }, "delegate": null, "mbox": "http://patchwork.dpdk.org/project/dts/patch/20210825183034.63754-3-linglix.chen@intel.com/mbox/", "series": [ { "id": 18449, "url": "http://patchwork.dpdk.org/api/series/18449/?format=api", "web_url": "http://patchwork.dpdk.org/project/dts/list/?series=18449", "date": "2021-08-25T18:30:31", "name": "generic_flow_api: add two test cases", "version": 1, "mbox": "http://patchwork.dpdk.org/series/18449/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/97327/comments/", "check": "pending", "checks": "http://patchwork.dpdk.org/api/patches/97327/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 067A3A0C53;\n\tWed, 25 Aug 2021 12:28:48 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id F0626411DB;\n\tWed, 25 Aug 2021 12:28:47 +0200 (CEST)", "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id 6098A411E4\n for <dts@dpdk.org>; Wed, 25 Aug 2021 12:28:46 +0200 (CEST)", "from orsmga007.jf.intel.com ([10.7.209.58])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 25 Aug 2021 03:28:46 -0700", "from unknown (HELO localhost.localdomain) ([10.240.183.77])\n by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 25 Aug 2021 03:28:44 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10086\"; a=\"204629115\"", "E=Sophos;i=\"5.84,350,1620716400\"; d=\"scan'208\";a=\"204629115\"", "E=Sophos;i=\"5.84,350,1620716400\"; d=\"scan'208\";a=\"464736213\"" ], "From": "Lingli Chen <linglix.chen@intel.com>", "To": "dts@dpdk.org", "Cc": "Lingli Chen <linglix.chen@intel.com>", "Date": "Wed, 25 Aug 2021 18:30:33 +0000", "Message-Id": "<20210825183034.63754-3-linglix.chen@intel.com>", "X-Mailer": "git-send-email 2.32.0", "In-Reply-To": "<20210825183034.63754-1-linglix.chen@intel.com>", "References": "<20210825183034.63754-1-linglix.chen@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dts] [PATCH V1 2/3] test_plans/generic_flow_api: add two test cases", "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": "add new Test case: create same rule after destroy/ create different rule after destroy.\n\nSigned-off-by: Lingli Chen <linglix.chen@intel.com>\n---\n test_plans/generic_flow_api_test_plan.rst | 46 +++++++++++++++++++++++\n 1 file changed, 46 insertions(+)", "diff": "diff --git a/test_plans/generic_flow_api_test_plan.rst b/test_plans/generic_flow_api_test_plan.rst\nindex 71f16187..d1fa33bd 100644\n--- a/test_plans/generic_flow_api_test_plan.rst\n+++ b/test_plans/generic_flow_api_test_plan.rst\n@@ -1996,3 +1996,49 @@ Test case: Dual vlan(QinQ)\n \n 3). send packet as step 2 with changed ivlan id, got hash value and queue value that output from the testpmd on DUT, the value should be\n different with the values in step 2 & step 1) & step 2).\n+\n+Test case: create same rule after destroy\n+=========================================\n+\n+1. Launch the app ``testpmd`` with the following arguments::\n+\n+ ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1,2,3,4,5,6,7,8 -n 4 -- -i --disable-rss --rxq=16 --txq=16\n+ testpmd> set fwd rxonly\n+ testpmd> set verbose 1\n+ testpmd> start\n+\n+2. create same rule after destroy::\n+\n+ testpmd>flow create 0 ingress pattern eth / ipv4 / udp src is 32 / end actions queue index 2 / end\n+ testpmd>flow destroy 0 rule 0\n+ testpmd>flow create 0 ingress pattern eth / ipv4 / udp src is 32 / end actions queue index 2 / end\n+\n+3. send match and mismatch packets to check if rule work::\n+\n+ pkt1 = Ether()/IP()/UDP(sport=32)/Raw('x' * 20)\n+ pkt2 = Ether()/IP()/UDP(dport=32)/Raw('x' * 20)\n+\n+ verify match pkt1 to queue 2, verify mismatch pkt2 to queue 0.\n+\n+Test case: create different rule after destroy\n+==============================================\n+\n+1. Launch the app ``testpmd`` with the following arguments::\n+\n+ ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1,2,3,4,5,6,7,8 -n 4 -- -i --disable-rss --rxq=16 --txq=16\n+ testpmd> set fwd rxonly\n+ testpmd> set verbose 1\n+ testpmd> start\n+\n+2. create different rule after destroy::\n+\n+ testpmd>flow create 0 ingress pattern eth / ipv4 / udp src is 32 / end actions queue index 2 / end\n+ testpmd>flow destroy 0 rule 0\n+ testpmd>flow create 0 ingress pattern eth / ipv4 / udp dst is 32 / end actions queue index 2 / end\n+\n+3. send match and mismatch packets to check if rule work::\n+\n+ pkt1 = Ether()/IP()/UDP(sport=32)/Raw('x' * 20)\n+ pkt2 = Ether()/IP()/UDP(dport=32)/Raw('x' * 20)\n+\n+ verify match pkt2 to queue 2, verify mismatch pkt1 to queue 0.\n", "prefixes": [ "V1", "2/3" ] }{ "id": 97327, "url": "