Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/84397/?format=api
http://patches.dpdk.org/api/patches/84397/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20201120104556.27730-4-qinx.sun@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": "<20201120104556.27730-4-qinx.sun@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20201120104556.27730-4-qinx.sun@intel.com", "date": "2020-11-20T10:45:53", "name": "[V1,3/6] tests/cvl_fdir remove 1 case", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "c1211e36da5aac5e77438487f73d6aa145d91614", "submitter": { "id": 1956, "url": "http://patches.dpdk.org/api/people/1956/?format=api", "name": "Sun, QinX", "email": "qinx.sun@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dts/patch/20201120104556.27730-4-qinx.sun@intel.com/mbox/", "series": [ { "id": 13991, "url": "http://patches.dpdk.org/api/series/13991/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=13991", "date": "2020-11-20T10:45:50", "name": "Remove 8 duplicate cases", "version": 1, "mbox": "http://patches.dpdk.org/series/13991/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/84397/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/84397/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 B0F31A04DD;\n\tFri, 20 Nov 2020 03:10:27 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id A6FF1C884;\n\tFri, 20 Nov 2020 03:10:26 +0100 (CET)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by dpdk.org (Postfix) with ESMTP id 67304C8C6\n for <dts@dpdk.org>; Fri, 20 Nov 2020 03:10:25 +0100 (CET)", "from fmsmga005.fm.intel.com ([10.253.24.32])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 19 Nov 2020 18:10:25 -0800", "from unknown (HELO localhost.localdomain) ([10.240.183.105])\n by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 19 Nov 2020 18:10:23 -0800" ], "IronPort-SDR": [ "\n ERicLlcoFt/HZ5gFWZlXyjf6IFUuZYv2KEHgI+5TWJJlhlWNGMDoGZ8xGC5y/hqSRckP2LpInw\n XgmCH3qGfDmQ==", "\n 0jasKwcDo9T+IoF2xAH1O+qwWLAMeuGXuEG/bHqNaD1J7mjrAXxkqP9AFIAGV/UgtfLR243OLw\n /jdBZ3rk6oYg==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9810\"; a=\"170618893\"", "E=Sophos;i=\"5.78,354,1599548400\"; d=\"scan'208\";a=\"170618893\"", "E=Sophos;i=\"5.78,354,1599548400\"; d=\"scan'208\";a=\"535003907\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "From": "sunqin <qinx.sun@intel.com>", "To": "dts@dpdk.org", "Cc": "sunqin <qinx.sun@intel.com>", "Date": "Fri, 20 Nov 2020 10:45:53 +0000", "Message-Id": "<20201120104556.27730-4-qinx.sun@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20201120104556.27730-1-qinx.sun@intel.com>", "References": "<20201120104556.27730-1-qinx.sun@intel.com>", "Subject": "[dts] [PATCH V1 3/6] tests/cvl_fdir remove 1 case", "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": "Remove 1 case:\n\ntest_add_delete_rules\n\nThe case has been moved to 'cvl_limit_value_test' suite\n\nSigned-off-by: sunqin <qinx.sun@intel.com>\n---\n tests/TestSuite_cvl_fdir.py | 39 -------------------------------------\n 1 file changed, 39 deletions(-)", "diff": "diff --git a/tests/TestSuite_cvl_fdir.py b/tests/TestSuite_cvl_fdir.py\nindex 50a0236c..31bdfc7d 100644\n--- a/tests/TestSuite_cvl_fdir.py\n+++ b/tests/TestSuite_cvl_fdir.py\n@@ -3018,45 +3018,6 @@ class TestCVLFdir(TestCase):\n out3 = self.send_pkts_getouput(pkts='Ether(dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.0.22\",dst=\"192.168.0.23\") / Raw(\"x\" * 80)', port_id=0, count=1)\n rfc.check_mark(out3, pkt_num=1, check_param={\"port_id\": 0, \"queue\": 2, \"mark_id\": 1}, stats=True)\n \n- def test_add_delete_rules(self):\n- self.pmd_output.execute_cmd(\"stop\")\n- self.dut.send_command(\"quit\", timeout=2)\n- cmd_path = '/tmp/add_delete_rules'\n- cmds = [\n- 'flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / udp src is 22 dst is 23 / end actions queue index 1 / mark / end',\n- 'flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / tcp src is 22 dst is 23 / end actions rss queues 2 3 end / mark id 1 / end',\n- 'flow list 0', 'flow flush 0'] * 15360\n- cmds_li = map(lambda x: x + os.linesep, cmds)\n- with open(cmd_path, 'w') as f:\n- f.writelines(cmds_li)\n- self.dut.session.copy_file_to(cmd_path, cmd_path)\n- try:\n- eal_param = self.dut.create_eal_parameters(cores=\"1S/4C/1T\", ports=[self.pci0, self.pci1], socket=self.ports_socket)\n- param = \" --log-level='ice,7' -- -i --portmask=%s --rxq=%d --txq=%d --port-topology=loop --cmdline-file=%s\" % (\n- self.portMask, 64, 64, cmd_path)\n- command_line = self.dut.apps_name['test-pmd'] + eal_param + param\n- out = self.dut.send_expect(command_line, 'testpmd>', timeout=600)\n- self.verify('Failed to create file' not in out, \"create some rule failed: %s\" % out)\n- self.config_testpmd()\n- self.pmd_output.execute_cmd('start')\n- rules = [\n- 'flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / udp src is 22 dst is 23 / end actions queue index 1 / mark / end',\n- 'flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / tcp src is 22 dst is 23 / end actions rss queues 2 3 end / mark id 1 / end']\n- rule_li = self.create_fdir_rule(rule=rules, check_stats=True)\n- self.check_fdir_rule(port_id=0, stats=True, rule_list=rule_li)\n- pkts = [\n- 'Ether(dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.0.20\",dst=\"192.168.0.21\")/UDP(sport=22,dport=23)/Raw(\"x\" * 80)',\n- 'Ether(dst=\"00:11:22:33:44:55\")/IP(src=\"192.168.0.20\",dst=\"192.168.0.21\")/TCP(sport=22,dport=23)/Raw(\"x\" * 80)']\n- out1 = self.send_pkts_getouput(pkts=pkts[0], port_id=0, count=1)\n- rfc.check_mark(out1, pkt_num=1, check_param={\"port_id\": 0, \"queue\": 1, \"mark_id\": 0}, stats=True)\n- out2 = self.send_pkts_getouput(pkts=pkts[1], port_id=0, count=1)\n- rfc.check_mark(out2, pkt_num=1, check_param={\"port_id\": 0, \"queue\": [2, 3], \"mark_id\": 1}, stats=True)\n- except Exception as e:\n- raise Exception(e)\n- finally:\n- self.dut.kill_all()\n- self.launch_testpmd_with_mark()\n-\n def test_delete_rules(self):\n rules = [\n 'flow create 0 ingress pattern eth / ipv4 src is 192.168.56.0 dst is 192.1.0.0 tos is 4 / tcp src is 22 dst is 23 / end actions queue index 1 / mark / end',\n", "prefixes": [ "V1", "3/6" ] }{ "id": 84397, "url": "