From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 0AB8A1B319 for ; Thu, 2 Nov 2017 09:22:00 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 25967806A9; Thu, 2 Nov 2017 08:22:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 25967806A9 Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=maxime.coquelin@redhat.com Received: from [10.36.112.50] (ovpn-112-50.ams2.redhat.com [10.36.112.50]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 820936061B; Thu, 2 Nov 2017 08:21:52 +0000 (UTC) To: "Yao, Lei A" , "dev@dpdk.org" , "Horton, Remy" , "Bie, Tiwei" , "yliu@fridaylinux.org" Cc: "mst@redhat.com" , "jfreiman@redhat.com" , "vkaplans@redhat.com" , "jasowang@redhat.com" References: <20171005083627.27828-1-maxime.coquelin@redhat.com> <20171005083627.27828-18-maxime.coquelin@redhat.com> <2DBBFF226F7CF64BAFCA79B681719D953A2CD10A@shsmsx102.ccr.corp.intel.com> From: Maxime Coquelin Message-ID: <8d27d7d9-9567-1a57-5a5f-760f2f117b73@redhat.com> Date: Thu, 2 Nov 2017 09:21:50 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <2DBBFF226F7CF64BAFCA79B681719D953A2CD10A@shsmsx102.ccr.corp.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Thu, 02 Nov 2017 08:22:00 +0000 (UTC) Subject: Re: [dpdk-dev] [PATCH v3 17/19] vhost-user: iommu: postpone device creation until ring are mapped 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: , X-List-Received-Date: Thu, 02 Nov 2017 08:22:01 -0000 Hi Lei, On 11/02/2017 08:21 AM, Yao, Lei A wrote: > ... > Hi, Maxime > I met one issue with your patch set during the v17.11 test. Is it with v17.11-rc2 or -rc1? > The test scenario is following, > 1. Bind one NIC, use test-pmd set vhost-user with 2 queue > usertools/dpdk-devbind.py --bind=igb_uio 0000:05:00.0 > ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xe -n 4 --socket-mem 1024,1024 \ > --vdev 'net_vhost0,iface=vhost-net,queues=2' - -i --rxq=2 --txq=2 --nb-cores=2 --rss-ip > 2. Launch qemu with virtio device which has 2 queue > 3. In VM, launch testpmd with virtio-pmd using only 1 queue. > x86_64-native-linuxapp-gcc/app/testpmd -c 0x07 -n 3 - -i --txqflags=0xf01 \ > --rxq=1 --txq=1 --rss-ip --nb-cores=1 > > First, > commit 09927b5249694bad1c094d3068124673722e6b8f > vhost: translate ring addresses when IOMMU enabled > The patch causes no traffic in PVP test. but link status is still up in vhost-user. > > Second, > eefac9536a901a1f0bb52aa3b6fec8f375f09190 > vhost: postpone device creation until rings are mapped > The patch causes link status "down" in vhost-user. > > Could you have a check at your side? Thanks. Sure, could you please on your side provide more info? 1. Host testpmd logs 2. Qemu version and cmdline Thanks, Maxime > BRs > Lei >