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 2AC2BA0C45; Wed, 4 Aug 2021 09:01:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E94C940696; Wed, 4 Aug 2021 09:01:24 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 549014014F for ; Wed, 4 Aug 2021 09:01:23 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 42ABDA0C4D; Wed, 4 Aug 2021 09:01:23 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Wed, 04 Aug 2021 07:01:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: vhost/virtio X-Bugzilla-Version: 21.08 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 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 772] [dpdk-21.08] vswitch_sample_cbdma/vm2vm_fwd_test_with_two_cbdma_channels: forward 8k packet failed when relaunch dpdk-vhost 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=3D772 Bug ID: 772 Summary: [dpdk-21.08] vswitch_sample_cbdma/vm2vm_fwd_test_with_two_cbdma_cha nnels: forward 8k packet failed when relaunch dpdk-vhost Product: DPDK Version: 21.08 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: vhost/virtio Assignee: dev@dpdk.org Reporter: weix.ling@intel.com Target Milestone: --- Environment DPDK version:=20 21.08-rc2:02e077f35dbc9821dfcb32714ad1096a3ee58d08 Other software versions: name/version for QEMU, OVS, etc. Repeat as require= d. OS: Ubuntu 20.04.2 LTS/Linux 5.11.16-051116-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: Controller XL710 for 40GbE QSFP+ [8086:1583] FVL-40g NIC firmware & driver:=20 driver: i40e version: 5.11.16-051116-generic firmware-version: 8.30 0x8000a4ae 1.2926.0 Test Setup Steps to reproduce List the steps to reproduce the issue. 1. Bind 1 40G NIC port and 2 CBDMA to igb_uio dpdk-devbind.py --force --bind=3Digb_uio 0000:af:00.0 0000:80:04.0 0000:80:= 04.1 2. Start the dpdk-vhost x86_64-native-linuxapp-gcc/examples/dpdk-vhost -c 0x30000000 -n 4 -a 0000:af:00.0 -a 0000:80:04.0 -a 0000:80:04.1 -- -p 0x1 --mergeable 1 --vm2v= m 1 --dma-type ioat --stats 1 --socket-file ./vhost-net0 --socket-file ./vhost-= net1 --dmas [txd0@0000:80:04.0,txd1@0000:80:04.1] --client 3. Start virtio-user0: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 30,31 -n 4=20 --file-prefix=3Dtestpmd0 --no-pci=20 --vdev=3Dnet_virtio_user0,mac=3D00:11:22:33:44:10,path=3D./vhost-net0,queue= s=3D1,mrg_rxbuf=3D1,in_order=3D0,vectorized=3D1,packed_vq=3D1,server=3D1 -- -i --rxq=3D1 --txq=3D1 --txd=3D1024 --rxd=3D1024 --nb-cores=3D1 4. Start virtio-user1: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 32,33 -n 4=20 --file-prefix=3Dtestpmd1 --no-pci=20 --vdev=3Dnet_virtio_user0,mac=3D00:11:22:33:44:11,path=3D./vhost-net1,queue= s=3D1,mrg_rxbuf=3D1,in_order=3D0,vectorized=3D1,server=3D1 -- -i --rxq=3D1 --txq=3D1 --txd=3D1024 --rxd=3D1024 --nb-cores=3D1 5. Set fwd mode and start tx_first on virtio-user0: set fwd mac start tx_first stop set eth-peer 0 00:11:22:33:44:11 start 6. Set fwd mode and start tx_first and send 8k packets on virtio-user1: set fwd mac set eth-peer 0 00:11:22:33:44:10 stop Show the output from the previous commands. 1. After execute setp 6, the stats on virtio-user1 as follows: testpmd> show port stats all ######################## NIC statistics for port 0 #####################= ### RX-packets: 62880 RX-missed: 0 RX-bytes: 503040000 RX-errors: 0 RX-nombuf: 0 TX-packets: 62912 TX-errors: 0 TX-bytes: 503296000 Throug= hput (since last show) Rx-pps: 113595 Rx-bps: 7270099464 Tx-pps: 113595 Tx-bps: 7270099464 #########################################################################= ### 2. After execute setp 13, the stats on virtio-user1 as follows: testpmd> show port stats all ######################## NIC statistics for port 0 #####################= ### RX-packets: 32 RX-missed: 0 RX-bytes: 256000 RX-errors: 0 RX-nombuf: 0 TX-packets: 32 TX-errors: 0 TX-bytes: 256000 Throughput (since last show) Rx-pps: 0 Rx-bps: 0 Tx-pps: 0 Tx-bps: 0 #########################################################################= ### Expected Result Explain what is the expected result in text or as an example output: 1. After execute setp 6, the stats on virtio-user1 expected as follows: testpmd> show port stats all ######################## NIC statistics for port 0 #####################= ### RX-packets: 62880 RX-missed: 0 RX-bytes: 503040000 RX-errors: 0 RX-nombuf: 0 TX-packets: 62912 TX-errors: 0 TX-bytes: 503296000 Throug= hput (since last show) Rx-pps: 113595 Rx-bps: 7270099464 Tx-pps: 113595 Tx-bps: 7270099464 #########################################################################= ### 2. After execute setp 13, the stats on virtio-user1 expected as follows: testpmd> show port stats all ######################## NIC statistics for port 0 #####################= ### RX-packets: 62880 RX-missed: 0 RX-bytes: 503040000 RX-errors: 0 RX-nombuf: 0 TX-packets: 62912 TX-errors: 0 TX-bytes: 503296000 Throug= hput (since last show) Rx-pps: 113595 Rx-bps: 7270099464 Tx-pps: 113595 Tx-bps: 7270099464 #########################################################################= ### --=20 You are receiving this mail because: You are the assignee for the bug.=