Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/77333/?format=api
http://patches.dpdk.org/api/patches/77333/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20200911144542.28336-5-weix.ling@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": "<20200911144542.28336-5-weix.ling@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20200911144542.28336-5-weix.ling@intel.com", "date": "2020-09-11T14:45:41", "name": "[4/5] tests/TestSuite_vmdq_dcb:use API to set dpdk config when use meson", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "c4769de641640557a1fd579a11056a8a701bee5e", "submitter": { "id": 1828, "url": "http://patches.dpdk.org/api/people/1828/?format=api", "name": "Ling, WeiX", "email": "weix.ling@intel.com" }, "delegate": { "id": 23642, "url": "http://patches.dpdk.org/api/users/23642/?format=api", "username": "lijuantu", "first_name": "LIjuan", "last_name": "Tu", "email": "lijuan.tu@intel.com" }, "mbox": "http://patches.dpdk.org/project/dts/patch/20200911144542.28336-5-weix.ling@intel.com/mbox/", "series": [ { "id": 12132, "url": "http://patches.dpdk.org/api/series/12132/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=12132", "date": "2020-09-11T14:45:37", "name": "use API to set dpdk config when use meson", "version": 1, "mbox": "http://patches.dpdk.org/series/12132/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/77333/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/77333/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 AF88EA04B7;\n\tFri, 11 Sep 2020 09:03:04 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id A720B1C0CE;\n\tFri, 11 Sep 2020 09:03:04 +0200 (CEST)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by dpdk.org (Postfix) with ESMTP id 3A0948F96\n for <dts@dpdk.org>; Fri, 11 Sep 2020 09:03:03 +0200 (CEST)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 11 Sep 2020 00:03:02 -0700", "from unknown (HELO localhost.localdomain) ([10.240.183.222])\n by fmsmga001.fm.intel.com with ESMTP; 11 Sep 2020 00:03:01 -0700" ], "IronPort-SDR": [ "\n FjlEPfgn0KqbET6am2IN0HL1F4JKjkT8DZpciOg9XlVKEQv8QykCxjY6Hx00CKH3jcSwQt4PIR\n Zi05ftKl07Cw==", "\n N52jENbJC2/j/7qogYpa1CoBQcCZrVOQkqWiKEFCljey6t4LoFrklUmuhhFIEz0nAq/Rdf7GHe\n hS47L6AT936Q==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9740\"; a=\"157990381\"", "E=Sophos;i=\"5.76,414,1592895600\"; d=\"scan'208\";a=\"157990381\"", "E=Sophos;i=\"5.76,414,1592895600\"; d=\"scan'208\";a=\"407999401\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "lingwei <weix.ling@intel.com>", "To": "dts@dpdk.org", "Cc": "lingwei <weix.ling@intel.com>", "Date": "Fri, 11 Sep 2020 14:45:41 +0000", "Message-Id": "<20200911144542.28336-5-weix.ling@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20200911144542.28336-1-weix.ling@intel.com>", "References": "<20200911144542.28336-1-weix.ling@intel.com>", "Subject": "[dts] [dts 4/5] tests/TestSuite_vmdq_dcb:use API to set dpdk config\n\twhen use meson", "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: lingwei <weix.ling@intel.com>\n---\n tests/TestSuite_vmdq_dcb.py | 13 ++++---------\n 1 file changed, 4 insertions(+), 9 deletions(-)", "diff": "diff --git a/tests/TestSuite_vmdq_dcb.py b/tests/TestSuite_vmdq_dcb.py\nindex d202441..5f0da0f 100644\n--- a/tests/TestSuite_vmdq_dcb.py\n+++ b/tests/TestSuite_vmdq_dcb.py\n@@ -93,15 +93,10 @@ class TestVmdqDcb(TestCase):\n \"\"\"\n Rebuild dpdk\n \"\"\"\n- out = self.dut.send_expect(\"grep 'CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM' ./config/common_base\", \"#\", 20)\n- vm_num = re.findall(r'\\d+', out)[-1]\n- if str(nb_queue_per_vm) == vm_num:\n- return\n- else:\n- self.dut.send_expect(\"sed -i -e 's/CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM=%s/CONFIG_RTE_LIBRTE_I40E_\"\n- \"QUEUE_NUM_PER_VM=%s/' ./config/common_base\" % (vm_num, nb_queue_per_vm), \"#\", 20)\n- self.dut.set_build_options({'RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM': nb_queue_per_vm})\n- self.dut.build_install_dpdk(self.target)\n+ self.dut.send_expect(\"sed -i -e 's/CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM=.*$/CONFIG_RTE_LIBRTE_I40E_\"\n+ \"QUEUE_NUM_PER_VM=%s/' ./config/common_base\" % nb_queue_per_vm, \"#\", 20)\n+ self.dut.set_build_options({'RTE_LIBRTE_I40E_QUEUE_NUM_PER_VM': nb_queue_per_vm})\n+ self.dut.build_install_dpdk(self.target)\n \n def start_application(self, npools, ntcs):\n \"\"\"\n", "prefixes": [ "4/5" ] }{ "id": 77333, "url": "