From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: rte_eth_dev_configure Date: Thu, 24 Jul 2014 14:44:09 +0200 Message-ID: <7583940.5R3m6hi2Eh@xps13> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: sothy shan Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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