[dpdk-dev] rte_eth_dev_configure

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Jul 24 14:44:09 CEST 2014


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


More information about the dev mailing list