From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f177.google.com (mail-we0-f177.google.com [74.125.82.177]) by dpdk.org (Postfix) with ESMTP id D40F7B352 for ; Thu, 24 Jul 2014 14:42:52 +0200 (CEST) Received: by mail-we0-f177.google.com with SMTP id w62so2712357wes.36 for ; Thu, 24 Jul 2014 05:44:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=7skc3FDH5b3TkoGfaAow45hw3zxuPSP9HSh0uTjZjp4=; b=jcdQQhpWimj6l/3XKNjqH7rXMgEshQyMD/cUghUE/MiRKX8dLLfJ9Cey4+I9l4kcKC r/J1wgKXs2KEF++If+BquMTnurqhlsrtJAr1irYlKsgTBrfDoxWDwbjWod6Xiis69+0y yNQASb5rs+aawU0JanEetgLYodypAXmoLKAOK9nCTZmK8ghB78BSPj28iHIuW5WT2PnO Jzu5JqGUd0/eunDLmTUqYFS1kSFANDtS2AJxPyCa1pZAj/90PidVwSeAOc+nHOobu18A v280469AIra7tXySdP1yhjETQtAFmrsxyD/Q/+E/yNRDn1fOcwypIoWT6WewghLo+mwv 6+vA== X-Gm-Message-State: ALoCoQmQLFB0Ef/CMf6a5b3icGsMzJ1e+PTwr6xKDhOaXb+R5nnVfohJkWxCCtZVftm1FvkWSVjt X-Received: by 10.180.39.73 with SMTP id n9mr12620772wik.70.1406205860856; Thu, 24 Jul 2014 05:44:20 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id ey16sm22630056wid.14.2014.07.24.05.44.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Jul 2014 05:44:20 -0700 (PDT) From: Thomas Monjalon To: sothy shan Date: Thu, 24 Jul 2014 14:44:09 +0200 Message-ID: <7583940.5R3m6hi2Eh@xps13> Organization: 6WIND User-Agent: KMail/4.13.2 (Linux/3.15.5-2-ARCH; KDE/4.13.2; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] rte_eth_dev_configure 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, 24 Jul 2014 12:42:53 -0000 Hello, 2014-07-24 14:34, sothy shan: > I am trying to use DPDK ovs (development branch) with DPDK1.7. Could you try with testpmd? > Cannot initi NIC port 0 (-22). > > Based on my search within code, rte_eth_dev_configure gives an error with > code -22. Which driver are you using? > My question is that how to debug or print the PMD_DEBUG_TRACE into file or > terminal when running ovs-dpdk? The default is to print on stdout. > Second, any clue why rte_eth_dev_configure give an error with code -22? It depends of your driver. Example: #define IXGBE_ERR_NO_SAN_ADDR_PTR -22 -- Thomas