[dpdk-dev] lost when learning how to test dpdk

2015-07-30 Thread Jan Viktorin
Thank you. I think the patch did not help. I applied and the error was still there. After setting 1024 hugepages, it starts working. Jan V. On Thu, 30 Jul 2015 10:06:09 -0700 Ravi Kerur wrote: > On Thu, Jul 30, 2015 at 9:19 AM, Jan Viktorin > wrote: > > > OK, I've added the card into

[dpdk-dev] lost when learning how to test dpdk

2015-07-30 Thread Jan Viktorin
OK, I've added the card into RTE_PCI_DEVEM_ID_DECL_EM list. Much better now: EAL: Requesting 64 pages of size 2MB from socket 0 EAL: TSC frequency is ~365 KHz EAL: Master lcore 0 is ready (tid=467d78c0;cpuset=[0]) EAL: lcore 1 is ready (tid=3a5ff700;cpuset=[1]) EAL: PCI device :03:00.0 on

[dpdk-dev] lost when learning how to test dpdk

2015-07-30 Thread Jan Viktorin
The 82545 is listed at http://dpdk.org/doc/nics and I can see it in rte_pci_dev_ids.h/e1000_hw.h: 196 #define E1000_DEV_ID_82545GM_COPPER 0x1026 $ lspci -nn ... 03:00.0 Ethernet controller [0200]: Intel Corporation 82545GM Gigabit Ethernet Controller [8086:1026] (rev 04) 03:02.0

[dpdk-dev] lost when learning how to test dpdk

2015-07-30 Thread Jan Viktorin
Hi, thanks for reply. I could see those docs but it does not help me a lot. I still do not understand very well the principle of the tool. How it chooses the NICs to use? Previously I confused -b in dpdk_nic_bind and testpmd. They have somehow opposite meaning. I can start testpmd now, however,

[dpdk-dev] lost when learning how to test dpdk

2015-07-30 Thread Ravi Kerur
On Thu, Jul 30, 2015 at 10:06 AM, Ravi Kerur wrote: > > > On Thu, Jul 30, 2015 at 9:19 AM, Jan Viktorin > wrote: > >> OK, I've added the card into RTE_PCI_DEVEM_ID_DECL_EM list. >> Much better now: >> >> EAL: Requesting 64 pages of size 2MB from socket 0 >> EAL: TSC frequency is ~365 KHz >>

[dpdk-dev] lost when learning how to test dpdk

2015-07-30 Thread Ravi Kerur
On Thu, Jul 30, 2015 at 9:19 AM, Jan Viktorin wrote: > OK, I've added the card into RTE_PCI_DEVEM_ID_DECL_EM list. > Much better now: > > EAL: Requesting 64 pages of size 2MB from socket 0 > EAL: TSC frequency is ~365 KHz > EAL: Master lcore 0 is ready (tid=467d78c0;cpuset=[0]) > EAL: lcore

[dpdk-dev] lost when learning how to test dpdk

2015-07-30 Thread Ravi Kerur
On Thu, Jul 30, 2015 at 5:03 AM, Jan Viktorin wrote: > Hi, > > thanks for reply. I could see those docs but it does not help me a lot. > I still do not understand very well the principle of the tool. How it > chooses the NICs to use? Previously I confused -b in dpdk_nic_bind and > testpmd. They

[dpdk-dev] lost when learning how to test dpdk

2015-07-29 Thread ciprian.barbu
On 28.07.2015 21:13, Jan Viktorin wrote: > Hello all, > > I am learning how to measure throughput with dpdk. I have 4 cores > Intel(R) Core(TM) i3-4360 CPU @ 3.70GHz and two 82545GM NICs connected > together. I do not understand very well, how to setup testpmd. http://dpdk.org/doc

[dpdk-dev] lost when learning how to test dpdk

2015-07-28 Thread Jan Viktorin
Hello all, I am learning how to measure throughput with dpdk. I have 4 cores Intel(R) Core(TM) i3-4360 CPU @ 3.70GHz and two 82545GM NICs connected together. I do not understand very well, how to setup testpmd. I've successfully bound the NICs to dpdk: $ dpdk_nic_bind --status Network devices