Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/121486/?format=api
http://patches.dpdk.org/api/patches/121486/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20221230184039.1005671-2-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": "<20221230184039.1005671-2-songx.jiale@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20221230184039.1005671-2-songx.jiale@intel.com", "date": "2022-12-30T18:40:39", "name": "[V3,2/2] test_plans/multiprocess_iavf: add 1 case", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "bcaf44bad034ac3adb14136443d452d3ce022ff2", "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/20221230184039.1005671-2-songx.jiale@intel.com/mbox/", "series": [ { "id": 26336, "url": "http://patches.dpdk.org/api/series/26336/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=26336", "date": "2022-12-30T18:40:38", "name": "[V3,1/2] tests/multiprocess_iavf: add new case according to testplan", "version": 3, "mbox": "http://patches.dpdk.org/series/26336/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/121486/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/121486/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 5DB8FA00C3;\n\tFri, 30 Dec 2022 11:42:53 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id E433042D3A;\n\tFri, 30 Dec 2022 11:42:52 +0100 (CET)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id 4F1DE4067B\n for <dts@dpdk.org>; Fri, 30 Dec 2022 11:42:51 +0100 (CET)", "from orsmga005.jf.intel.com ([10.7.209.41])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 30 Dec 2022 02:42:50 -0800", "from unknown (HELO localhost.localdomain) ([10.239.252.20])\n by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 30 Dec 2022 02:42:49 -0800" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1672396971; x=1703932971;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=EJ8faRnXm/fNbHmQwHuC0oaRfnXVUMUhFu1VlpeGrio=;\n b=PQNMsCgXGWzBkj+ejDCeMjalK13QWr23sVhb6igKI8aNuH62jbkrjtp2\n tYVS32raw4FwOc/YYH+UaZ23kGHz7wgCobDoBFLzwwCMR+F8cSG6MhHQL\n sfQdRI6YffaJfBs0GoXXkwXESyZ/UFDhRJ1lekbVCcZ79k5LRlFX2qpVk\n 9jg5J4EAE0FMM0ElbjC4chwNTm/RmD/nDYYv6cpK7K3Z963ZX4uXEmvDf\n EME9FFkSXaqHTG/NuBqEqG/t1X/QGKjTxNTgKlcLsXjDgMiRPo3LIRkZt\n HlA+eOgufEqDQ3WDzxHrVJpDG+5i+0zUgqJBjiXRVC2btNryHUb0Fak4z A==;", "X-IronPort-AV": [ "E=McAfee;i=\"6500,9779,10575\"; a=\"318887656\"", "E=Sophos;i=\"5.96,287,1665471600\"; d=\"scan'208\";a=\"318887656\"", "E=McAfee;i=\"6500,9779,10575\"; a=\"827944187\"", "E=Sophos;i=\"5.96,287,1665471600\"; d=\"scan'208\";a=\"827944187\"" ], "From": "Song Jiale <songx.jiale@intel.com>", "To": "dts@dpdk.org", "Cc": "Song Jiale <songx.jiale@intel.com>,\n\tJin Ling <jin.ling@intel.com>", "Subject": "[dts] [PATCH V3 2/2] test_plans/multiprocess_iavf: add 1 case", "Date": "Fri, 30 Dec 2022 18:40:39 +0000", "Message-Id": "<20221230184039.1005671-2-songx.jiale@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20221230184039.1005671-1-songx.jiale@intel.com>", "References": "<20221230184039.1005671-1-songx.jiale@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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" }, "content": "add a case to test the testpmd primary process and secondary process crash of the vf port.\n\nSigned-off-by: Jin Ling <jin.ling@intel.com>\nSigned-off-by: Song Jiale <songx.jiale@intel.com>\n---\n\nv3:\n-redesign testplan\n\n test_plans/multiprocess_iavf_test_plan.rst | 47 +++++++++++++++++++++-\n 1 file changed, 46 insertions(+), 1 deletion(-)", "diff": "diff --git a/test_plans/multiprocess_iavf_test_plan.rst b/test_plans/multiprocess_iavf_test_plan.rst\nindex 2f5ae54a..b6222773 100644\n--- a/test_plans/multiprocess_iavf_test_plan.rst\n+++ b/test_plans/multiprocess_iavf_test_plan.rst\n@@ -54,9 +54,11 @@ If using vfio the kernel must be >= 3.6+ and VT-d must be enabled in bios.When\n using vfio, use the following commands to load the vfio driver and bind it\n to the device under test::\n \n+ echo 1 > /sys/bus/pci/devices/0000:17:00.0/sriov_numvfs\n+ ip link set ens9 vf0 mac 00:11:22:33:44:55\n modprobe vfio\n modprobe vfio-pci\n- usertools/dpdk-devbind.py --bind=vfio-pci device_bus_id\n+ usertools/dpdk-devbind.py --bind=vfio-pci {vf_pci}\n \n Assuming that a DPDK build has been set up and the multi-process sample\n applications have been built.\n@@ -948,3 +950,46 @@ Test Case: test_multiprocess_negative_exceed_process_num\n the first and second processes should be launched successfully\n the third process should be launched failed and output should contain the following string:\n 'multi-process option proc-id(2) should be less than num-procs(2)'\n+\n+Test Case: test_multiprocess_negative_action\n+============================================\n+Subcase 1: test_secondary_process_port_stop\n+-------------------------------------------\n+test steps\n+~~~~~~~~~~\n+\n+1. Launch the app ``testpmd``, start 2 process with the following arguments::\n+\n+ ./dpdk-testpmd -l 1,2 --proc-type=auto -a 0000:17:01.0 --log-level=ice,7 -- -i --num-procs=2 --proc-id=0\n+ ./dpdk-testpmd -l 3,4 --proc-type=auto -a 0000:17:01.0 --log-level=ice,7 -- -i --num-procs=2 --proc-id=1\n+\n+2. stop port in primary process::\n+\n+ primary process:\n+ testpmd> port stop 0\n+\n+expected result\n+~~~~~~~~~~~~~~~\n+\n+ Check that there are no core dump messages in the output.\n+\n+Subcase 2: test_secondary_process_port_reset\n+--------------------------------------------\n+test steps\n+~~~~~~~~~~\n+\n+1. Launch the app ``testpmd``, start 2 process with the following arguments::\n+\n+ ./dpdk-testpmd -l 1,2 --proc-type=auto -a 0000:17:01.0 --log-level=ice,7 -- -i --num-procs=2 --proc-id=0\n+ ./dpdk-testpmd -l 3,4 --proc-type=auto -a 0000:17:01.0 --log-level=ice,7 -- -i --num-procs=2 --proc-id=1\n+\n+2. reset port in secondary process::\n+\n+ secondary process:\n+ testpmd> port stop 0\n+ testpmd> port reset 0\n+\n+expected result\n+~~~~~~~~~~~~~~~\n+\n+ Check that there are no core dump messages in the output.\n\\ No newline at end of file\n", "prefixes": [ "V3", "2/2" ] }{ "id": 121486, "url": "