Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/99520/?format=api
https://patches.dpdk.org/api/patches/99520/?format=api", "web_url": "https://patches.dpdk.org/project/dts/patch/1632452259-143959-3-git-send-email-songx.jiale@intel.com/", "project": { "id": 3, "url": "https://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": "<1632452259-143959-3-git-send-email-songx.jiale@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/1632452259-143959-3-git-send-email-songx.jiale@intel.com", "date": "2021-09-24T02:57:37", "name": "[V1,3/5] tests/runtime_vf_queue_number_kernel: replace eal allowlist option", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "66284a0d1ff4e2bf6e8f42cace2015c4dc5343e4", "submitter": { "id": 2352, "url": "https://patches.dpdk.org/api/people/2352/?format=api", "name": "Jiale, SongX", "email": "songx.jiale@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dts/patch/1632452259-143959-3-git-send-email-songx.jiale@intel.com/mbox/", "series": [ { "id": 19118, "url": "https://patches.dpdk.org/api/series/19118/?format=api", "web_url": "https://patches.dpdk.org/project/dts/list/?series=19118", "date": "2021-09-24T02:57:35", "name": "[V1,1/5] tests/dcf_lifecycle: replace eal allowlist option", "version": 1, "mbox": "https://patches.dpdk.org/series/19118/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/99520/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/99520/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 31B87A0C43;\n\tFri, 24 Sep 2021 04:44:34 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2C74840687;\n\tFri, 24 Sep 2021 04:44:34 +0200 (CEST)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id C2C9740142\n for <dts@dpdk.org>; Fri, 24 Sep 2021 04:44:30 +0200 (CEST)", "from fmsmga007.fm.intel.com ([10.253.24.52])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 Sep 2021 19:44:30 -0700", "from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68])\n by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 Sep 2021 19:44:29 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10116\"; a=\"224016853\"", "E=Sophos;i=\"5.85,318,1624345200\"; d=\"scan'208\";a=\"224016853\"", "E=Sophos;i=\"5.85,318,1624345200\"; d=\"scan'208\";a=\"475827229\"" ], "From": "Jiale Song <songx.jiale@intel.com>", "To": "dts@dpdk.org", "Cc": "Jiale Song <songx.jiale@intel.com>", "Date": "Fri, 24 Sep 2021 10:57:37 +0800", "Message-Id": "<1632452259-143959-3-git-send-email-songx.jiale@intel.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1632452259-143959-1-git-send-email-songx.jiale@intel.com>", "References": "<1632452259-143959-1-git-send-email-songx.jiale@intel.com>", "Subject": "[dts] [PATCH V1 3/5] tests/runtime_vf_queue_number_kernel: replace\n eal allowlist option", "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": "because dpdk no longer supports the eal parameter '-w', replace eal \n'-w' option with '-a'\n\nSigned-off-by: Jiale Song <songx.jiale@intel.com>\n---\n test_plans/runtime_vf_queue_number_kernel_test_plan.rst | 10 +++++-----\n tests/TestSuite_runtime_vf_queue_number_kernel.py | 8 ++++----\n 2 files changed, 9 insertions(+), 9 deletions(-)\n mode change 100644 => 100755 tests/TestSuite_runtime_vf_queue_number_kernel.py", "diff": "diff --git a/test_plans/runtime_vf_queue_number_kernel_test_plan.rst b/test_plans/runtime_vf_queue_number_kernel_test_plan.rst\nindex 57df29a..5c8bab3 100644\n--- a/test_plans/runtime_vf_queue_number_kernel_test_plan.rst\n+++ b/test_plans/runtime_vf_queue_number_kernel_test_plan.rst\n@@ -127,7 +127,7 @@ Test Case 1: set valid VF queue number in testpmd command-line options\n \n 1. Start VF testpmd with \"--rxq=[rxq] --txq=[txq]\", and random valid values from 1 to 16, take 3 for example::\n \n- ./testpmd -c 0xf0 -n 4 -w 00:04.0 --file-prefix=test2 \\\n+ ./testpmd -c 0xf0 -n 4 -a 00:04.0 --file-prefix=test2 \\\n --socket-mem 1024,1024 -- -i --rxq=3 --txq=3\n \n 2. Configure vf forwarding prerequisits and start forwarding::\n@@ -169,7 +169,7 @@ Test case 2: set invalid VF queue number in testpmd command-line options\n \n 1. Start VF testpmd with \"--rxq=0 --txq=0\" ::\n \n- ./testpmd -c 0xf0 -n 4 -w 00:04.0 --file-prefix=test2 \\\n+ ./testpmd -c 0xf0 -n 4 -a 00:04.0 --file-prefix=test2 \\\n --socket-mem 1024,1024 -- -i --rxq=0 --txq=0\n \n Verify testpmd exited with error as below::\n@@ -178,7 +178,7 @@ Test case 2: set invalid VF queue number in testpmd command-line options\n \n 2. Start VF testpmd with \"--rxq=17 --txq=17\" ::\n \n- ./testpmd -c 0xf0 -n 4 -w 00:04.0 --file-prefix=test2 \\\n+ ./testpmd -c 0xf0 -n 4 -a 00:04.0 --file-prefix=test2 \\\n --socket-mem 1024,1024 -- -i --rxq=17 --txq=17\n \n Verify testpmd exited with error as below::\n@@ -190,7 +190,7 @@ Test case 3: set valid VF queue number with testpmd function command\n \n 1. Start VF testpmd without setting \"rxq\" and \"txq\"::\n \n- ./testpmd -c 0xf0 -n 4 -w 00:04.0 --socket-mem 1024,1024 -- -i\n+ ./testpmd -c 0xf0 -n 4 -a 00:04.0 --socket-mem 1024,1024 -- -i\n \n 2. Configure vf forwarding prerequisits and start forwarding::\n \n@@ -211,7 +211,7 @@ Test case 4: set invalid VF queue number with testpmd function command\n \n 1. Start VF testpmd without setting \"rxq\" and \"txq\"::\n \n- ./testpmd -c 0xf0 -n 4 -w 00:04.0 --socket-mem 1024,1024 -- -i\n+ ./testpmd -c 0xf0 -n 4 -a 00:04.0 --socket-mem 1024,1024 -- -i\n \n 2. Set rx queue number and tx queue number with 0 ::\n \ndiff --git a/tests/TestSuite_runtime_vf_queue_number_kernel.py b/tests/TestSuite_runtime_vf_queue_number_kernel.py\nold mode 100644\nnew mode 100755\nindex 3daf234..23e08a7\n--- a/tests/TestSuite_runtime_vf_queue_number_kernel.py\n+++ b/tests/TestSuite_runtime_vf_queue_number_kernel.py\n@@ -165,7 +165,7 @@ class TestRuntimeVfQueueNumberKernel(TestCase):\n queue_nums = [1, random_queue, self.max_queue]\n for nr_queue in queue_nums:\n self.vm0_testpmd = PmdOutput(self.vm_dut_0)\n- eal_param = '-w %(vf0)s' % {'vf0': self.vm_dut_0.vm_pci0}\n+ eal_param = '-a %(vf0)s' % {'vf0': self.vm_dut_0.vm_pci0}\n tx_port = self.tester.get_local_port(self.dut_ports[0])\n tester_mac = self.tester.get_mac(tx_port)\n iface = self.tester.get_interface(tx_port)\n@@ -209,7 +209,7 @@ class TestRuntimeVfQueueNumberKernel(TestCase):\n self.vm0_testpmd = PmdOutput(self.vm_dut_0)\n self.vm_dut_0.session_secondary = self.vm_dut_0.new_session()\n app_name = self.vm_dut_0.apps_name['test-pmd']\n- cmd = app_name + \"-c 0xf -n 1 -w %s -- -i --txq=%s --rxq=%s\" % (self.vm_dut_0.vm_pci0, i, i)\n+ cmd = app_name + \"-c 0xf -n 1 -a %s -- -i --txq=%s --rxq=%s\" % (self.vm_dut_0.vm_pci0, i, i)\n out = self.vm_dut_0.session_secondary.send_expect(cmd, \"# \", 40)\n if i == 0:\n self.verify('Either rx or tx queues should be non-zero' in out, \"queue number can't be zero\")\n@@ -221,7 +221,7 @@ class TestRuntimeVfQueueNumberKernel(TestCase):\n random_queue = random.randint(2, 15)\n queue_nums = [1, random_queue, self.max_queue]\n self.vm0_testpmd = PmdOutput(self.vm_dut_0)\n- eal_param = '-w %(vf0)s' % {'vf0': self.vm_dut_0.vm_pci0}\n+ eal_param = '-a %(vf0)s' % {'vf0': self.vm_dut_0.vm_pci0}\n tx_port = self.tester.get_local_port(self.dut_ports[0])\n tester_mac = self.tester.get_mac(tx_port)\n iface = self.tester.get_interface(tx_port)\n@@ -272,7 +272,7 @@ class TestRuntimeVfQueueNumberKernel(TestCase):\n def test_set_invalid_vf_queue_num_with_testpmd_command(self):\n invalid_queue_num = [0, 257]\n self.vm0_testpmd = PmdOutput(self.vm_dut_0)\n- eal_param = '-w %(vf0)s' % {'vf0': self.vm_dut_0.vm_pci0}\n+ eal_param = '-a %(vf0)s' % {'vf0': self.vm_dut_0.vm_pci0}\n self.vm0_testpmd.start_testpmd(\"all\", eal_param=eal_param)\n self.vm0_testpmd.execute_cmd('set promisc all off')\n self.vm0_testpmd.execute_cmd('set fwd mac')\n", "prefixes": [ "V1", "3/5" ] }{ "id": 99520, "url": "