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 1B4B41B1F5 for ; Tue, 4 Dec 2018 17:56:19 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 300F8307D913; Tue, 4 Dec 2018 16:56:18 +0000 (UTC) Received: from ovpn-112-74.ams2.redhat.com (ovpn-112-74.ams2.redhat.com [10.36.112.74]) by smtp.corp.redhat.com (Postfix) with ESMTP id 26C0B5D785; Tue, 4 Dec 2018 16:56:12 +0000 (UTC) Message-ID: <1543942571.5400.38.camel@redhat.com> From: Mohammed Gamal To: Stephen Hemminger Cc: dev@dpdk.org, maxime coquelin , Yuhui Jiang , Wei Shi Date: Tue, 04 Dec 2018 17:56:11 +0100 In-Reply-To: <20181204084858.03ecdf98@shemminger-XPS-13-9360> References: <1543575881.5400.33.camel@redhat.com> <20181130102756.41332fc2@xeon-e3> <1879110132.59852748.1543604812639.JavaMail.zimbra@redhat.com> <20181204084858.03ecdf98@shemminger-XPS-13-9360> Organization: Red Hat Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Tue, 04 Dec 2018 16:56:18 +0000 (UTC) Subject: Re: [dpdk-dev] Problems running netvsc multiq X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: mgamal@redhat.com List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2018 16:56:19 -0000 On Tue, 2018-12-04 at 08:48 -0800, Stephen Hemminger wrote: > On Fri, 30 Nov 2018 14:06:52 -0500 (EST) > Mohammed Gamal wrote: > > > ----- Stephen Hemminger wrote: > > > On Fri, 30 Nov 2018 12:04:41 +0100 > > > Mohammed Gamal wrote: > > >    > > > > Hi All, > > > > I am having the following errors when I run testpmd with the > > > > netvsc > > > > driver and --txq 2 and --rxq 2 options: > > > > > > > > testpmd: create a new mbuf pool : n=155456, > > > > size=2176, socket=0 > > > > testpmd: preferred mempool ops selected: ring_mp_mc > > > > Configuring Port 0 (socket 0)   > > > > hn_dev_configure():  >>     > > > > hn_rndis_link_status(): link status 0x40020006 > > > > hn_subchan_configure(): open 1 subchannels > > > > vmbus_uio_get_subchan(): invalid subchannel id 0 > > > > hn_subchan_configure(): open subchannel failed: -5 > > > > hn_dev_configure(): subchannel configuration failed > > > > Port0 dev_configure = -5   > > > > hn_dev_rx_queue_release():  >> > > > > hn_dev_rx_queue_release():  >> > > > > hn_dev_tx_queue_release():  >> > > > > hn_dev_tx_queue_release():  >>     > > > > Fail to configure port 0 > > > > EAL: Error - exiting with code: 1 > > > >   Cause: Start ports failed > > > > > > > > Multiq support was enabled and kernel module was loaded. The > > > > full > > > > command line was: > > > > ./testpmd -l 0-1 -n 2 --log-level=8 --log-level='pmd.*,8' -- > > > > log- > > > > level='bus.vmbus,8' -- --port-topology=chained --forward- > > > > mode=rxonly -- > > > > stats-period 1 --eth-peer=0,00:15:5d:1e:20:c0 --txq 2 --rxq 2 > > > > > > > > I am running latest upstream kernel from the Linus tree and > > > > latest DPDK > > > > upstream from git.dpdk.org. > > > > > > > > Could you also reproduce this? If not, what could I be > > > > misssing? > > > > > > > > Regards, > > > > Mohammed   > > > > > > Investigating now. > > > Does single queue work for  you?   > > > > Yes it does. > > What version of Windows are you running on?  Multi-queue requires > WS2016 or later. > The driver is missing a check of NDIS version, will add that. I am running WS2016