* Re: [dts] [PATCH V1 0/2] Adapt RTE_LIBRTE_PMD_PCAP updates
2020-10-23 15:48 [dts] [PATCH V1 0/2] Adapt RTE_LIBRTE_PMD_PCAP updates JiangYuX
@ 2020-10-23 7:53 ` Jiang, YuX
2020-10-23 15:48 ` [dts] [PATCH V1 1/2] tests/TestSuite_vm2vm_virtio_pmd: " JiangYuX
2020-10-23 15:48 ` [dts] [PATCH V1 2/2] tests/TestSuite_vm2vm_virtio_user: " JiangYuX
2 siblings, 0 replies; 5+ messages in thread
From: Jiang, YuX @ 2020-10-23 7:53 UTC (permalink / raw)
To: Jiang, YuX, dts
[-- Attachment #1: Type: text/plain, Size: 330 bytes --]
Tested-by: JiangYuX <yux.jiang@intel.com>
Best Regards
Jiang yu
> -----Original Message-----
> From: JiangYuX [mailto:yux.jiang@intel.com]
> Sent: Friday, October 23, 2020 11:48 PM
> To: dts@dpdk.org
> Cc: Jiang, YuX <yux.jiang@intel.com>
> Subject: [dts] [PATCH V1 0/2] Adapt RTE_LIBRTE_PMD_PCAP updates
[-- Attachment #2: TestVM2VMVirtioUser.log --]
[-- Type: application/octet-stream, Size: 30031 bytes --]
23/10/2020 10:26:06 dts:
TEST SUITE : TestVM2VMVirtioUser
23/10/2020 10:26:06 dts: NIC : fortville_spirit
23/10/2020 10:26:06 dut.10.240.183.220:
23/10/2020 10:26:06 tester:
23/10/2020 10:26:13 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:26:13 dut.10.240.183.220: 1048576
23/10/2020 10:26:13 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_inorder_mergeable_path Begin
23/10/2020 10:26:13 dut.10.240.183.220:
23/10/2020 10:26:13 tester:
23/10/2020 10:26:13 dut.10.240.183.220: rm -rf ./vhost-net*
23/10/2020 10:26:13 dut.10.240.183.220:
23/10/2020 10:26:13 dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
23/10/2020 10:26:13 dut.10.240.183.220:
23/10/2020 10:26:13 dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
23/10/2020 10:26:13 dut.10.240.183.220:
23/10/2020 10:26:13 TestVM2VMVirtioUser: check pcap file info about virtio
23/10/2020 10:26:14 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:26:14 dut.10.240.183.220: 1048576
23/10/2020 10:26:15 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:26:15 dut.10.240.183.220: 1048576
23/10/2020 10:26:40 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-virtio-rx.pcap /tmp/pdump-virtio-rx.pcap
23/10/2020 10:26:42 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_inorder_mergeable_path Result FAILED: 'The virtio/vhost do not capture all the packetsexpect pkt num is: 252, actual pkt num is: 256'
23/10/2020 10:26:42 dut.10.240.183.220: kill_all: called by dut and prefix list has value.
23/10/2020 10:26:46 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_inorder_no_mergeable_path Begin
23/10/2020 10:26:46 dut.10.240.183.220:
23/10/2020 10:26:46 tester:
23/10/2020 10:26:46 dut.10.240.183.220: rm -rf ./vhost-net*
23/10/2020 10:26:46 dut.10.240.183.220:
23/10/2020 10:26:46 dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
23/10/2020 10:26:46 dut.10.240.183.220:
23/10/2020 10:26:46 dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
23/10/2020 10:26:46 dut.10.240.183.220:
23/10/2020 10:26:46 TestVM2VMVirtioUser: check pcap file info about virtio
23/10/2020 10:26:47 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:26:47 dut.10.240.183.220: 1048576
23/10/2020 10:26:48 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:26:48 dut.10.240.183.220: 1048576
23/10/2020 10:27:13 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-virtio-rx.pcap /tmp/pdump-virtio-rx.pcap
23/10/2020 10:27:15 TestVM2VMVirtioUser: check pcap file info about vhost
23/10/2020 10:27:15 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:27:15 dut.10.240.183.220: 1048576
23/10/2020 10:27:40 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-vhost-rx.pcap /tmp/pdump-vhost-rx.pcap
23/10/2020 10:27:42 TestVM2VMVirtioUser: diff the pcap file of vhost and virtio
23/10/2020 10:27:42 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_inorder_no_mergeable_path Result PASSED:
23/10/2020 10:27:42 dut.10.240.183.220: kill_all: called by dut and prefix list has value.
23/10/2020 10:27:46 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_mergeable_path Begin
23/10/2020 10:27:46 dut.10.240.183.220:
23/10/2020 10:27:46 tester:
23/10/2020 10:27:46 dut.10.240.183.220: rm -rf ./vhost-net*
23/10/2020 10:27:47 dut.10.240.183.220:
23/10/2020 10:27:47 dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
23/10/2020 10:27:47 dut.10.240.183.220:
23/10/2020 10:27:47 dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
23/10/2020 10:27:47 dut.10.240.183.220:
23/10/2020 10:27:47 TestVM2VMVirtioUser: check pcap file info about virtio
23/10/2020 10:27:47 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:27:47 dut.10.240.183.220: 1048576
23/10/2020 10:27:48 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:27:48 dut.10.240.183.220: 1048576
23/10/2020 10:28:14 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-virtio-rx.pcap /tmp/pdump-virtio-rx.pcap
23/10/2020 10:28:16 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_mergeable_path Result FAILED: 'The virtio/vhost do not capture all the packetsexpect pkt num is: 284, actual pkt num is: 288'
23/10/2020 10:28:16 dut.10.240.183.220: kill_all: called by dut and prefix list has value.
23/10/2020 10:28:19 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_no_mergeable_path Begin
23/10/2020 10:28:19 dut.10.240.183.220:
23/10/2020 10:28:20 tester:
23/10/2020 10:28:20 dut.10.240.183.220: rm -rf ./vhost-net*
23/10/2020 10:28:20 dut.10.240.183.220:
23/10/2020 10:28:20 dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
23/10/2020 10:28:20 dut.10.240.183.220:
23/10/2020 10:28:20 dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
23/10/2020 10:28:20 dut.10.240.183.220:
23/10/2020 10:28:20 TestVM2VMVirtioUser: check pcap file info about virtio
23/10/2020 10:28:20 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:28:20 dut.10.240.183.220: 1048576
23/10/2020 10:28:21 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:28:22 dut.10.240.183.220: 1048576
23/10/2020 10:28:47 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-virtio-rx.pcap /tmp/pdump-virtio-rx.pcap
23/10/2020 10:28:48 TestVM2VMVirtioUser: check pcap file info about vhost
23/10/2020 10:28:49 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:28:49 dut.10.240.183.220: 1048576
23/10/2020 10:29:14 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-vhost-rx.pcap /tmp/pdump-vhost-rx.pcap
23/10/2020 10:29:15 TestVM2VMVirtioUser: diff the pcap file of vhost and virtio
23/10/2020 10:29:16 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_no_mergeable_path Result PASSED:
23/10/2020 10:29:16 dut.10.240.183.220: kill_all: called by dut and prefix list has value.
23/10/2020 10:29:20 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_vectorized_path Begin
23/10/2020 10:29:20 dut.10.240.183.220:
23/10/2020 10:29:20 tester:
23/10/2020 10:29:20 dut.10.240.183.220: rm -rf ./vhost-net*
23/10/2020 10:29:20 dut.10.240.183.220:
23/10/2020 10:29:20 dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
23/10/2020 10:29:20 dut.10.240.183.220:
23/10/2020 10:29:20 dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
23/10/2020 10:29:20 dut.10.240.183.220:
23/10/2020 10:29:20 TestVM2VMVirtioUser: check pcap file info about virtio
23/10/2020 10:29:21 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:29:21 dut.10.240.183.220: 1048576
23/10/2020 10:29:22 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:29:22 dut.10.240.183.220: 1048576
23/10/2020 10:29:47 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-virtio-rx.pcap /tmp/pdump-virtio-rx.pcap
23/10/2020 10:29:49 TestVM2VMVirtioUser: check pcap file info about vhost
23/10/2020 10:29:50 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:29:50 dut.10.240.183.220: 1048576
23/10/2020 10:30:14 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-vhost-rx.pcap /tmp/pdump-vhost-rx.pcap
23/10/2020 10:30:16 TestVM2VMVirtioUser: diff the pcap file of vhost and virtio
23/10/2020 10:30:17 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_vectorized_path Result PASSED:
23/10/2020 10:30:17 dut.10.240.183.220: kill_all: called by dut and prefix list has value.
23/10/2020 10:30:21 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_vectorized_path_ringsize_not_powerof_2 Begin
23/10/2020 10:30:21 dut.10.240.183.220:
23/10/2020 10:30:21 tester:
23/10/2020 10:30:21 dut.10.240.183.220: rm -rf ./vhost-net*
23/10/2020 10:30:21 dut.10.240.183.220:
23/10/2020 10:30:21 dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
23/10/2020 10:30:21 dut.10.240.183.220:
23/10/2020 10:30:21 dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
23/10/2020 10:30:21 dut.10.240.183.220:
23/10/2020 10:30:21 TestVM2VMVirtioUser: check pcap file info about virtio
23/10/2020 10:30:22 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:30:22 dut.10.240.183.220: 1048576
23/10/2020 10:30:23 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:30:23 dut.10.240.183.220: 1048576
23/10/2020 10:30:48 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-virtio-rx.pcap /tmp/pdump-virtio-rx.pcap
23/10/2020 10:30:50 TestVM2VMVirtioUser: check pcap file info about vhost
23/10/2020 10:30:51 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:30:51 dut.10.240.183.220: 1048576
23/10/2020 10:31:15 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-vhost-rx.pcap /tmp/pdump-vhost-rx.pcap
23/10/2020 10:31:17 TestVM2VMVirtioUser: diff the pcap file of vhost and virtio
23/10/2020 10:31:17 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_packed_virtqueue_vectorized_path_ringsize_not_powerof_2 Result PASSED:
23/10/2020 10:31:17 dut.10.240.183.220: kill_all: called by dut and prefix list has value.
23/10/2020 10:31:21 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_inorder_mergeable_path Begin
23/10/2020 10:31:22 dut.10.240.183.220:
23/10/2020 10:31:22 tester:
23/10/2020 10:31:22 dut.10.240.183.220: rm -rf ./vhost-net*
23/10/2020 10:31:22 dut.10.240.183.220:
23/10/2020 10:31:22 dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
23/10/2020 10:31:22 dut.10.240.183.220:
23/10/2020 10:31:22 dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
23/10/2020 10:31:22 dut.10.240.183.220:
23/10/2020 10:31:22 TestVM2VMVirtioUser: check pcap file info about virtio
23/10/2020 10:31:22 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:31:23 dut.10.240.183.220: 1048576
23/10/2020 10:31:24 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:31:24 dut.10.240.183.220: 1048576
23/10/2020 10:31:49 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-virtio-rx.pcap /tmp/pdump-virtio-rx.pcap
23/10/2020 10:31:51 TestVM2VMVirtioUser: check pcap file info about vhost
23/10/2020 10:31:51 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:31:51 dut.10.240.183.220: 1048576
23/10/2020 10:32:16 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-vhost-rx.pcap /tmp/pdump-vhost-rx.pcap
23/10/2020 10:32:18 TestVM2VMVirtioUser: diff the pcap file of vhost and virtio
23/10/2020 10:32:18 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_inorder_mergeable_path Result PASSED:
23/10/2020 10:32:18 dut.10.240.183.220: kill_all: called by dut and prefix list has value.
23/10/2020 10:32:22 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_inorder_mergeable_path_with_cbdma Begin
23/10/2020 10:32:23 dut.10.240.183.220:
23/10/2020 10:32:23 tester:
23/10/2020 10:32:23 dut.10.240.183.220: rm -rf ./vhost-net*
23/10/2020 10:32:23 dut.10.240.183.220:
23/10/2020 10:32:23 dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
23/10/2020 10:32:23 dut.10.240.183.220:
23/10/2020 10:32:23 dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
23/10/2020 10:32:23 dut.10.240.183.220:
23/10/2020 10:32:27 dut.10.240.183.220: ./usertools/dpdk-devbind.py --status-dev misc
23/10/2020 10:32:27 dut.10.240.183.220:
Misc (rawdev) devices using kernel driver
=========================================
0000:00:04.0 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:00:04.1 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:00:04.2 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:00:04.3 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:00:04.4 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:00:04.5 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:00:04.6 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:00:04.7 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:80:04.0 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:80:04.1 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:80:04.2 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:80:04.3 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:80:04.4 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:80:04.5 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:80:04.6 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:80:04.7 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
23/10/2020 10:32:27 dut.10.240.183.220: ./usertools/dpdk-devbind.py --force --bind=igb_uio 0000:80:04.0 0000:80:04.1 0000:80:04.2 0000:80:04.3
23/10/2020 10:32:27 dut.10.240.183.220:
23/10/2020 10:32:27 TestVM2VMVirtioUser: check pcap file info about virtio
23/10/2020 10:32:57 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_inorder_mergeable_path_with_cbdma Result FAILED: TIMEOUT on x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1,2 -n 4 --file-prefix=vhost_57896_20201023095620 --vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0@0000:80:04.0;txq1@0000:80:04.1],dmathr=512' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:80:04.2;txq1@0000:80:04.3],dmathr=512' -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256 --no-flush-rx
23/10/2020 10:32:57 TestVM2VMVirtioUser: EAL: Detected 112 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/vhost_57896_20201023095620/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: Probe PCI driver: rawdev_ioat (8086:2021) device: 0000:80:04.0 (socket 1)
ioat_rawdev_probe(): Init 0000:80:04.0 on NUMA node 1
ioat_rawdev_create(): ioat_rawdev_create: Channel appears locked
EAL: Probe PCI driver: rawdev_ioat (8086:2021) device: 0000:80:04.1 (socket 1)
ioat_rawdev_probe(): Init 0000:80:04.1 on NUMA node 1
ioat_rawdev_create(): ioat_rawdev_create: Channel appears locked
EAL: Probe PCI driver: rawdev_ioat (8086:2021) device: 0000:80:04.2 (socket 1)
ioat_rawdev_probe(): Init 0000:80:04.2 on NUMA node 1
ioat_rawdev_create(): ioat_rawdev_create: Channel appears locked
EAL: Probe PCI driver: rawdev_ioat (8086:2021) device: 0000:80:04.3 (socket 1)
ioat_rawdev_probe(): Init 0000:80:04.3 on NUMA node 1
ioat_rawdev_create(): ioat_rawdev_create: Channel appears locked
vdev_probe(): failed to initialize eth_vhost0 device
vdev_probe(): failed to initialize eth_vhost1 device
EAL: Bus (vdev) probe failed.
testpmd: No probed ethernet devices
Interactive-mode selected
Fail: input rxq (2) can't be greater than max_rx_queues (0) of port 0
EAL: Error - exiting with code: 1
Cause: rxq 2 invalid - must be >= 0 && <= 0
[PEXPECT]#
23/10/2020 10:33:04 dut.10.240.183.220: kill_all: called by dut and prefix list has value.
23/10/2020 10:33:07 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_inorder_no_mergeable_path Begin
23/10/2020 10:33:07 dut.10.240.183.220:
23/10/2020 10:33:07 tester:
23/10/2020 10:33:07 dut.10.240.183.220: rm -rf ./vhost-net*
23/10/2020 10:33:07 dut.10.240.183.220:
23/10/2020 10:33:07 dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
23/10/2020 10:33:07 dut.10.240.183.220:
23/10/2020 10:33:07 dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
23/10/2020 10:33:07 dut.10.240.183.220:
23/10/2020 10:33:07 TestVM2VMVirtioUser: check pcap file info about virtio
23/10/2020 10:33:08 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:33:08 dut.10.240.183.220: 1048576
23/10/2020 10:33:09 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:33:09 dut.10.240.183.220: 1048576
23/10/2020 10:33:34 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-virtio-rx.pcap /tmp/pdump-virtio-rx.pcap
23/10/2020 10:33:36 TestVM2VMVirtioUser: check pcap file info about vhost
23/10/2020 10:33:37 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:33:37 dut.10.240.183.220: 1048576
23/10/2020 10:34:01 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-vhost-rx.pcap /tmp/pdump-vhost-rx.pcap
23/10/2020 10:34:03 TestVM2VMVirtioUser: diff the pcap file of vhost and virtio
23/10/2020 10:34:03 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_inorder_no_mergeable_path Result PASSED:
23/10/2020 10:34:03 dut.10.240.183.220: kill_all: called by dut and prefix list has value.
23/10/2020 10:34:07 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_mergeable_path Begin
23/10/2020 10:34:08 dut.10.240.183.220:
23/10/2020 10:34:08 tester:
23/10/2020 10:34:08 dut.10.240.183.220: rm -rf ./vhost-net*
23/10/2020 10:34:08 dut.10.240.183.220:
23/10/2020 10:34:08 dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
23/10/2020 10:34:08 dut.10.240.183.220:
23/10/2020 10:34:08 dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
23/10/2020 10:34:08 dut.10.240.183.220:
23/10/2020 10:34:08 TestVM2VMVirtioUser: check pcap file info about virtio
23/10/2020 10:34:08 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:34:08 dut.10.240.183.220: 1048576
23/10/2020 10:34:10 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:34:10 dut.10.240.183.220: 1048576
23/10/2020 10:34:35 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-virtio-rx.pcap /tmp/pdump-virtio-rx.pcap
23/10/2020 10:34:37 TestVM2VMVirtioUser: check pcap file info about vhost
23/10/2020 10:34:38 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:34:38 dut.10.240.183.220: 1048576
23/10/2020 10:35:03 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-vhost-rx.pcap /tmp/pdump-vhost-rx.pcap
23/10/2020 10:35:04 TestVM2VMVirtioUser: diff the pcap file of vhost and virtio
23/10/2020 10:35:05 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_mergeable_path Result PASSED:
23/10/2020 10:35:05 dut.10.240.183.220: kill_all: called by dut and prefix list has value.
23/10/2020 10:35:09 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_mergeable_path_with_cbdma Begin
23/10/2020 10:35:09 dut.10.240.183.220:
23/10/2020 10:35:09 tester:
23/10/2020 10:35:09 dut.10.240.183.220: rm -rf ./vhost-net*
23/10/2020 10:35:09 dut.10.240.183.220:
23/10/2020 10:35:09 dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
23/10/2020 10:35:09 dut.10.240.183.220:
23/10/2020 10:35:09 dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
23/10/2020 10:35:10 dut.10.240.183.220:
23/10/2020 10:35:13 dut.10.240.183.220: ./usertools/dpdk-devbind.py --status-dev misc
23/10/2020 10:35:14 dut.10.240.183.220:
Misc (rawdev) devices using DPDK-compatible driver
==================================================
0000:80:04.0 'Sky Lake-E CBDMA Registers 2021' drv=igb_uio unused=ioatdma,vfio-pci
0000:80:04.1 'Sky Lake-E CBDMA Registers 2021' drv=igb_uio unused=ioatdma,vfio-pci
0000:80:04.2 'Sky Lake-E CBDMA Registers 2021' drv=igb_uio unused=ioatdma,vfio-pci
0000:80:04.3 'Sky Lake-E CBDMA Registers 2021' drv=igb_uio unused=ioatdma,vfio-pci
Misc (rawdev) devices using kernel driver
=========================================
0000:00:04.0 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:00:04.1 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:00:04.2 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:00:04.3 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:00:04.4 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:00:04.5 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:00:04.6 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:00:04.7 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:80:04.4 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:80:04.5 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:80:04.6 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
0000:80:04.7 'Sky Lake-E CBDMA Registers 2021' drv=ioatdma unused=igb_uio,vfio-pci
23/10/2020 10:35:14 dut.10.240.183.220: ./usertools/dpdk-devbind.py --force --bind=igb_uio 0000:80:04.0 0000:80:04.1 0000:80:04.2 0000:80:04.3
23/10/2020 10:35:14 dut.10.240.183.220: Notice: 0000:80:04.0 already bound to driver igb_uio, skipping
Notice: 0000:80:04.1 already bound to driver igb_uio, skipping
Notice: 0000:80:04.2 already bound to driver igb_uio, skipping
Notice: 0000:80:04.3 already bound to driver igb_uio, skipping
23/10/2020 10:35:14 TestVM2VMVirtioUser: check pcap file info about virtio
23/10/2020 10:35:44 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_mergeable_path_with_cbdma Result FAILED: TIMEOUT on x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1,2 -n 4 --file-prefix=vhost_57896_20201023095620 --vdev 'eth_vhost0,iface=vhost-net0,queues=2,client=1,dmas=[txq0@0000:80:04.0;txq1@0000:80:04.1],dmathr=512' --vdev 'eth_vhost1,iface=vhost-net1,queues=2,client=1,dmas=[txq0@0000:80:04.2;txq1@0000:80:04.3],dmathr=512' -- -i --nb-cores=1 --rxq=2 --txq=2 --txd=256 --rxd=256 --no-flush-rx
23/10/2020 10:35:44 TestVM2VMVirtioUser: EAL: Detected 112 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/vhost_57896_20201023095620/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: Probe PCI driver: rawdev_ioat (8086:2021) device: 0000:80:04.0 (socket 1)
ioat_rawdev_probe(): Init 0000:80:04.0 on NUMA node 1
EAL: Probe PCI driver: rawdev_ioat (8086:2021) device: 0000:80:04.1 (socket 1)
ioat_rawdev_probe(): Init 0000:80:04.1 on NUMA node 1
EAL: Probe PCI driver: rawdev_ioat (8086:2021) device: 0000:80:04.2 (socket 1)
ioat_rawdev_probe(): Init 0000:80:04.2 on NUMA node 1
EAL: Probe PCI driver: rawdev_ioat (8086:2021) device: 0000:80:04.3 (socket 1)
ioat_rawdev_probe(): Init 0000:80:04.3 on NUMA node 1
vdev_probe(): failed to initialize eth_vhost0 device
vdev_probe(): failed to initialize eth_vhost1 device
EAL: Bus (vdev) probe failed.
testpmd: No probed ethernet devices
Interactive-mode selected
Fail: input rxq (2) can't be greater than max_rx_queues (0) of port 0
EAL: Error - exiting with code: 1
Cause: rxq 2 invalid - must be >= 0 && <= 0
[PEXPECT]#
23/10/2020 10:35:51 dut.10.240.183.220: kill_all: called by dut and prefix list has value.
23/10/2020 10:35:53 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_no_mergeable_path Begin
23/10/2020 10:35:54 dut.10.240.183.220:
23/10/2020 10:35:54 tester:
23/10/2020 10:35:54 dut.10.240.183.220: rm -rf ./vhost-net*
23/10/2020 10:35:54 dut.10.240.183.220:
23/10/2020 10:35:54 dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
23/10/2020 10:35:54 dut.10.240.183.220:
23/10/2020 10:35:54 dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
23/10/2020 10:35:54 dut.10.240.183.220:
23/10/2020 10:35:54 TestVM2VMVirtioUser: check pcap file info about virtio
23/10/2020 10:35:54 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:35:54 dut.10.240.183.220: 1048576
23/10/2020 10:35:56 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:35:56 dut.10.240.183.220: 1048576
23/10/2020 10:36:21 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-virtio-rx.pcap /tmp/pdump-virtio-rx.pcap
23/10/2020 10:36:23 TestVM2VMVirtioUser: check pcap file info about vhost
23/10/2020 10:36:23 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:36:23 dut.10.240.183.220: 1048576
23/10/2020 10:36:48 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-vhost-rx.pcap /tmp/pdump-vhost-rx.pcap
23/10/2020 10:36:50 TestVM2VMVirtioUser: diff the pcap file of vhost and virtio
23/10/2020 10:36:50 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_no_mergeable_path Result PASSED:
23/10/2020 10:36:50 dut.10.240.183.220: kill_all: called by dut and prefix list has value.
23/10/2020 10:36:54 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_vector_rx_path Begin
23/10/2020 10:36:54 dut.10.240.183.220:
23/10/2020 10:36:54 tester:
23/10/2020 10:36:54 dut.10.240.183.220: rm -rf ./vhost-net*
23/10/2020 10:36:54 dut.10.240.183.220:
23/10/2020 10:36:54 dut.10.240.183.220: rm -rf /tmp/pdump-virtio-rx.pcap
23/10/2020 10:36:55 dut.10.240.183.220:
23/10/2020 10:36:55 dut.10.240.183.220: rm -rf /tmp/pdump-vhost-rx.pcap
23/10/2020 10:36:55 dut.10.240.183.220:
23/10/2020 10:36:55 TestVM2VMVirtioUser: check pcap file info about virtio
23/10/2020 10:36:55 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:36:55 dut.10.240.183.220: 1048576
23/10/2020 10:36:56 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:36:56 dut.10.240.183.220: 1048576
23/10/2020 10:37:21 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-virtio-rx.pcap /tmp/pdump-virtio-rx.pcap
23/10/2020 10:37:23 TestVM2VMVirtioUser: check pcap file info about vhost
23/10/2020 10:37:24 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
23/10/2020 10:37:24 dut.10.240.183.220: 1048576
23/10/2020 10:37:49 dut.10.240.183.220: scp -v root@10.240.183.220:/tmp/pdump-vhost-rx.pcap /tmp/pdump-vhost-rx.pcap
23/10/2020 10:37:50 TestVM2VMVirtioUser: diff the pcap file of vhost and virtio
23/10/2020 10:37:51 TestVM2VMVirtioUser: Test Case test_vm2vm_virtio_user_split_virtqueue_vector_rx_path Result PASSED:
23/10/2020 10:37:51 dut.10.240.183.220: kill_all: called by dut and prefix list has value.
23/10/2020 10:37:55 dts:
TEST SUITE ENDED: TestVM2VMVirtioUser
[-- Attachment #3: TestVM2VMVirtioPMD.LOG --]
[-- Type: application/octet-stream, Size: 925505 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [dts] [PATCH V1 0/2] Adapt RTE_LIBRTE_PMD_PCAP updates
@ 2020-10-23 15:48 JiangYuX
2020-10-23 7:53 ` Jiang, YuX
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: JiangYuX @ 2020-10-23 15:48 UTC (permalink / raw)
To: dts; +Cc: JiangYu
From: JiangYu <yux.jiang@intel.com>
For DPDK commit: b0b672aea, PMD_PCAP has been defined by default, should not redefine.
JiangYu (2):
tests/TestSuite_vm2vm_virtio_pmd: Adapt RTE_LIBRTE_PMD_PCAP updates
tests/TestSuite_vm2vm_virtio_user: Adapt RTE_LIBRTE_PMD_PCAP updates
tests/TestSuite_vm2vm_virtio_pmd.py | 12 ++++++------
tests/TestSuite_vm2vm_virtio_user.py | 10 ++++++----
2 files changed, 12 insertions(+), 10 deletions(-)
--
2.7.4
^ permalink raw reply [flat|nested] 5+ messages in thread
* [dts] [PATCH V1 1/2] tests/TestSuite_vm2vm_virtio_pmd: Adapt RTE_LIBRTE_PMD_PCAP updates
2020-10-23 15:48 [dts] [PATCH V1 0/2] Adapt RTE_LIBRTE_PMD_PCAP updates JiangYuX
2020-10-23 7:53 ` Jiang, YuX
@ 2020-10-23 15:48 ` JiangYuX
2020-10-23 15:48 ` [dts] [PATCH V1 2/2] tests/TestSuite_vm2vm_virtio_user: " JiangYuX
2 siblings, 0 replies; 5+ messages in thread
From: JiangYuX @ 2020-10-23 15:48 UTC (permalink / raw)
To: dts; +Cc: JiangYu
From: JiangYu <yux.jiang@intel.com>
For DPDK commit: b0b672aea, PMD_PCAP has been defined by default, should not redefine.
Signed-off-by: JiangYu <yux.jiang@intel.com>
---
tests/TestSuite_vm2vm_virtio_pmd.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/tests/TestSuite_vm2vm_virtio_pmd.py b/tests/TestSuite_vm2vm_virtio_pmd.py
index a5c4032..e421285 100644
--- a/tests/TestSuite_vm2vm_virtio_pmd.py
+++ b/tests/TestSuite_vm2vm_virtio_pmd.py
@@ -90,17 +90,17 @@ class TestVM2VMVirtioPMD(TestCase):
"""
enable pcap lib in dpdk code and recompile
"""
- client_dut.send_expect("sed -i 's/CONFIG_RTE_LIBRTE_PMD_PCAP=n$/CONFIG_RTE_LIBRTE_PMD_PCAP=y/' config/common_base", "#")
- client_dut.set_build_options({'RTE_LIBRTE_PMD_PCAP': 'y'})
- client_dut.build_install_dpdk(self.target)
+ if self.dut.build_type == 'makefile':
+ client_dut.send_expect("sed -i 's/CONFIG_RTE_LIBRTE_PMD_PCAP=n$/CONFIG_RTE_LIBRTE_PMD_PCAP=y/' config/common_base", "#")
+ client_dut.build_install_dpdk(self.target)
def disable_pcap_lib_in_dpdk(self, client_dut):
"""
reset pcap lib in dpdk and recompile
"""
- client_dut.send_expect("sed -i 's/CONFIG_RTE_LIBRTE_PMD_PCAP=y$/CONFIG_RTE_LIBRTE_PMD_PCAP=n/' config/common_base", "#")
- client_dut.set_build_options({'RTE_LIBRTE_PMD_PCAP': 'n'})
- client_dut.build_install_dpdk(self.target)
+ if self.dut.build_type == 'makefile':
+ client_dut.send_expect("sed -i 's/CONFIG_RTE_LIBRTE_PMD_PCAP=y$/CONFIG_RTE_LIBRTE_PMD_PCAP=n/' config/common_base", "#")
+ client_dut.build_install_dpdk(self.target)
def start_vhost_testpmd(self):
"""
--
2.7.4
^ permalink raw reply [flat|nested] 5+ messages in thread
* [dts] [PATCH V1 2/2] tests/TestSuite_vm2vm_virtio_user: Adapt RTE_LIBRTE_PMD_PCAP updates
2020-10-23 15:48 [dts] [PATCH V1 0/2] Adapt RTE_LIBRTE_PMD_PCAP updates JiangYuX
2020-10-23 7:53 ` Jiang, YuX
2020-10-23 15:48 ` [dts] [PATCH V1 1/2] tests/TestSuite_vm2vm_virtio_pmd: " JiangYuX
@ 2020-10-23 15:48 ` JiangYuX
2020-10-29 8:10 ` Ma, LihongX
2 siblings, 1 reply; 5+ messages in thread
From: JiangYuX @ 2020-10-23 15:48 UTC (permalink / raw)
To: dts; +Cc: JiangYu
From: JiangYu <yux.jiang@intel.com>
For DPDK commit: b0b672aea, PMD_PCAP has been defined by default, should not redefine.
Signed-off-by: JiangYu <yux.jiang@intel.com>
---
tests/TestSuite_vm2vm_virtio_user.py | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/tests/TestSuite_vm2vm_virtio_user.py b/tests/TestSuite_vm2vm_virtio_user.py
index d2dfb97..b35dc60 100644
--- a/tests/TestSuite_vm2vm_virtio_user.py
+++ b/tests/TestSuite_vm2vm_virtio_user.py
@@ -99,11 +99,13 @@ class TestVM2VMVirtioUser(TestCase):
"""
enable pcap lib in dpdk code and recompile
"""
- client_dut.send_expect("sed -i 's/%s=n$/%s=y/' config/common_base" % (
+ if self.dut.build_type == 'makefile':
+ client_dut.send_expect("sed -i 's/%s=n$/%s=y/' config/common_base" % (
self.config_value, self.config_value), '# ')
- client_dut.set_build_options({'RTE_LIBRTE_PMD_PCAP': 'y'})
- client_dut.build_install_dpdk(self.target)
- self.rebuild_flag = True
+ client_dut.build_install_dpdk(self.target)
+ self.rebuild_flag = True
+ else:
+ self.rebuild_flag = False
def disable_pcap_lib_in_dpdk(self, client_dut):
"""
--
2.7.4
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [dts] [PATCH V1 2/2] tests/TestSuite_vm2vm_virtio_user: Adapt RTE_LIBRTE_PMD_PCAP updates
2020-10-23 15:48 ` [dts] [PATCH V1 2/2] tests/TestSuite_vm2vm_virtio_user: " JiangYuX
@ 2020-10-29 8:10 ` Ma, LihongX
0 siblings, 0 replies; 5+ messages in thread
From: Ma, LihongX @ 2020-10-29 8:10 UTC (permalink / raw)
To: Jiang, YuX, dts; +Cc: Jiang, YuX
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of JiangYuX
> Sent: Friday, October 23, 2020 11:48 PM
> To: dts@dpdk.org
> Cc: Jiang, YuX <yux.jiang@intel.com>
> Subject: [dts] [PATCH V1 2/2] tests/TestSuite_vm2vm_virtio_user: Adapt
> RTE_LIBRTE_PMD_PCAP updates
>
> From: JiangYu <yux.jiang@intel.com>
>
> For DPDK commit: b0b672aea, PMD_PCAP has been defined by default, should
> not redefine.
>
> Signed-off-by: JiangYu <yux.jiang@intel.com>
> ---
> tests/TestSuite_vm2vm_virtio_user.py | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/tests/TestSuite_vm2vm_virtio_user.py
> b/tests/TestSuite_vm2vm_virtio_user.py
> index d2dfb97..b35dc60 100644
> --- a/tests/TestSuite_vm2vm_virtio_user.py
> +++ b/tests/TestSuite_vm2vm_virtio_user.py
> @@ -99,11 +99,13 @@ class TestVM2VMVirtioUser(TestCase):
> """
> enable pcap lib in dpdk code and recompile
> """
> - client_dut.send_expect("sed -i 's/%s=n$/%s=y/'
> config/common_base" % (
> + if self.dut.build_type == 'makefile':
> + client_dut.send_expect("sed -i 's/%s=n$/%s=y/'
> config/common_base" % (
> self.config_value, self.config_value), '# ')
> - client_dut.set_build_options({'RTE_LIBRTE_PMD_PCAP': 'y'})
> - client_dut.build_install_dpdk(self.target)
> - self.rebuild_flag = True
> + client_dut.build_install_dpdk(self.target)
> + self.rebuild_flag = True
> + else:
> + self.rebuild_flag = False
>
> def disable_pcap_lib_in_dpdk(self, client_dut):
> """
> --
> 2.7.4
As now makefile have been remove from dpdk, I think you can delete them directly.
Regards,
Ma,lihong
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-10-29 8:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-23 15:48 [dts] [PATCH V1 0/2] Adapt RTE_LIBRTE_PMD_PCAP updates JiangYuX
2020-10-23 7:53 ` Jiang, YuX
2020-10-23 15:48 ` [dts] [PATCH V1 1/2] tests/TestSuite_vm2vm_virtio_pmd: " JiangYuX
2020-10-23 15:48 ` [dts] [PATCH V1 2/2] tests/TestSuite_vm2vm_virtio_user: " JiangYuX
2020-10-29 8:10 ` Ma, LihongX
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).