From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54]) by dpdk.org (Postfix) with ESMTP id 2BDE0AFD2 for ; Fri, 18 Apr 2014 14:37:29 +0200 (CEST) Received: by mail-qa0-f54.google.com with SMTP id w8so1517115qac.13 for ; Fri, 18 Apr 2014 05:37:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=tzZ/6uO8wlCfUYt0Qpp17nSt/BSmBI9zPOIvRsbbxZA=; b=Bb+zKmE9yze6kMeA++SUkdukqMQYwM71kR2xmFcDCDJbDvD68JXbfX48eziceYIxkC Aqbth3XWbm2H4DFtM1FK5Rus5ejfcbu5pTxb7Cw+MbW2eMnFUXfGAIeW75uKtMxTGHCj xLpWjVoadcAQFhLwp11yWi9ws3Fosv7v4j46Shhs5O85SX/FMlK6vms1mAg9cKBBDhzo 6/DOXgI/MQLmHgqXY9mOSg7YNxObk+qdOsdaLgaFQpl+KbUesPZbVdv7jJjhAEg8uqL0 2N51WbSo3IIFJs/Tz3krv0dNZWaKUZqdR1AYe1rlZDxSUJx6dr6y5iEzGaYBcsOjsxn2 j8XQ== X-Received: by 10.224.88.131 with SMTP id a3mr18095713qam.54.1397824650256; Fri, 18 Apr 2014 05:37:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.96.99.35 with HTTP; Fri, 18 Apr 2014 05:37:00 -0700 (PDT) In-Reply-To: <8080666.eQLb0Bv3Fe@xps13> References: <8080666.eQLb0Bv3Fe@xps13> From: Tomasz K Date: Fri, 18 Apr 2014 14:37:00 +0200 Message-ID: To: Thomas Monjalon Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: dev , B Gopikrishna Subject: Re: [dpdk-dev] rte_eth_dev_configure fails on VM with e1000 drivers 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: Fri, 18 Apr 2014 12:37:29 -0000 Hi Gopi I recently run into the same problem when using 82576 with igb_uio on VM. The problem is not e1000 or igb. The problem is with the other network device managed by virtio-pci driver Notice that when application polls for ETH devices it prints out EAL: probe driver: 1af4:1000 rte_virtio_pmd EAL: 0000:00:03.0 not managed by UIO driver, skipping So even though this NIC is not managed by igb_uio driver the app prints that driver used for it is rte_virtio_pmd. After setting up ETH devices app tries to set up tx/rx queues and it fails on port 0 (which is virtio) You can try and run the application with -p 0x6 instead of 0x3. This should mask out port0 from configuration Thanks Tomasz 2014-04-18 14:31 GMT+02:00 Thomas Monjalon : > Hi, > > 2014-04-18 17:39, B Gopikrishna: > > when I run the l3fwd application with the below command line, I am > observing > > the error "Cannot configure device: err=-22, port=0". The complete log is > > posted below. > > Could you try to reproduce it with the git HEAD version? > It may be fixed by this commit: > d73d8f3 timer: fix TSC frequency by not reading /proc/cpuinfo > > -- > Thomas >