From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9INQKGPui8+b93JG1JuTZ9tEE1GACVgWmVEVr/zFcx4=; b=ViLXk96IJUV3xq7Qkn78VQLJX2kqEulKilGKp6cH8dsnwijN1GAWEZRxb/Cw3m9Hxk aujtpATVCPXKoBozYCZyW9eVMXGoBbdnurzstkxdcEM5cGgqzlGGxiyHe54F6qr+TVPg KvLSnq/HEwOUPIWicJXfA9cYFAOyXCcC8e42IUba9BAF0jYESzdzUANBkJe5cmOEkTbj Ise0mLdzAxMCvFOuc+yux8MSwa8q3VOq7PacfsOhNfH2gSag8mbuGziEMQk7nbmVz7yQ lpsYjk3yBlNDFg3ldCcBbWKGnEth68q1ONRFnUGbu8PIj01bg3ATIgqJq2xuGPbMnlwR 3NjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9INQKGPui8+b93JG1JuTZ9tEE1GACVgWmVEVr/zFcx4=; b=VbTPSlTWZOLUSGfmlgo9jyvO7SjiEAJ4RJucl/NG9l/wf7p3474+BXK2ZtKs/zo1wV JQEjabHY8RnC7cHlMxIjrB9Q/j+l9ZTjR3Ka8RXpq8+Ot4XDKMWrVI9QdllecLikqWYZ Sz9bd123a/EnXOQayVpf9stALNtSlxXnmshIomeBiJlsx9xRkzM7xiBsf5MZsGFRCxLZ nor1YUCXzZP0rJmYs7/coQHLQ3YYs1eBXdc40avQAzC1OnbTbjQrlnpDrf5SOF9s0X0V Q+lEYnLi3hGg5KXR3UoSUPk6svqZukN4/i5gv4qBvygGG4t0lp7lSjGzQXXaPrF81/ND xchw== X-Gm-Message-State: AA+aEWZF8xhQR0QyTleouHheFZmLrd0mRBPOOgMTudro0Po4dounrkFX X6mm1vxuLvQq79zFyQwf2XMzTw== X-Google-Smtp-Source: AFSGD/Un0Jkwkz76vLVoXtvfYpT/o6mRHtatCiNOyGOL3as8i5SodqX5I0fUzbGjqEhN0ewJ1PgDQA== X-Received: by 2002:a62:3241:: with SMTP id y62mr20726569pfy.178.1543942142305; Tue, 04 Dec 2018 08:49:02 -0800 (PST) Received: from shemminger-XPS-13-9360 ([64.124.208.80]) by smtp.gmail.com with ESMTPSA id v62sm34273924pfd.163.2018.12.04.08.49.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 04 Dec 2018 08:49:01 -0800 (PST) Date: Tue, 4 Dec 2018 08:48:58 -0800 From: Stephen Hemminger To: Mohammed Gamal Cc: Mohammed Gamal , dev@dpdk.org, maxime coquelin , Yuhui Jiang , Wei Shi Message-ID: <20181204084858.03ecdf98@shemminger-XPS-13-9360> In-Reply-To: <1879110132.59852748.1543604812639.JavaMail.zimbra@redhat.com> 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 Subject: Re: [dpdk-dev] Problems running netvsc multiq 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: Tue, 04 Dec 2018 16:49:03 -0000 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.