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 656CAA0A0B; Sun, 31 Jan 2021 10:07:48 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DDD3D40693; Sun, 31 Jan 2021 10:07:47 +0100 (CET) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id B993140692 for ; Sun, 31 Jan 2021 10:07:46 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 9700FA0A0D; Sun, 31 Jan 2021 10:07:46 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Sun, 31 Jan 2021 09:07:46 +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: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: junx.w.zhou@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 630] [DPDK 21.02] hotplug_mp/attach_detach_virtio_user: The host display is abnormal after dpdk-hotplug_mp exits 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=3D630 Bug ID: 630 Summary: [DPDK 21.02] hotplug_mp/attach_detach_virtio_user: The host display is abnormal after dpdk-hotplug_mp exits Product: DPDK Version: unspecified Hardware: All OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: vhost/virtio Assignee: dev@dpdk.org Reporter: junx.w.zhou@intel.com Target Milestone: --- Environment DPDK version: Use make showversion or for a non-released version: git remot= e -v && git show-ref --heads 21.02.0-rc2: 3021257a8111d204dc7741bd67a2502efffb6842 Other software versions: name/version for QEMU, OVS, etc. Repeat as require= d. OS:=C2=A0Fedora release 33 (Thirty Three)(5.9.10-200.fc33.x86_64) Compiler:=C2=A0gcc (GCC) 10.2.1 20201016 (Red Hat 10.2.1-6) Hardware platform:=C2=A0Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz NIC hardware: FVL_eagle(Ethernet Controller X710 for 10GbE SFP+ 1572) NIC firmware:=C2=A0 driver: i40e version: 2.14.13 firmware-version: 8.00 0x80008b82 1.2766.0 Test Setup Steps to reproduce List the steps to reproduce the issue. 1.compile hotplug_mp meson configure -Dexamples=3Dmulti_process/hotplug_mp x86_64-native-linuxap= p-gcc ninja -C x86_64-native-linuxapp-gcc 2.bind port on vfio-pci usertools/dpdk-devbind.py --force --bind=3Di40e 0000:84:00.0 0000:84:00.1 3.launch testpmd x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1,2 -n 4=20=20 --file-prefix=3Dvhost_9552_20210131070840 --no-pci --vdev eth_vhost0,iface=3D/home/vhost-net -- -i 4.launch dpdk-hotplug_mp in another session x86_64-native-linuxapp-gcc/examples/dpdk-hotplug_mp --proc-type=3Dauto 5.execute cmd in dpdk-hotplug_mp 1)attach net_virtio_user0,mac=3D00:01:02:03:04:05,path=3D/home/vhost-net,packed_vq= =3D1,mrg_rxbuf=3D1,in_order=3D0 2)detach net_virtio_user0 Show the output from the previous commands. dpdk-hotplug_mp exits but the host display is abnormal Expected Result Explain what is the expected result in text or as an example output: dpdk-hotplug_mp not exits or dpdk-hotplug_mp exits and the host display is normal Regression Is this issue a regression: (Y) Version the regression was introduced:=C2=A0 commit 949735312f5ecb11110e4eec2ece1a20fef99295 Author: Maxime Coquelin Date: Tue Jan 26 11:16:35 2021 +0100 net/virtio: move vhost-user specifics to its backend This patch moves all the Vhost-user backend specific logic like Vhost FD, listen FD and interrupt handling to the vhost-user backend implementation. In order to achieve that, new ops are created to update the link status, disconnect and reconnect the server, and fetch the link state interrupt FD. Signed-off-by: Maxime Coquelin Reviewed-by: Chenbo Xia --=20 You are receiving this mail because: You are the assignee for the bug.=