From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa0-x233.google.com (mail-oa0-x233.google.com [IPv6:2607:f8b0:4003:c02::233]) by dpdk.org (Postfix) with ESMTP id 954E8156 for ; Wed, 27 Nov 2013 13:48:55 +0100 (CET) Received: by mail-oa0-f51.google.com with SMTP id i7so7612708oag.10 for ; Wed, 27 Nov 2013 04:49:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Gffx5LlKfk7NtE1mMZAziLLbbPxYpspFKj2Z6lDVKnc=; b=zSmgEmrmMNvRvlXHrtIWFERySWFhuQxC4kxNFwasgkAR15rpPYoJ3brEFCJNZbUC8Z TAX4U8Z+UkvEBlf6t0Xf6bQM+KEqvh3U+IcyWLfQD7cSKzE1mlJHy4CfOTIqQfpW4uaz hG3LGLv8CH59X4eBjBnI8WzBGd845z9R0C4i7Lvcxy9R8Jz6kXDvIbp4jpgX++clAU/2 Fmb+AhsSGj/9DsBMaDp+oeyNbdyvtgOCNH4YyzvLNXyuBgJpdilQWpmXhIPOQKhkkr35 wvDrE5HeRjUldWlPD7N4AHJSsNgIkPAMNy62RzurES+NusSNeCvgzWMZWBvDkPGR0wpy f94g== MIME-Version: 1.0 X-Received: by 10.182.66.164 with SMTP id g4mr10695894obt.47.1385556595321; Wed, 27 Nov 2013 04:49:55 -0800 (PST) Received: by 10.182.118.66 with HTTP; Wed, 27 Nov 2013 04:49:55 -0800 (PST) In-Reply-To: References: <5295CFA4.1060100@cas-well.com> Date: Wed, 27 Nov 2013 20:49:55 +0800 Message-ID: From: yuxuan zhang To: =?GB2312?B?WmFjaGFyeS5KZW4gKLqG4+u6sikgOiA2MzA1?= Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Cannot run l3fwd with the problem of " nb_tx_queues" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Nov 2013 12:48:56 -0000 Hi, The problem is that E1000 NIC only support 1 TX queue ,the dpdk will change the max TX queue number in eth_em_infos_get() function the when you call the rte_eth_dev_configure() function .If you want to run l3fwd program on e1000 NIC correctly, you should modify the l3fwd by using only one TX queue per lcore. 2013/11/27 Jose Gavine Cueto > Hi yuxuan, > > Yes, by experience I've successfully run dpdk with a virtualbox vm using = an > e1000 NIC. I'm not totally sure about the capabilities of the e1000 NIC > but based on the error you've mentioned, it seems that it can only suppor= t > 1 TX queue. > > "Now, I can use only one logic core to run the app and the performance of > l3fwd is undesirable." > > This shows that dpdk can run successfully with 1 TX queue only because > probably your e1000 NIC only supports 1 queue. > > Cheers, > Pepe > > > On Wed, Nov 27, 2013 at 6:58 PM, Zachary.Jen (=BA=86=E3=EB=BA=B2) : 6305 = < > Zachary.Jen@cas-well.com> wrote: > > > Hi, > > > > I also have the same question in l3fwd example. > > I guess may DPDK don't support the chip-set so that we got this error > msg. > > > > In my system, I have 2 kinds of chip-set, 82580 & 82574L. > > If I use l3fwd -c 3 -n 1 -- -p 3 --config '(0,0,0),(1,0,1)' in 82574L, > > it will get the error msg. > > But when I change my card with 82580 and use the same command to execut= e > > DPDK l3fwd. > > It's working. > > > > So, maybe the root cause is the DPDK does not support your chip-set and > > send out this error msg. > > > > On 11/14/2013 04:31 PM, Jose Gavine Cueto wrote: > > > Hi, > > > > > > Your nic (port 0) is capable of 1 txq only see error: > > > > > > " port_id=3D0 nb_tx_queues=3D2 > 1" > > > > > > I think that caused the error. > > > > > > Cheers, > > > Pepe > > > > > > > > > On Thu, Nov 14, 2013 at 1:21 PM, yuxuan zhang > >wrote: > > > > > >> Hi Everyone: > > >> > > >> I meet a problem with running the DPDK1.3 example l3fwd in the > VMware. I > > >> have two 82545EM NIC to run the l3fwd and the OS is Cent6.4. But l3f= wd > > >> cannot be configured port correctly .I start the l3fwd with followin= g > > >> command: > > >> > > >> ./build/l3fwd -c 0x3 -n 2 -- -p 0x3 --config=3D"(0,0,0),(1,0,1= )" > > >> > > >> However, I get following errors with debug info: > > >> > > >> Initializing port 0 ... Creating queues: nb_rxq=3D1 nb_txq=3D2.= .. > PMD: > > >> rte_eth_dev_configure: ethdev port_id=3D0 nb_tx_queues=3D2 > 1 > > >> EAL: Error - exiting with code: 1 > > >> Cause: Cannot configure device: err=3D-22, port=3D0 > > >> > > >> And I have known that the reason for this problem produced in the > > >> **rte_eth_dev_configure function**. However, I do not kown how to fi= x > > it. > > >> > > >> I would really appreciate If someone could provide some help to solv= e > > this > > >> issue. > > >> > > > > > > > > > > -- > > Best Regards, > > Zachary > > =B1=BE=D0=C5=BC=FE=BF=C9=C4=DC=B0=FC=BA=AC=C8=F0=EC=F7=EB=8A=CD=A8=99C= =C3=DC=D9Y=D3=8D=A3=AC=B7=C7=D6=B8=B6=A8=D6=AE=CA=D5=BC=FE=D5=DF=A3=AC=D5= =88=CE=F0=CA=B9=D3=C3=BB=F2=BD=D2=C2=B6=B1=BE=D0=C5=BC=FE=83=C8=C8=DD=A3=AC= =81K=D5=88=E4N=9A=A7=B4=CB=D0=C5=BC=FE=A1=A3 This email may contain > > confidential information. Please do not use or disclose it in any way a= nd > > delete it if you are not the intended recipient. > > > > > > -- > To stop learning is like to stop loving. >