From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: Problems running netvsc multiq Date: Tue, 4 Dec 2018 08:48:58 -0800 Message-ID: <20181204084858.03ecdf98@shemminger-XPS-13-9360> References: <1543575881.5400.33.camel@redhat.com> <20181130102756.41332fc2@xeon-e3> <1879110132.59852748.1543604812639.JavaMail.zimbra@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Mohammed Gamal , dev@dpdk.org, maxime coquelin , Yuhui Jiang , Wei Shi To: Mohammed Gamal Return-path: Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) by dpdk.org (Postfix) with ESMTP id 6C8DD1B1E6 for ; Tue, 4 Dec 2018 17:49:03 +0100 (CET) Received: by mail-pg1-f172.google.com with SMTP id 80so7625769pge.4 for ; Tue, 04 Dec 2018 08:49:03 -0800 (PST) In-Reply-To: <1879110132.59852748.1543604812639.JavaMail.zimbra@redhat.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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: > > =20 > > > Hi All, > > > I am having the following errors when I run testpmd with the netvsc > > > driver and --txq 2 and --rxq 2 options: > > >=20 > > > testpmd: create a new mbuf pool : n=3D155456, > > > size=3D2176, socket=3D0 > > > testpmd: preferred mempool ops selected: ring_mp_mc > > > Configuring Port 0 (socket 0) =20 > > > hn_dev_configure():=C2=A0=C2=A0>> =20 > > > 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 =3D -5 =20 > > > hn_dev_rx_queue_release():=C2=A0=C2=A0>> > > > hn_dev_rx_queue_release():=C2=A0=C2=A0>> > > > hn_dev_tx_queue_release():=C2=A0=C2=A0>> > > > hn_dev_tx_queue_release():=C2=A0=C2=A0>> =20 > > > Fail to configure port 0 > > > EAL: Error - exiting with code: 1 > > > =C2=A0 Cause: Start ports failed > > >=20 > > > Multiq support was enabled and kernel module was loaded. The full > > > command line was: > > > ./testpmd -l 0-1 -n 2 --log-level=3D8 --log-level=3D'pmd.*,8' --log- > > > level=3D'bus.vmbus,8' -- --port-topology=3Dchained --forward-mode=3Dr= xonly -- > > > stats-period 1 --eth-peer=3D0,00:15:5d:1e:20:c0 --txq 2 --rxq 2 > > >=20 > > > I am running latest upstream kernel from the Linus tree and latest DP= DK > > > upstream from git.dpdk.org. > > >=20 > > > Could you also reproduce this? If not, what could I be misssing? > > >=20 > > > Regards, > > > Mohammed =20 > >=20 > > Investigating now. > > Does single queue work for you? =20 >=20 > 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.