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 CAAC3A0547; Wed, 27 Oct 2021 08:27:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B60AD410F4; Wed, 27 Oct 2021 08:27:03 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id D5CE6410F2 for ; Wed, 27 Oct 2021 08:27:01 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id BDF11A0C45; Wed, 27 Oct 2021 08:27:01 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Wed, 27 Oct 2021 06:27:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: other X-Bugzilla-Version: 21.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: weix.ling@intel.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 840] [dpdk-21.11] vm2vm_virtio_user/vm2vm_virtio_user_split_virtqueue_mergeable_path: dpdk-pdump capture the pcap file content are wrong X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" https://bugs.dpdk.org/show_bug.cgi?id=3D840 Bug ID: 840 Summary: [dpdk-21.11] vm2vm_virtio_user/vm2vm_virtio_user_split_virtqueue_me rgeable_path: dpdk-pdump capture the pcap file content are wrong Product: DPDK Version: 21.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: other Assignee: dev@dpdk.org Reporter: weix.ling@intel.com Target Milestone: --- Created attachment 173 --> https://bugs.dpdk.org/attachment.cgi?id=3D173&action=3Dedit wrong content in pcap file Environment DPDK version:=20 DPDK-21.11-rc1:6c390cee976e33b1e9d8562d32c9d3ebe5d9ce94 Other software versions: N/A OS: Ubuntu 20.04.3 LTS/Linux 5.8.0-48-generic Compiler: gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04) Hardware platform: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz NIC hardware: Intel Corporation Ethernet Controller XL710 for 40GbE QSFP+ (= rev 02)=20 NIC firmware & driver:=20 driver: i40e version: 2.17.1 firmware-version: 8.30 0x8000a4ae 1.2926.0 Test Setup Steps to reproduce List the steps to reproduce the issue. 1. Start vhost-user: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1,2 -n 4=20 --file-prefix=3Dvhost_28751_20211027111543 --no-pci --vdev 'net_vhost0,iface=3D./vhost-net0,queues=3D1' --vdev 'net_vhost1,iface=3D./vhost-net1,queues=3D1' -- -i --nb-cores=3D1 --no-flu= sh-rx testpmd> set fwd io 2. Start virtio-user1: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 5,6 -n 4 --file-prefix=3Dvi= rtio1 --no-pci --socket-mem 1024,1024 --vdev=3Dnet_virtio_user1,mac=3D00:01:02:03:04:05,path=3D./vhost-net1,queue= s=3D1,packed_vq=3D0,mrg_rxbuf=3D1,in_order=3D0,queue_size=3D256 --single-file-segments -- -i --nb-cores=3D1 --txd=3D256 --rxd=3D256 testpmd> set fwd rxonly testpmd> start 3. Start pdump-user: x86_64-native-linuxapp-gcc/app/dpdk-pdump -l 1,2 -n 4 --file-prefix=3Dvi= rtio1=20 -v -- --pdump=20 'device_id=3Dnet_virtio_user1,queue=3D*,rx-dev=3D/tmp/pdump-virtio-rx.pcap,= mbuf-size=3D8000' 4. Start virtio-user0 and send 251 64B size packets and send 5 8k size pack= ets: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 3,4 -n 4 --file-prefix=3Dvi= rtio0 --no-pci --socket-mem 1024,1024 --vdev=3Dnet_virtio_user0,mac=3D00:01:02:03:04:05,path=3D./vhost-net0,queue= s=3D1,packed_vq=3D0,mrg_rxbuf=3D1,in_order=3D0,queue_size=3D256 --single-file-segments -- -i --nb-cores=3D1 --txd=3D256 --rxd=3D256 testpmd> set burst 1 testpmd> start tx_first 27 testpmd> stop testpmd> set burst 32 testpmd> start tx_first 7 testpmd> stop testpmd> set burst 32 testpmd> set txpkts 2000,2000,2000,2000 testpmd> start tx_first 1 5. Send start command in vhost-user testpmd: testpmd> start 6. Send 32 2k pakckets from virtio-user0: testpmd> stop testpmd> set burst 32 testpmd> set txpkts 2000 testpmd> start tx_first 1 7. Send Ctrl + C command to stop the pdump and quit command to quit the vhost-user, virtio-user1 and virtio-user0 8. Check the content in the dpdk-pdump caputer file /tmp/pdump-virtio-rx.pc= ap. Show the output from the previous commands. The content in the /tmp/pdump-virtio-rx.pcap file are wrong. View attachment pdump-virtio-rx_bug.pcap for more details. Expected Result Explain what is the expected result in text or as an example output: The content in the /tmp/pdump-virtio-rx.pcap file are wrong, it clude 251 6= 4B size packets, 5 8k size packets and 32 2k size packets, total 288 packets. Regression Is this issue a regression: (Y) Version the regression was introduced: Specify git id if known. commit 10f726efe26c55805cf0bf6ca1b80e97b98eb724 //bad commit id Author: Stephen Hemminger commit 745b7587f9e52a4df2121d7214346853b4baf5ed //build faild commit 2eccf6afbea99dcabb9843c48088097796be8a33 //build faild commit 80da61198b6be66ab16964eb0944c79c0325c40e //build faild commit 8dd1a4e4ff402c970c45003542c17e1e3501c540 //build faild commit 7a944656b33fe24031f5574860eb81871403d5e3 //build faild commit 8d23ce8f5ee9f34acd1646b01ae6d862f5fd2aa2 //good commit id --=20 You are receiving this mail because: You are the assignee for the bug.=