[dpdk-dev] rte_eth_dev_configure

2014-07-24 Thread sothy shan
Thanks and it is working and help me a lot. On Thu, Jul 24, 2014 at 3:05 PM, Thomas Monjalon wrote: > 2014-07-24 15:00, sothy shan: > > I have problem when I try dpdk ovs with DPDK 1.7. DPDK 1.7 alone working > > well. > [...] > > I am not sure when I using DPDK ovs, how to debug at DPDK 1.7.0 c

[dpdk-dev] rte_eth_dev_configure

2014-07-24 Thread Thomas Monjalon
2014-07-24 15:00, sothy shan: > I have problem when I try dpdk ovs with DPDK 1.7. DPDK 1.7 alone working > well. [...] > I am not sure when I using DPDK ovs, how to debug at DPDK 1.7.0 code. I > guess I need to enable to print PMD_DEBUG_TRACE message. At this point, > DPDK ovs message is only print

[dpdk-dev] rte_eth_dev_configure

2014-07-24 Thread sothy shan
I have problem when I try dpdk ovs with DPDK 1.7. DPDK 1.7 alone working well. Drive I installed is compiled with T=x86_64-ivshmem-linuxapp-gcc. I am not sure when I using DPDK ovs, how to debug at DPDK 1.7.0 code. I guess I need to enable to print PMD_DEBUG_TRACE message. At this point, DPDK ovs

[dpdk-dev] rte_eth_dev_configure

2014-07-24 Thread Thomas Monjalon
2014-07-24 14:44, Thomas Monjalon: > 2014-07-24 14:34, sothy shan: > > 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 It's more probably -EINVAL without driver dependency. It means there is a

[dpdk-dev] rte_eth_dev_configure

2014-07-24 Thread Thomas Monjalon
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 questi

[dpdk-dev] rte_eth_dev_configure

2014-07-24 Thread sothy shan
Hello! I am trying to use DPDK ovs (development branch) with DPDK1.7. There is an error when running ovs_dpdk command. Error is PANIC in ovdk_vport_phy_port_init. Cannot initi NIC port 0 (-22). Based on my search within code, rte_eth_dev_configure gives an error with code -22. My question is

[dpdk-dev] rte_eth_dev_configure fails on VM with e1000 drivers #PERSONAL#

2014-04-29 Thread B Gopikrishna
:07PM cc: B Gopikrishna , dev Subject: Re: [dpdk-dev] rte_eth_dev_configure fails on VM with e1000 drivers 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 d

[dpdk-dev] rte_eth_dev_configure fails on VM with e1000 drivers

2014-04-29 Thread B Gopikrishna
PM cc: B Gopikrishna , dev Subject: Re: [dpdk-dev] rte_eth_dev_configure fails on VM with e1000 drivers 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 N

[dpdk-dev] rte_eth_dev_configure fails on VM with e1000 drivers

2014-04-29 Thread Marc Sune
e port mask of 0x06, but this doesnot work either. > > Any other suggestions or pointers to resolve the same would be of great help. > Thankyou > > Regards > Gopi Krishna B > > -Tomasz K wrote: - > To: Thomas Monjalon > From: Tomasz K > D

[dpdk-dev] rte_eth_dev_configure fails on VM with e1000 drivers

2014-04-18 Thread B Gopikrishna
Hi 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. ./build/l3fwd -c 0x03 -n 2 -- -p 0x03 --config="(0,0,0),(1,1,1)" Setup: a) Virtual machine booted with Fedora20 with 2 virtual

[dpdk-dev] rte_eth_dev_configure fails on VM with e1000 drivers

2014-04-18 Thread Tomasz K
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_pm

[dpdk-dev] rte_eth_dev_configure fails on VM with e1000 drivers

2014-04-18 Thread 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: