From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09519C4346E for ; Thu, 24 Sep 2020 05:20:22 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 61984235FD for ; Thu, 24 Sep 2020 05:20:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 61984235FD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=dpdk.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ECE101DCF8; Thu, 24 Sep 2020 07:20:19 +0200 (CEST) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id 9F1F21DB40 for ; Thu, 24 Sep 2020 07:20:18 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 73D39A04B5; Thu, 24 Sep 2020 07:20:18 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Thu, 24 Sep 2020 05:20:18 +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: 20.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yux.jiang@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 541] [dpdk-20.11] loopback_virtio_user_server_mode/Basic_test_for_packed_ring_server_mode: loopback throughput is zero X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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=3D541 Bug ID: 541 Summary: [dpdk-20.11] loopback_virtio_user_server_mode/Basic_test_for_packed _ring_server_mode: loopback throughput is zero Product: DPDK Version: 20.11 Hardware: All OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: vhost/virtio Assignee: dev@dpdk.org Reporter: yux.jiang@intel.com Target Milestone: --- DPDK version:=20 DPDK commit: 46697431adcba206fd5222361bc73c5cf9042a86 DPDK Comment: test/ring: enhance debug info in failure cases DPDK Version: 20.11.0-rc0=20 OS: Ubuntu20.04.1 LTS (Focal Fossa)/5.4.0-47-generic Compiler: gcc version 9.3.0 Hardware platform: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz Test Setup: Steps to reproduce: 0, Build DPDK with meson & ninja CC=3Dgcc meson --werror -Denable_kmods=3DTrue -Dlibdir=3Dlib -Dc_args=3D'-DRTE_LIBRTE_PMD_PCAP=3D1' --default-library=3Dstatic x86_64-native-linuxapp-gcc ninja -C x86_64-native-linuxapp-gcc -j 110 Test Case 1: Basic test for packed ring server mode =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D 1. Launch virtio-user as server mode:: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci --file-prefix=3Dvirtio \ =20=20=20 --vdev=3Dnet_virtio_user0,mac=3D00:11:22:33:44:10,path=3D/tmp/sock0,server= =3D1,queues=3D1,packed_vq=3D1 -- -i --rxq=3D1 --txq=3D1 --no-numa >set fwd mac >start 2. Launch vhost as client mode:: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 3-4 -n 4 --no-pci --file-prefix=3Dvhost \ --vdev 'net_vhost0,iface=3D/tmp/sock0,client=3D1,queues=3D1' -- -i --rx= q=3D1 --txq=3D1 --nb-cores=3D1 >set fwd mac >start tx_first 32 3. Run below command to get throughput,verify the loopback throughput is not zero:: testpmd>show port stats all Show the output from the previous commands: dut.10.240.183.214_vhost: show port stats all dut.10.240.183.214_vhost: ######################## NIC statistics for port 0 #####################= ### RX-packets: 0 RX-missed: 0 RX-bytes: 0 RX-errors: 0 RX-nombuf: 0 TX-packets: 0 TX-errors: 0 TX-bytes: 0 Throughput (since last show) Rx-pps: 0 Rx-bps: 0 Tx-pps: 0 Tx-bps: 0 #########################################################################= ### [Expected result] lookback throughput should not be zero. [Bad commit]=20 commit 57912824615fd7787a48a7b18e406614664b73f1 (HEAD -> 579128246) Author: Maxime Coquelin Date: Wed Aug 5 16:45:15 2020 +0200 net/virtio-user: support vhost status setting This patch adds support for VHOST_USER_SET_STATUS request. It is used to make the backend aware of Virtio devices status update. It is useful for the backend to know when the Virtio driver is done with the Virtio device configuration. Reviewed-by: Chenbo Xia Signed-off-by: Maxime Coquelin Signed-off-by: Adrian Moreno --=20 You are receiving this mail because: You are the assignee for the bug.=