From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa0-f47.google.com (mail-oa0-f47.google.com [209.85.219.47]) by dpdk.org (Postfix) with ESMTP id 9640B590C for ; Thu, 21 Aug 2014 14:49:13 +0200 (CEST) Received: by mail-oa0-f47.google.com with SMTP id g18so7461295oah.6 for ; Thu, 21 Aug 2014 05:52:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=TnqN7GRctZNpDDRa7bySoh8khujxXimBThqHWgBRYXY=; b=X9QGU2ppHRYcnrfrh420KOc2d4rv3vtng55TwdaOK1cAsyaCucHLAmDWgGyVm0M1A9 SQJqvCDFDkNuXqA/8bbJKe5EZdh8h+XCZ+Q+zxm80/cILBT+COFq6BqzCCPf7KGWAUb0 NajYWV4tZ8uZaLCj7/337OrGK1BMZg2UmEIFrXmIp94cV5O41h+0et96Y1oxLpuQtWtS cBE4jqJXrsJ/SjhmSbDIwslaT6PzZergbDW4cAFiMowja+w5THb7klgWo16X2iZz50b/ /UiuwPNM1JdPUx0lTluoHjyTBHkGlncJWeDY03lBHr2+cnBIyF2Rl1/5WjC7sKxIVmIU uxsQ== X-Gm-Message-State: ALoCoQkeQ+7F3w6cif1Zf9n0ywcXamV8A/PxbqHLuMacX0ydimMSJ9VefmlotYAqgc0vScTs3/yd MIME-Version: 1.0 X-Received: by 10.60.47.13 with SMTP id z13mr21494868oem.71.1408625569476; Thu, 21 Aug 2014 05:52:49 -0700 (PDT) Received: by 10.202.55.134 with HTTP; Thu, 21 Aug 2014 05:52:49 -0700 (PDT) In-Reply-To: References: Date: Thu, 21 Aug 2014 15:52:49 +0300 Message-ID: From: Alex Markuze To: Sergey Mironov Content-Type: text/plain; charset=UTF-8 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] ixgbe network card has dev_info.max_rx_queues == 0 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, 21 Aug 2014 12:49:13 -0000 RX and TX Are short hand for Receive and Transmit Queues. These Queues Store the in/egress packets. Just looking at the info you've sent it tells you that max_rx_queues for this dev is 0 (Clearly something is wrong here) so the nb_rx_q which is 3 is an Invalid Value -EINVAL == -22. On Thu, Aug 21, 2014 at 3:26 PM, Sergey Mironov wrote: > Hi. I have face a strange error on one of my network cards. Call to > rte_eth_dev_configure returns with error code -22. Increaing the > verbosity level shows the following: > > > PMD: rte_eth_dev_configure: ethdev port_id=2 nb_rx_queues=3 > 0 > EAL: Error - exiting with code: 1 > > here is the snippet of code which returns the error > > > ./lib/librte_ether/rte_ethdev.c : 513 > > (*dev->dev_ops->dev_infos_get)(dev, &dev_info); > if (nb_rx_q > dev_info.max_rx_queues) { > PMD_DEBUG_TRACE("ethdev port_id=%d nb_rx_queues=%d > %d\n", > port_id, nb_rx_q, dev_info.max_rx_queues); > return (-EINVAL); > } > > What does this error means (what is rx queues of an adapter?) What may > cause such a problem? I am using dpdk 1.5.1r1. > > Thanks in advance, > Sergey