From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-x22b.google.com (mail-lb0-x22b.google.com [IPv6:2a00:1450:4010:c04::22b]) by dpdk.org (Postfix) with ESMTP id 27C81156 for ; Thu, 14 Nov 2013 09:30:05 +0100 (CET) Received: by mail-lb0-f171.google.com with SMTP id q8so72859lbi.2 for ; Thu, 14 Nov 2013 00:31:00 -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=oZkNhy/oqfgPAGazw8cCO8VkOV/W8M5KlGoS3FU+dcQ=; b=csIIQOehMSlwv3DQVjxCXRTo59u0UqrlCmbhBr0HrcuONOu+AQXVYg5cE55dHWx7uN MxVZBDjXuCYrbci9ks8wo4JC+SG3gsch5WYb4JENUvWCCDFXVZt7PULdJ2uYgGZeJADp x5++7P/XwxPDb3I3Pqiy535vqrpfHasxpTjHOqAkd6tdMmb4/s26vRjDABgm8liSy/DB oCMEKE4UMBPt5Bne1axSeKc1BhgN0skGkQljMJJontjj7KjdkjkNYsmw11nHRf2tIm9a Mt47m1hTr1xOJ7d6tBWVZnM4hrZK5vm6qOZIdOCMbbeZ4T7P8BF0kaWEdnwvgpIcoG3f Xo+A== MIME-Version: 1.0 X-Received: by 10.152.183.194 with SMTP id eo2mr63047lac.81.1384417860472; Thu, 14 Nov 2013 00:31:00 -0800 (PST) Received: by 10.114.59.130 with HTTP; Thu, 14 Nov 2013 00:31:00 -0800 (PST) In-Reply-To: References: Date: Thu, 14 Nov 2013 16:31:00 +0800 Message-ID: From: Jose Gavine Cueto To: yuxuan zhang Content-Type: text/plain; charset=ISO-8859-1 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: Thu, 14 Nov 2013 08:30:05 -0000 Hi, Your nic (port 0) is capable of 1 txq only see error: " port_id=0 nb_tx_queues=2 > 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 l3fwd > cannot be configured port correctly .I start the l3fwd with following > command: > > ./build/l3fwd -c 0x3 -n 2 -- -p 0x3 --config="(0,0,0),(1,0,1)" > > However, I get following errors with debug info: > > Initializing port 0 ... Creating queues: nb_rxq=1 nb_txq=2... PMD: > rte_eth_dev_configure: ethdev port_id=0 nb_tx_queues=2 > 1 > EAL: Error - exiting with code: 1 > Cause: Cannot configure device: err=-22, port=0 > > 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 fix it. > > I would really appreciate If someone could provide some help to solve this > issue. > -- To stop learning is like to stop loving.