Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/127812/?format=api
http://patches.dpdk.org/api/patches/127812/?format=api", "web_url": "http://patches.dpdk.org/project/dts/patch/20230601094210.1739722-1-dukaix.yuan@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": "<20230601094210.1739722-1-dukaix.yuan@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dts/20230601094210.1739722-1-dukaix.yuan@intel.com", "date": "2023-06-01T09:42:10", "name": "[V2] test_plans/dpdk_gro_lib: optimize qemu startup parameters", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "a5f2d2f79d86d4d2d05ba959e6a5802477c210e0", "submitter": { "id": 2823, "url": "http://patches.dpdk.org/api/people/2823/?format=api", "name": "Yuan, DukaiX", "email": "dukaix.yuan@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dts/patch/20230601094210.1739722-1-dukaix.yuan@intel.com/mbox/", "series": [ { "id": 28286, "url": "http://patches.dpdk.org/api/series/28286/?format=api", "web_url": "http://patches.dpdk.org/project/dts/list/?series=28286", "date": "2023-06-01T09:42:10", "name": "[V2] test_plans/dpdk_gro_lib: optimize qemu startup parameters", "version": 2, "mbox": "http://patches.dpdk.org/series/28286/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/127812/comments/", "check": "warning", "checks": "http://patches.dpdk.org/api/patches/127812/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 9291242BFC;\n\tThu, 1 Jun 2023 04:04:47 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 66320406B3;\n\tThu, 1 Jun 2023 04:04:47 +0200 (CEST)", "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by mails.dpdk.org (Postfix) with ESMTP id EBE40406A2\n for <dts@dpdk.org>; Thu, 1 Jun 2023 04:04:45 +0200 (CEST)", "from fmsmga006.fm.intel.com ([10.253.24.20])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 31 May 2023 19:04:44 -0700", "from unknown (HELO localhost.localdomain) ([10.239.252.44])\n by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 31 May 2023 19:04:42 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1685585086; x=1717121086;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=OnDDURazr/WTEKAiNz3mLi7AbwRKSEwVETnYqz1lCMc=;\n b=c9z4vPI9O0wihKXj7v7dhquGPSCKZYg0/k91sXAOlnF8af/PpOIKw0ym\n CiP8UBcntvBXbY0KRST1oBDShqu/Hrq07gW70xDQnaMPpZ6NCnRWjoRZr\n v/Slc4uIo26ZJeLir2S+hhL/plWbbVprzz+dFaPnVXC1LTck1fJs63XiE\n qTKi/R6ZtKvEmz1gh47FOKG4dNtmzF2r6C9yi4ihNxn03IGn/tB6iQKjl\n bLJ6aopRViJJVKue8zIZkzoCE9hcD7+dRuFAnT8I8ATKEbhLo+PW6o+fX\n T4vmJqWjeKJMT4AGT4ocX9IffYQ3gTTa/XB0tsaWFCmyZwRlKN0gqiwXY A==;", "X-IronPort-AV": [ "E=McAfee;i=\"6600,9927,10727\"; a=\"358694430\"", "E=Sophos;i=\"6.00,207,1681196400\"; d=\"scan'208\";a=\"358694430\"", "E=McAfee;i=\"6600,9927,10727\"; a=\"953879596\"", "E=Sophos;i=\"6.00,207,1681196400\"; d=\"scan'208\";a=\"953879596\"" ], "X-ExtLoop1": "1", "From": "Dukai Yuan <dukaix.yuan@intel.com>", "To": "dts@dpdk.org", "Cc": "Dukai Yuan <dukaix.yuan@intel.com>", "Subject": "[dts][PATCH V2] test_plans/dpdk_gro_lib: optimize qemu startup\n parameters", "Date": "Thu, 1 Jun 2023 09:42:10 +0000", "Message-Id": "<20230601094210.1739722-1-dukaix.yuan@intel.com>", "X-Mailer": "git-send-email 2.31.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": "Starting from QEMU 5.2, the \"-net\" parameter has been removed and replaced by the \"-device\" parameter. \nIn the new QEMU version, you can use the \"-device\" parameter to set network devices.\n\nSigned-off-by: Dukai Yuan <dukaix.yuan@intel.com>\n---\n test_plans/dpdk_gro_lib_test_plan.rst | 104 +++++++++++++++-----------\n 1 file changed, 60 insertions(+), 44 deletions(-)", "diff": "diff --git a/test_plans/dpdk_gro_lib_test_plan.rst b/test_plans/dpdk_gro_lib_test_plan.rst\nindex a48286eb..74e78dc7 100644\n--- a/test_plans/dpdk_gro_lib_test_plan.rst\n+++ b/test_plans/dpdk_gro_lib_test_plan.rst\n@@ -78,17 +78,21 @@ Test Case1: DPDK GRO lightmode test with tcp/ipv4 traffic\n testpmd>port start 1\n testpmd>start\n \n-3. Set up vm with virto device and using kernel virtio-net driver::\n-\n- taskset -c 13 qemu-system-x86_64 -name us-vhost-vm1 \\\n- -cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on \\\n- -numa node,memdev=mem \\\n- -mem-prealloc -monitor unix:/tmp/vm2_monitor.sock,server,nowait -net nic,vlan=2,macaddr=00:00:00:08:e8:aa,addr=1f -net user,vlan=2,hostfwd=tcp:127.0.0.1:6001-:22 \\\n- -smp cores=1,sockets=1 -drive file=/home/osimg/ubuntu2004.img \\\n- -chardev socket,id=char0,path=./vhost-net \\\n- -netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce \\\n- -device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,csum=on,gso=on,host_tso4=on,guest_tso4=on \\\n- -vnc :10 -daemonize\n+3. Set up vm with virto device and using kernel virtio-net driver::\n+\n+ qemu-system-x86_64 -name vm0 -enable-kvm -daemonize \\\n+ -drive file=/home/image/ubuntu2004.img -pidfile /tmp/.vm0.pid \\\n+ -cpu host -smp 1 -m 8192 -numa node,memdev=mem -mem-prealloc \\\n+ -object memory-backend-file,id=mem,size=8192M,mem-path=/dev/hugepages,share=on \\\n+ -device e1000,netdev=nttsip1 \\\n+ -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6000-:22 \\\n+ -chardev socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 \\\n+ -device virtio-serial \\\n+ -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.0 \\\n+ -chardev socket,id=char0,path=/root/dpdk/vhost-net \\\n+ -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce,queues=2 \\\n+ -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,gso=on,host_tso4=on,guest_tso4=on,mq=on,vectors=6 \\\n+ -monitor unix:/tmp/vm0_monitor.sock,server,nowait -vnc :4\n \n 4. In vm, config the virtio-net device with ip and turn the kernel gro off::\n \n@@ -132,17 +136,21 @@ Test Case2: DPDK GRO heavymode test with tcp/ipv4 traffic\n testpmd>port start 1\n testpmd>start\n \n-3. Set up vm with virto device and using kernel virtio-net driver::\n-\n- taskset -c 13 qemu-system-x86_64 -name us-vhost-vm1 \\\n- -cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on \\\n- -numa node,memdev=mem \\\n- -mem-prealloc -monitor unix:/tmp/vm2_monitor.sock,server,nowait -net nic,vlan=2,macaddr=00:00:00:08:e8:aa,addr=1f -net user,vlan=2,hostfwd=tcp:127.0.0.1:6001-:22 \\\n- -smp cores=1,sockets=1 -drive file=/home/osimg/ubuntu2004.img \\\n- -chardev socket,id=char0,path=./vhost-net \\\n- -netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce \\\n- -device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,csum=on,gso=on,host_tso4=on,guest_tso4=on \\\n- -vnc :10 -daemonize\n+3. Set up vm with virto device and using kernel virtio-net driver::\n+\n+ qemu-system-x86_64 -name vm0 -enable-kvm -daemonize \\\n+ -drive file=/home/image/ubuntu2004.img -pidfile /tmp/.vm0.pid\\\n+ -cpu host -smp 1 -m 8192 -numa node,memdev=mem -mem-prealloc \\\n+ -object memory-backend-file,id=mem,size=8192M,mem-path=/dev/hugepages,share=on \\\n+ -device e1000,netdev=nttsip1 \\\n+ -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6000-:22 \\\n+ -chardev socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 \\\n+ -device virtio-serial \\\n+ -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.0 \\\n+ -chardev socket,id=char0,path=/root/dpdk/vhost-net \\\n+ -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce,queues=1 \\\n+ -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,gso=on,host_tso4=on,guest_tso4=on \\\n+ -monitor unix:/tmp/vm0_monitor.sock,server,nowait -vnc :4\n \n 4. In vm, config the virtio-net device with ip and turn the kernel gro off::\n \n@@ -186,17 +194,21 @@ Test Case3: DPDK GRO heavymode_flush4 test with tcp/ipv4 traffic\n testpmd>port start 1\n testpmd>start\n \n-3. Set up vm with virto device and using kernel virtio-net driver::\n-\n- taskset -c 13 qemu-system-x86_64 -name us-vhost-vm1 \\\n- -cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on \\\n- -numa node,memdev=mem \\\n- -mem-prealloc -monitor unix:/tmp/vm2_monitor.sock,server,nowait -net nic,vlan=2,macaddr=00:00:00:08:e8:aa,addr=1f -net user,vlan=2,hostfwd=tcp:127.0.0.1:6001-:22 \\\n- -smp cores=1,sockets=1 -drive file=/home/osimg/ubuntu2004.img \\\n- -chardev socket,id=char0,path=./vhost-net \\\n- -netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce \\\n- -device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,csum=on,gso=on,host_tso4=on,guest_tso4=on \\\n- -vnc :10 -daemonize\n+3. Set up vm with virto device and using kernel virtio-net driver::\n+\n+ qemu-system-x86_64 -name vm0 -enable-kvm -daemonize \\\n+ -drive file=/home/image/ubuntu2004.img -pidfile /tmp/.vm0.pid \\\n+ -cpu host -smp 1 -m 8192 -numa node,memdev=mem -mem-prealloc \\\n+ -object memory-backend-file,id=mem,size=8192M,mem-path=/dev/hugepages,share=on \\\n+ -device e1000,netdev=nttsip1 \\\n+ -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6000-:22 \\\n+ -chardev socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 \\\n+ -device virtio-serial \\\n+ -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.0 \\\n+ -chardev socket,id=char0,path=/root/dpdk/vhost-net \\\n+ -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce,queues=1 \\\n+ -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,gso=on,host_tso4=on,guest_tso4=on \\\n+ -monitor unix:/tmp/vm0_monitor.sock,server,nowait -vnc :4\n \n 4. In vm, config the virtio-net device with ip and turn the kernel gro off::\n \n@@ -317,17 +329,21 @@ Test Case5: DPDK GRO test with 2 queues using tcp/ipv4 traffic\n testpmd>port start 1\n testpmd>start\n \n-3. Set up vm with virto device and using kernel virtio-net driver::\n-\n- taskset -c 31 /home/qemu-install/qemu-4.2.1/bin/qemu-system-x86_64 -name us-vhost-vm1 \\\n- -cpu host -enable-kvm -m 2048 -object memory-backend-file,id=mem,size=2048M,mem-path=/mnt/huge,share=on \\\n- -numa node,memdev=mem \\\n- -mem-prealloc -monitor unix:/tmp/vm2_monitor.sock,server,nowait -netdev user,id=yinan,hostfwd=tcp:127.0.0.1:6005-:22 -device e1000,netdev=yinan \\\n- -smp cores=1,sockets=1 -drive file=/home/osimg/ubuntu2004.img \\\n- -chardev socket,id=char0,path=./vhost-net \\\n- -netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce,queues=2 \\\n- -device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,csum=on,gso=on,host_tso4=on,guest_tso4=on,mq=on,vectors=15 \\\n- -vnc :10 -daemonize\n+3. Set up vm with virto device and using kernel virtio-net driver::\n+\n+ qemu-system-x86_64 -name vm0 -enable-kvm -daemonize \\\n+ -drive file=/home/image/ubuntu2004.img -pidfile /tmp/.vm0.pid \\\n+ -cpu host -smp 1 -m 8192 -numa node,memdev=mem -mem-prealloc \\\n+ -object memory-backend-file,id=mem,size=8192M,mem-path=/dev/hugepages,share=on \\\n+ -device e1000,netdev=nttsip1 \\\n+ -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6000-:22 \\\n+ -chardev socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 \\\n+ -device virtio-serial \\\n+ -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.0 \\\n+ -chardev socket,id=char0,path=/root/dpdk/vhost-net \\\n+ -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce,queues=2 \\\n+ -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,csum=on,gso=on,host_tso4=on,guest_tso4=on,mq=on,vectors=6 \\\n+ -monitor unix:/tmp/vm0_monitor.sock,server,nowait -vnc :4\n \n 4. In vm, config the virtio-net device with ip and turn the kernel gro off::\n \n", "prefixes": [ "V2" ] }{ "id": 127812, "url": "