Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/119760/?format=api
http://patches.dpdk.org/api/patches/119760/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20221111064850.2422574-1-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": "<20221111064850.2422574-1-weix.ling@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20221111064850.2422574-1-weix.ling@intel.com", "date": "2022-11-11T06:48:50", "name": "[V2,1/2] test_plans/virtio_event_idx_interrupt_cbdma_test_plan: modify the dmas parameter", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "86146bc27ccc33a9c994a2ccbcd4862c0c7d6176", "submitter": { "id": 1828, "url": "http://patches.dpdk.org/api/people/1828/?format=api", "name": "Ling, WeiX", "email": "weix.ling@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dts/patch/20221111064850.2422574-1-weix.ling@intel.com/mbox/", "series": [ { "id": 25720, "url": "http://patches.dpdk.org/api/series/25720/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=25720", "date": "2022-11-11T06:48:36", "name": "modify the dmas parameter", "version": 2, "mbox": "http://patches.dpdk.org/series/25720/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/119760/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/119760/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 C5646A0542;\n\tFri, 11 Nov 2022 07:55:33 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id C00B340697;\n\tFri, 11 Nov 2022 07:55:33 +0100 (CET)", "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id BCAD740150\n for <dts@dpdk.org>; Fri, 11 Nov 2022 07:55:31 +0100 (CET)", "from fmsmga005.fm.intel.com ([10.253.24.32])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Nov 2022 22:55:30 -0800", "from unknown (HELO localhost.localdomain) ([10.239.252.222])\n by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Nov 2022 22:55:29 -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=1668149731; x=1699685731;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=dqVK5fBDy3BFw+LnCTiERKIQA7FsfV/tCZSwu4Q+T4M=;\n b=MXXdI1QDmbvlxfa/S0tu+ULrbFw7jyn6VpKf/wxy/TOb3L5AoIfOtcVD\n Mq1tGemQj1lsNROsDK19/2ATPH3tT4VOJYIynGUT2jJZ2deSsI3xNqyYT\n c5iIxTj9WrZ/bigwEcE+BHxntDs5L3P3NEu2ybqOGkQt5V3s5SWuTtApo\n IyHit9+DEpcaDoK1Zd+Fy+5zr63LhxpmNhaaYU2xN/9ihvoLnforQrRiG\n xpba9sIdCd1BAtGUpqikZVD0D47mkRD31T7Fe/LMoKqJjyf/mgGIziO6k\n Gwx9YDM6YosdZTBgoIAjqnJ1ipMkLmGHTFzCTI817pkdsSw1QLRuo14U7 Q==;", "X-IronPort-AV": [ "E=McAfee;i=\"6500,9779,10527\"; a=\"309165215\"", "E=Sophos;i=\"5.96,156,1665471600\";\n d=\"scan'208,223\";a=\"309165215\"", "E=McAfee;i=\"6500,9779,10527\"; a=\"966727793\"", "E=Sophos;i=\"5.96,156,1665471600\";\n d=\"scan'208,223\";a=\"966727793\"" ], "From": "Wei Ling <weix.ling@intel.com>", "To": "dts@dpdk.org", "Cc": "Wei Ling <weix.ling@intel.com>", "Subject": "[dts][PATCH V2 1/2]\n test_plans/virtio_event_idx_interrupt_cbdma_test_plan: modify the dmas\n parameter", "Date": "Fri, 11 Nov 2022 14:48:50 +0800", "Message-Id": "<20221111064850.2422574-1-weix.ling@intel.com>", "X-Mailer": "git-send-email 2.25.1", "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": "From DPDK-22.11, the dmas parameter have changed from\n`lcore-dma=[lcore1@0000:00:04.0]` to `dmas=[txq0@0000:00:04.0]` by DPDK\nlocal patch,so modify the dmas parameter.\n\nSigned-off-by: Wei Ling <weix.ling@intel.com>\n---\n ...io_event_idx_interrupt_cbdma_test_plan.rst | 93 ++++++++++---------\n 1 file changed, 47 insertions(+), 46 deletions(-)", "diff": "diff --git a/test_plans/virtio_event_idx_interrupt_cbdma_test_plan.rst b/test_plans/virtio_event_idx_interrupt_cbdma_test_plan.rst\nindex 0926e052..2d1b82ad 100644\n--- a/test_plans/virtio_event_idx_interrupt_cbdma_test_plan.rst\n+++ b/test_plans/virtio_event_idx_interrupt_cbdma_test_plan.rst\n@@ -55,25 +55,27 @@ Test case\n \n Test Case1: Split ring virtio-pci driver reload test with CBDMA enable\n ----------------------------------------------------------------------\n-This case tests split ring event idx interrupt mode workable after reload virtio-pci driver several times when vhost uses the asynchronous operations with CBDMA channels.\n+This case tests split ring event idx interrupt mode workable after reload\n+virtio-pci driver several times when vhost uses the asynchronous\n+operations with CBDMA channels.\n \n 1. Bind one nic port and one cbdma channel to vfio-pci, then launch the vhost sample by below commands::\n \n rm -rf vhost-net*\n ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xF0000000 -n 4 --file-prefix=vhost \\\n- --vdev 'net_vhost,iface=vhost-net,queues=1,dmas=[txq0;rxq0]' \\\n- -- -i --nb-cores=1 --txd=1024 --rxd=1024 --lcore-dma=[lcore29@0000:00:04.0]\n+ --vdev 'net_vhost,iface=vhost-net,queues=1,dmas=[txq0@0000:00:04.0;rxq0@0000:00:04.0]' \\\n+ -- -i --nb-cores=1 --txd=1024 --rxd=1024\n testpmd> start\n \n 2. Launch VM::\n \n-\ttaskset -c 32-33 \\\n-\tqemu-system-x86_64 -name us-vhost-vm1 \\\n+\ttaskset -c 32-33 qemu-system-x86_64 -name vm1 \\\n \t-cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on -numa node,memdev=mem -mem-prealloc \\\n-\t-smp cores=1,sockets=1 -drive file=/home/osimg/ubuntu2004_1.img \\\n-\t-monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=nttsip1 \\\n-\t-netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6000-:22 \\\n-\t-chardev socket,id=char1,path=./vhost-net -netdev type=vhost-user,id=mynet1,chardev=char1,vhostforce \\\n+\t-smp cores=1,sockets=1 -drive file=/home/osimg/ubuntu2004.img \\\n+\t-monitor unix:/tmp/vm2_monitor.sock,server,nowait \\\n+\t-device e1000,netdev=nttsip1 -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6000-:22 \\\n+\t-chardev socket,id=char1,path=./vhost-net \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char1,vhostforce \\\n \t-device virtio-net-pci,mac=52:54:00:00:00:02,netdev=mynet1,mrg_rxbuf=on,csum=on,gso=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on \\\n \t-vnc :11 -daemonize\n \n@@ -97,28 +99,27 @@ This case tests split ring event idx interrupt mode workable after reload virtio\n \n Test Case2: Split ring 16 queues virtio-net event idx interrupt mode test with cbdma enable\n -------------------------------------------------------------------------------------------\n-This case tests the split ring virtio-net event idx interrupt with 16 queues and when vhost uses the asynchronous operations with CBDMA channels.\n+This case tests the split ring virtio-net event idx interrupt with 16 queues and when\n+vhost uses the asynchronous operations with CBDMA channels.\n \n-1. Bind one nic port and 16 cbdma channels to vfio-pci, then launch the vhost sample by below commands::\n+1. Bind one nic port and 4 cbdma channels to vfio-pci, then launch the vhost sample by below commands::\n \n rm -rf vhost-net*\n ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-17 -n 4 --file-prefix=vhost \\\n- --vdev 'net_vhost,iface=vhost-net,queues=16,client=1,dmas=[txq0;txq1;txq2;txq3;txq4;txq5;txq6;txq7;txq8;txq9;txq10;txq11;txq12;txq13;txq14;txq15;rxq0;rxq1;rxq2;rxq3;rxq4;rxq5;rxq6;rxq7;rxq8;rxq9;rxq10;rxq11;rxq12;rxq13;rxq14;rxq15]' \\\n- -- -i --nb-cores=16 --txd=1024 --rxd=1024 --rxq=16 --txq=16 \\\n- --lcore-dma=[lcore2@0000:00:04.0,lcore3@0000:00:04.1,lcore4@0000:00:04.2,lcore5@0000:00:04.3,lcore6@0000:00:04.4,lcore7@0000:00:04.5,lcore8@0000:00:04.6,lcore9@0000:00:04.7,\\\n-\tlcore10@0000:80:04.0,lcore11@0000:80:04.1,lcore12@0000:80:04.2,lcore13@0000:80:04.3,lcore14@0000:80:04.4,lcore15@0000:80:04.5,lcore16@0000:80:04.6,lcore17@0000:80:04.7]\n+ --vdev 'net_vhost,iface=vhost-net,queues=16,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.0;txq2@0000:00:04.0;txq3@0000:00:04.0;txq4@0000:00:04.0;txq5@0000:00:04.0;txq6@0000:00:04.0;txq7@0000:00:04.0;txq8@0000:00:04.1;txq9@0000:00:04.1;txq10@0000:00:04.1;txq11@0000:00:04.1;txq12@0000:00:04.1;txq13@0000:00:04.1;txq14@0000:00:04.1;txq15@0000:00:04.1;rxq0@0000:00:04.2;rxq1@0000:00:04.2;rxq2@0000:00:04.2;rxq3@0000:00:04.2;rxq4@0000:00:04.2;rxq5@0000:00:04.2;rxq6@0000:00:04.2;rxq7@0000:00:04.2;rxq8@0000:00:04.3;rxq9@0000:00:04.3;rxq10@0000:00:04.3;rxq11@0000:00:04.3;rxq12@0000:00:04.3;rxq13@0000:00:04.3;rxq14@0000:00:04.3;rxq15@0000:00:04.3]' \\\n+ -- -i --nb-cores=16 --txd=1024 --rxd=1024 --rxq=16 --txq=16\n testpmd> start\n \n 2. Launch VM::\n \n-\ttaskset -c 32-33 \\\n-\tqemu-system-x86_64 -name us-vhost-vm1 \\\n+\ttaskset -c 32-33 qemu-system-x86_64 -name us-vhost-vm1 \\\n \t-cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on -numa node,memdev=mem -mem-prealloc \\\n-\t-smp cores=1,sockets=1 -drive file=/home/osimg/ubuntu2004_1.img \\\n-\t-monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=nttsip1 \\\n-\t-netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6000-:22 \\\n-\t-chardev socket,id=char1,path=./vhost-net -netdev type=vhost-user,id=mynet1,chardev=char1,vhostforce \\\n-\t-device virtio-net-pci,mac=52:54:00:00:00:02,netdev=mynet1,mrg_rxbuf=on,csum=on,gso=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on \\\n+\t-smp cores=1,sockets=1 -drive file=/home/osimg/ubuntu2004.img \\\n+\t-monitor unix:/tmp/vm2_monitor.sock,server,nowait \\\n+\t-device e1000,netdev=nttsip1 -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6000-:22 \\\n+\t-chardev socket,id=char1,path=./vhost-net \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char1,vhostforce \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:02,netdev=mynet1,mrg_rxbuf=on,csum=on,gso=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on \\\n \t-vnc :11 -daemonize\n \n 3. On VM1, give virtio device IP and enable vitio-net with 16 quques::\n@@ -138,26 +139,28 @@ This case tests the split ring virtio-net event idx interrupt with 16 queues and\n \n Test Case3: Packed ring virtio-pci driver reload test with CBDMA enable\n -----------------------------------------------------------------------\n-This case tests packed ring event idx interrupt mode workable after reload virtio-pci driver several times when uses the asynchronous operations with CBDMA channels.\n+This case tests packed ring event idx interrupt mode workable after reload\n+virtio-pci driver several times when uses the asynchronous operations\n+with CBDMA channels.\n \n 1. Bind one nic port and one cbdma channel to vfio-pci, then launch the vhost sample by below commands::\n \n rm -rf vhost-net*\n ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xF0000000 -n 4 --file-prefix=vhost \\\n- --vdev 'net_vhost,iface=vhost-net,queues=1,dmas=[txq0;rxq0]' \\\n- -- -i --nb-cores=1 --txd=1024 --rxd=1024 --lcore-dma=[lcore29@0000:00:04.0]\n+ --vdev 'net_vhost,iface=vhost-net,queues=1,dmas=[txq0@0000:00:04.0;rxq0@0000:00:04.0]' \\\n+ -- -i --nb-cores=1 --txd=1024 --rxd=1024\n testpmd> start\n \n 2. Launch VM::\n \n-\ttaskset -c 32-33 \\\n-\tqemu-system-x86_64 -name us-vhost-vm1 \\\n+\ttaskset -c 32-33 qemu-system-x86_64 -name vm1 \\\n \t-cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on -numa node,memdev=mem -mem-prealloc \\\n-\t-smp cores=1,sockets=1 -drive file=/home/osimg/ubuntu2004_1.img \\\n-\t-monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=nttsip1 \\\n-\t-netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6000-:22 \\\n-\t-chardev socket,id=char1,path=./vhost-net -netdev type=vhost-user,id=mynet1,chardev=char1,vhostforce \\\n-\t-device virtio-net-pci,mac=52:54:00:00:00:02,netdev=mynet1,mrg_rxbuf=on,csum=on,gso=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on \\\n+\t-smp cores=1,sockets=1 -drive file=/home/osimg/ubuntu2004.img \\\n+\t-monitor unix:/tmp/vm2_monitor.sock,server,nowait \\\n+\t-device e1000,netdev=nttsip1 -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6000-:22 \\\n+\t-chardev socket,id=char1,path=./vhost-net \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char1,vhostforce \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:02,netdev=mynet1,mrg_rxbuf=on,csum=on,gso=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on \\\n \t-vnc :11 -daemonize\n \n 3. On VM1, set virtio device IP, send 10M packets from packet generator to nic then check virtio device can receive packets::\n@@ -180,28 +183,27 @@ This case tests packed ring event idx interrupt mode workable after reload virti\n \n Test Case4: Packed ring 16 queues virtio-net event idx interrupt mode test with cbdma enable\n --------------------------------------------------------------------------------------------\n-This case tests the packed ring virtio-net event idx interrupt with 16 queues and when vhost uses the asynchronous operations with CBDMA channels.\n+This case tests the packed ring virtio-net event idx interrupt with 16 queues and when vhost\n+uses the asynchronous operations with CBDMA channels.\n \n-1. Bind one nic port and 16 cbdma channels to vfio-pci, then launch the vhost sample by below commands::\n+1. Bind one nic port and 4 cbdma channels to vfio-pci, then launch the vhost sample by below commands::\n \n rm -rf vhost-net*\n ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-17 -n 4 --file-prefix=vhost \\\n- --vdev 'net_vhost,iface=vhost-net,queues=16,client=1,dmas=[txq0;txq1;txq2;txq3;txq4;txq5;txq6;txq7;txq8;txq9;txq10;txq11;txq12;txq13;txq14;txq15;rxq0;rxq1;rxq2;rxq3;rxq4;rxq5;rxq6;rxq7;rxq8;rxq9;rxq10;rxq11;rxq12;rxq13;rxq14;rxq15]' \\\n- -- -i --nb-cores=16 --txd=1024 --rxd=1024 --rxq=16 --txq=16 \\\n- --lcore-dma=[lcore2@0000:00:04.0,lcore3@0000:00:04.1,lcore4@0000:00:04.2,lcore5@0000:00:04.3,lcore6@0000:00:04.4,lcore7@0000:00:04.5,lcore8@0000:00:04.6,lcore9@0000:00:04.7,\\\n-\tlcore10@0000:80:04.0,lcore11@0000:80:04.1,lcore12@0000:80:04.2,lcore13@0000:80:04.3,lcore14@0000:80:04.4,lcore15@0000:80:04.5,lcore15@0000:80:04.6,lcore15@0000:80:04.7]\n+ --vdev 'net_vhost,iface=vhost-net,queues=16,client=1,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.0;txq2@0000:00:04.0;txq3@0000:00:04.0;txq4@0000:00:04.0;txq5@0000:00:04.0;txq6@0000:00:04.0;txq7@0000:00:04.0;txq8@0000:00:04.1;txq9@0000:00:04.1;txq10@0000:00:04.1;txq11@0000:00:04.1;txq12@0000:00:04.1;txq13@0000:00:04.1;txq14@0000:00:04.1;txq15@0000:00:04.1;rxq0@0000:00:04.2;rxq1@0000:00:04.2;rxq2@0000:00:04.2;rxq3@0000:00:04.2;rxq4@0000:00:04.2;rxq5@0000:00:04.2;rxq6@0000:00:04.2;rxq7@0000:00:04.2;rxq8@0000:00:04.3;rxq9@0000:00:04.3;rxq10@0000:00:04.3;rxq11@0000:00:04.3;rxq12@0000:00:04.3;rxq13@0000:00:04.3;rxq14@0000:00:04.3;rxq15@0000:00:04.3]' \\\n+ -- -i --nb-cores=16 --txd=1024 --rxd=1024 --rxq=16 --txq=16\n testpmd> start\n \n 2. Launch VM::\n \n-\ttaskset -c 32-33 \\\n-\tqemu-system-x86_64 -name us-vhost-vm1 \\\n+\ttaskset -c 32-33 qemu-system-x86_64 -name vm1 \\\n \t-cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on -numa node,memdev=mem -mem-prealloc \\\n-\t-smp cores=1,sockets=1 -drive file=/home/osimg/ubuntu2004_1.img \\\n-\t-monitor unix:/tmp/vm2_monitor.sock,server,nowait -device e1000,netdev=nttsip1 \\\n-\t-netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6000-:22 \\\n-\t-chardev socket,id=char1,path=./vhost-net -netdev type=vhost-user,id=mynet1,chardev=char1,vhostforce \\\n-\t-device virtio-net-pci,mac=52:54:00:00:00:02,netdev=mynet1,mrg_rxbuf=on,csum=on,gso=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on \\\n+\t-smp cores=1,sockets=1 -drive file=/home/osimg/ubuntu2004.img \\\n+\t-monitor unix:/tmp/vm2_monitor.sock,server,nowait \\\n+\t-device e1000,netdev=nttsip1 -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6000-:22 \\\n+\t-chardev socket,id=char1,path=./vhost-net \\\n+\t-netdev type=vhost-user,id=mynet1,chardev=char1,vhostforce \\\n+\t-device virtio-net-pci,mac=52:54:00:00:00:02,netdev=mynet1,mrg_rxbuf=on,csum=on,gso=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on \\\n \t-vnc :11 -daemonize\n \n 3. On VM1, configure virtio device IP and enable vitio-net with 16 quques::\n@@ -218,4 +220,3 @@ This case tests the packed ring virtio-net event idx interrupt with 16 queues an\n testpmd> stop\n testpmd> start\n testpmd> stop\n-\n", "prefixes": [ "V2", "1/2" ] }{ "id": 119760, "url": "