[dpdk-dev] Is it possible to have dpdk running with no dependency on a nic ?

2014-02-14 Thread Jayakumar, Muthurajan
Can you please refer Chapter 15.1.2 of the programmer's manual http://www.intel.com/content/dam/www/public/us/en/documents/guides/intel-dpdk-programmers-guide.pdf titled "Rings-based PMD". It indicates that " To run an Intel(r) DPDK application on a machine without any Ethernet devices, a pair

[dpdk-dev] DPDK not recognizing 82599 on my setup

2014-02-14 Thread Prashant Upadhyaya
Hi Qinglai, Indeed this was the issue which was the consequence of power management being 'on' in the BIOS. Turning that off (as I am not doing power management right now) cures the problems since the timers work as expected based on the fixed frequency at which the CPU operates. So looks like

[dpdk-dev] Is it possible to have dpdk running with no dependency on a nic ?

2014-02-14 Thread Ymo Lists
Than you so much Jayakumar for your help. Quick note. In the document you pointed It states that "Enqueuing and dequeuing items from an rte_ring using the rings-based PMD may be slower than using the native rings API. This is because Intel? DPDK Ethernet drivers make use of function pointers to ca

[dpdk-dev] DPDK not recognizing 82599 on my setup

2014-02-14 Thread Prashant Upadhyaya
Pasting the logs inline as the attachments don't show up on list somehow -- =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2014.02.14 13:29:51 =~=~=~=~=~=~=~=~=~=~=~= ./lte_lg.out -cff -n4 EAL: Detected lcore 0 as core 0 on socket 0 EAL: Detected lcore 1 as core 1 on socket 0 EAL: Detected lcore 2 as core 2 on

[dpdk-dev] Is it possible to have dpdk running with no dependency on a nic ?

2014-02-14 Thread Vivek Soni
Yes, It is very well possible to run DPDK without dependency on the NIC. But it all depends what you want to do. The two DPDK applications can communicate using the ring library provided by DPDK. In case there is no NIC, DPDK provides pure software based PMDs which can be used on systems without a

[dpdk-dev] DPDK not recognizing 82599 on my setup

2014-02-14 Thread Prashant Upadhyaya
Hi, Here is the lscpi output - 81:00.0 Ethernet controller [0200]: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection [8086:10fb] (rev 01) 81:00.1 Ethernet controller [0200]: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection [8086:10fb] (rev 01) 84:00.0 Ethernet con

[dpdk-dev] DPDK not recognizing 82599 on my setup

2014-02-14 Thread Prashant Upadhyaya
Hi, Here is the lscpi output - 81:00.0 Ethernet controller [0200]: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection [8086:10fb] (rev 01) 81:00.1 Ethernet controller [0200]: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection [8086:10fb] (rev 01) 84:00.0 Ethernet con

[dpdk-dev] Is it possible to have dpdk running with no dependency on a nic ?

2014-02-14 Thread Ymo Lists
Could you please point me to a sample doing this ? All the sample i have seen are initializing the eal and that involves initializing the nics. Is there a sample ? Can you mock up some code ? plz plzzz :-) On Fri, Feb 14, 2014 at 3:42 AM, Vivek Soni wrote: > Yes, It is very well possible to ru

[dpdk-dev] DPDK not recognizing 82599 on my setup

2014-02-14 Thread jigsaw
http://dpdk.org/ml/archives/dev/2014-January/001205.html Likely to be the root cause. It needs a patch coz it caused problems now and then without giving noticeable reason in the log. -Qinglai On Fri, Feb 14, 2014 at 11:30 AM, Prashant Upadhyaya wrote: > Pasting the logs inline as the attachmen

[dpdk-dev] Is Flow Director supported on the x540 chipset?

2014-02-14 Thread Mauro Annarumma
Hi Bruce, your answer was really helpful. The application didn't work due to this line "if (hw->mac.type != ixgbe_mac_82599EB || hw->mac.type !=ixgbe_mac_X540)". I changed the || whit a && and now the application (with the FDIR mode active) runs on both X540 and 82599. Now I'm testing if th