From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5FB23A0503; Thu, 19 May 2022 08:13:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5AD3740156; Thu, 19 May 2022 08:13:21 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 1FBDB40156 for ; Thu, 19 May 2022 08:13:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652940799; x=1684476799; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=/QVi6axOutuKGPRmTls7ZZzMarDmOzDE7AVrceb19sc=; b=ZafXz5zRTfofJKT1yEpVED+PpxCvcZhVTiAQ1OmUTEsORa0iMMpWWnTn WZBjXpO4JR4UUqBoLa/Kf+IbCpKh3N5lhcaUOVaReNL15rcMCfqYst4P6 vXRRUZjCvYJupt5RG35rNR21T7TZEoG9Ly3j1JUYvO1yj6gQrGhNBCogC YpGszKKn3ZWIsf5zZi1O4eSCCmdW/6X2CLsk220TIxdHHEZysdTEDZUAZ UuXvhOrW2d8buoSPyrDUtYnVYRwFT2s9MRKrkFmSKqE0bNlq2q/7RmYMM d8/4WfRoursRaVja5CjU1wgKIaPha4NZ51bYwwjrL3RxEVop1iy2O5Z/D g==; X-IronPort-AV: E=McAfee;i="6400,9594,10351"; a="272170697" X-IronPort-AV: E=Sophos;i="5.91,236,1647327600"; d="scan'208";a="272170697" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2022 23:13:18 -0700 X-IronPort-AV: E=Sophos;i="5.91,236,1647327600"; d="scan'208";a="714825291" Received: from unknown (HELO localhost.localdomain) ([10.239.251.222]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2022 23:13:17 -0700 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1 1/2] test_plans/virtio_event_idx_interrupt_test_plan: delete CBDMA related testcases Date: Thu, 19 May 2022 02:11:56 -0400 Message-Id: <20220519061156.2812362-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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Delete CBDMA related testcases. Signed-off-by: Wei Ling --- .../virtio_event_idx_interrupt_test_plan.rst | 147 ------------------ 1 file changed, 147 deletions(-) diff --git a/test_plans/virtio_event_idx_interrupt_test_plan.rst b/test_plans/virtio_event_idx_interrupt_test_plan.rst index 3f67e335..bab6afa3 100644 --- a/test_plans/virtio_event_idx_interrupt_test_plan.rst +++ b/test_plans/virtio_event_idx_interrupt_test_plan.rst @@ -257,150 +257,3 @@ Test Case 6: Wake up packed ring virtio-net cores with event idx interrupt mode testpmd>stop testpmd>start testpmd>stop - -Test Case 7: Split ring virtio-pci driver reload test with CBDMA enabled -======================================================================== - -1. Bind one nic port and one cbdma channel to vfio-pci, then launch the vhost sample by below commands:: - - rm -rf vhost-net* - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xF0000000 -n 4 --file-prefix=vhost --vdev 'net_vhost,iface=vhost-net,queues=1,dmas=[txq0@00:04.0]' -- -i --nb-cores=1 --txd=1024 --rxd=1024 - testpmd>start - -2. Launch VM:: - - taskset -c 32-33 \ - qemu-system-x86_64 -name us-vhost-vm1 \ - -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 \ - -smp cores=2,sockets=1 -drive file=/home/osimg/ubuntu2004_2.img \ - -monitor unix:/tmp/vm2_monitor.sock,server,nowait -net nic,macaddr=00:00:00:08:e8:aa,addr=1f -net user,hostfwd=tcp:127.0.0.1:6004-:22 \ - -chardev socket,id=char0,path=./vhost-net -netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce \ - -device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,csum=on,gso=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on \ - -vnc :12 -daemonize - -3. On VM1, set virtio device IP, send 10M packets from packet generator to nic then check virtio device can receive packets:: - - ifconfig [ens3] 1.1.1.2 # [ens3] is the name of virtio-net - tcpdump -i [ens3] - -4. Reload virtio-net driver by below cmds:: - - ifconfig [ens3] down - ./usertools/dpdk-devbind.py -u [00:03.0] # [00:03.0] is the pci addr of virtio-net - ./usertools/dpdk-devbind.py -b virtio-pci [00:03.0] - -5. Check virtio device can receive packets again:: - - ifconfig [ens3] 1.1.1.2 - tcpdump -i [ens3] - -6. Rerun step4 and step5 100 times to check event idx workable after driver reload. - -Test Case 8: Wake up split ring virtio-net cores with event idx interrupt mode and cbdma enabled 16 queues test -================================================================================================================ - -1. Bind one nic port and 16 cbdma channels to vfio-pci, then launch the vhost sample by below commands:: - - rm -rf vhost-net* - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-17 -n 4 --file-prefix=vhost --vdev 'net_vhost,iface=vhost-net,queues=16,client=1,dmas=[txq0@80:04.0;txq1@80:04.1;txq2@80:04.2;txq3@80:04.3;txq4@80:04.4;txq5@80:04.5;txq6@80:04.6;txq7@80:04.7;txq8@00:04.0;txq9@00:04.1;txq10@00:04.2;txq11@00:04.3;txq12@00:04.4;txq13@00:04.5;txq14@00:04.6;txq15@00:04.7]' -- -i --nb-cores=16 --txd=1024 --rxd=1024 --rxq=16 --txq=16 - testpmd>start - -2. Launch VM:: - - taskset -c 32-33 \ - qemu-system-x86_64 -name us-vhost-vm1 \ - -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 \ - -smp cores=16,sockets=1 -drive file=/home/osimg/ubuntu2004_2.img \ - -monitor unix:/tmp/vm2_monitor.sock,server,nowait -net nic,macaddr=00:00:00:08:e8:aa,addr=1f -net user,hostfwd=tcp:127.0.0.1:6004-:22 \ - -chardev socket,id=char0,path=./vhost-net,server -netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce,queues=16 \ - -device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,mq=on,vectors=40,csum=on,gso=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on \ - -vnc :12 -daemonize - -3. On VM1, give virtio device ip addr and enable vitio-net with 16 quques:: - - ifconfig [ens3] 1.1.1.2 # [ens3] is the name of virtio-net - ethtool -L [ens3] combined 16 - -4. Send 10M different ip addr packets from packet generator to nic, check virtio-net interrupt times by below cmd in VM:: - - cat /proc/interrupts - -5. After two hours stress test, stop and restart testpmd, check each queue has new packets coming:: - - testpmd>stop - testpmd>start - testpmd>stop - -Test Case 9: Packed ring virtio-pci driver reload test with CBDMA enabled -========================================================================= - -1. Bind one nic port and one cbdma channel to vfio-pci, then launch the vhost sample by below commands:: - - rm -rf vhost-net* - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xF0000000 -n 4 --file-prefix=vhost --vdev 'net_vhost,iface=vhost-net,queues=1,dmas=[txq0@00:04.0]' -- -i --nb-cores=1 --txd=1024 --rxd=1024 - testpmd>start - -2. Launch VM:: - - taskset -c 32-33 \ - qemu-system-x86_64 -name us-vhost-vm1 \ - -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 \ - -smp cores=2,sockets=1 -drive file=/home/osimg/ubuntu2004_2.img \ - -monitor unix:/tmp/vm2_monitor.sock,server,nowait -net nic,macaddr=00:00:00:08:e8:aa,addr=1f -net user,hostfwd=tcp:127.0.0.1:6004-:22 \ - -chardev socket,id=char0,path=./vhost-net -netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce \ - -device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,csum=on,gso=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on \ - -vnc :12 -daemonize - -3. On VM1, set virtio device IP, send 10M packets from packet generator to nic then check virtio device can receive packets:: - - ifconfig [ens3] 1.1.1.2 # [ens3] is the name of virtio-net - tcpdump -i [ens3] - -4. Reload virtio-net driver by below cmds:: - - ifconfig [ens3] down - ./usertools/dpdk-devbind.py -u [00:03.0] # [00:03.0] is the pci addr of virtio-net - ./usertools/dpdk-devbind.py -b virtio-pci [00:03.0] - -5. Check virtio device can receive packets again:: - - ifconfig [ens3] 1.1.1.2 - tcpdump -i [ens3] - -6. Rerun step4 and step5 100 times to check event idx workable after driver reload. - -Test Case 10: Wake up packed ring virtio-net cores with event idx interrupt mode and cbdma enabled 16 queues test -================================================================================================================= - -1. Bind one nic port and 16 cbdma channels to vfio-pci, then launch the vhost sample by below commands:: - - rm -rf vhost-net* - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-17 -n 4 --file-prefix=vhost --vdev 'net_vhost,iface=vhost-net,queues=16,client=1,dmas=[txq0@80:04.0;txq1@80:04.1;txq2@80:04.2;txq3@80:04.3;txq4@80:04.4;txq5@80:04.5;txq6@80:04.6;txq7@80:04.7;txq8@00:04.0;txq9@00:04.1;txq10@00:04.2;txq11@00:04.3;txq12@00:04.4;txq13@00:04.5;txq14@00:04.6;txq15@00:04.7]' -- -i --nb-cores=16 --txd=1024 --rxd=1024 --rxq=16 --txq=16 - testpmd>start - -2. Launch VM:: - - taskset -c 32-33 \ - qemu-system-x86_64 -name us-vhost-vm1 \ - -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 \ - -smp cores=16,sockets=1 -drive file=/home/osimg/ubuntu2004_2.img \ - -monitor unix:/tmp/vm2_monitor.sock,server,nowait -net nic,macaddr=00:00:00:08:e8:aa,addr=1f -net user,hostfwd=tcp:127.0.0.1:6004-:22 \ - -chardev socket,id=char0,path=./vhost-net,server -netdev type=vhost-user,id=mynet1,chardev=char0,vhostforce,queues=16 \ - -device virtio-net-pci,mac=52:54:00:00:00:01,netdev=mynet1,mrg_rxbuf=on,mq=on,vectors=40,csum=on,gso=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on \ - -vnc :12 -daemonize - -3. On VM1, give virtio device ip addr and enable vitio-net with 16 quques:: - - ifconfig [ens3] 1.1.1.2 # [ens3] is the name of virtio-net - ethtool -L [ens3] combined 16 - -4. Send 10M different ip addr packets from packet generator to nic, check virtio-net interrupt times by below cmd in VM:: - - cat /proc/interrupts - -5. After two hours stress test, stop and restart testpmd, check each queue has new packets coming:: - - testpmd>stop - testpmd>start - testpmd>stop - -- 2.25.1