Thread (1 message) 1 message, 1 author, 2014-08-21

Re: DPDK supported processor

From: De Lara Guarch, Pablo <hidden>
Date: 2014-08-21 09:51:04

Hi,
-----Original Message-----
From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of BYEONG-GI KIM
Sent: Thursday, August 21, 2014 10:18 AM
To: Chae-yong Chong; dev@dpdk.org
Subject: Re: [dpdk-dev] DPDK supported processor

Well, I did think that the NIC in my testing machine may not support DPDK
rather than thinking l3fwd is not working.

I just tested the l3fwd sample application to identify whether the NIC
supports DPDK or not.
And it didn't work I assume? From what I am seeing, those ports are supported by DPDK (8086:1F41),
as they are recognized by it, so that should not be the problem. Can you run testpmd and send a few packets to them?
Then use, "show port stats all" and see the statistics are updated (make sure that you send valid packets :))

BR,
Pablo
Best regards

Byeong-Gi KIM


2014-08-21 18:14 GMT+09:00 Chae-yong Chong [off-list ref]:
quoted
Hi

Could you give the details why you think the l3fwd is not working

Best regards,
Chae-yong

2014년 8월 21일 목요일, BYEONG-GI
KIM[off-list ref]님이 작성한 메시지:
quoted
Thank you for the reply.
quoted
I tested l3forwarding sample application, and the results were as below:

sudo ./build/l3fwd -c 0x0F -n 4 -- -p 0x03
--config="(0,0,0),(0,1,1),(1,0,2),(1,1,3)"
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 socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Support maximum 64 logical core(s) by configuration.
EAL: Detected 8 lcore(s)
EAL: Searching for IVSHMEM devices...
EAL: No IVSHMEM configuration found!
EAL: Setting up memory...
EAL: Ask a virtual area of 0x5ffc00000 bytes
EAL: Virtual area found at 0x2aa4aae00000 (size = 0x5ffc00000)

EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7ffff3e00000 (size = 0x200000)
EAL: Ask a virtual area of 0x200000 bytes
EAL: Virtual area found at 0x7ffff3a00000 (size = 0x200000)
EAL: Requesting 12288 pages of size 2MB from socket 0
EAL: TSC frequency is ~2399998 KHz
EAL: Master core 0 is ready (tid=f7fe9800)
EAL: Core 3 is ready (tid=f5998700)
EAL: Core 2 is ready (tid=f6199700)
EAL: Core 1 is ready (tid=f699a700)
EAL: PCI device 0000:00:14.0 on NUMA socket -1
EAL:   probe driver: 8086:1f41 rte_igb_pmd
EAL:   PCI memory mapped at 0x7ffff7f8d000
EAL:   PCI memory mapped at 0x7ffff7f89000
EAL: PCI device 0000:00:14.1 on NUMA socket -1
EAL:   probe driver: 8086:1f41 rte_igb_pmd
EAL:   PCI memory mapped at 0x7ffff7f69000
EAL:   PCI memory mapped at 0x7ffff7f65000
EAL: PCI device 0000:00:14.2 on NUMA socket -1
EAL:   probe driver: 8086:1f41 rte_igb_pmd
EAL:   0000:00:14.2 not managed by UIO driver, skipping
EAL: PCI device 0000:00:14.3 on NUMA socket -1
EAL:   probe driver: 8086:1f41 rte_igb_pmd
EAL:   0000:00:14.3 not managed by UIO driver, skipping
EAL: PCI device 0000:00:14.2 on NUMA socket -1
EAL:   probe driver: 8086:1f41 rte_igb_pmd
EAL:   0000:00:14.2 not managed by UIO driver, skipping
EAL: PCI device 0000:00:14.3 on NUMA socket -1
EAL:   probe driver: 8086:1f41 rte_igb_pmd
EAL:   0000:00:14.3 not managed by UIO driver, skipping
Initializing port 0 ... Creating queues: nb_rxq=2 nb_txq=4...
 Address:0C:C4:7A:05:52:7A, Allocated mbuf pool on socket 0
LPM: Adding route 0x01010100 / 24 (0)
LPM: Adding route 0x02010100 / 24 (1)
LPM: Adding route IPV6 / 48 (0)
LPM: Adding route IPV6 / 48 (1)
txq=0,0,0 PMD: To improve 1G driver performance, consider setting the
TX
quoted
quoted
WTHRESH value to 4, 8, or 16.
txq=1,1,0 PMD: To improve 1G driver performance, consider setting the
TX
quoted
quoted
WTHRESH value to 4, 8, or 16.
txq=2,2,0 PMD: To improve 1G driver performance, consider setting the
TX
quoted
quoted
WTHRESH value to 4, 8, or 16.
txq=3,3,0 PMD: To improve 1G driver performance, consider setting the
TX
quoted
quoted
WTHRESH value to 4, 8, or 16.

Initializing port 1 ... Creating queues: nb_rxq=2 nb_txq=4...
 Address:0C:C4:7A:05:52:7B, txq=0,0,0 PMD: To improve 1G driver
performance, consider setting the TX WTHRESH value to 4, 8, or 16.
txq=1,1,0 PMD: To improve 1G driver performance, consider setting the
TX
quoted
quoted
WTHRESH value to 4, 8, or 16.
txq=2,2,0 PMD: To improve 1G driver performance, consider setting the
TX
quoted
quoted
WTHRESH value to 4, 8, or 16.
txq=3,3,0 PMD: To improve 1G driver performance, consider setting the
TX
quoted
quoted
WTHRESH value to 4, 8, or 16.


Initializing rx queues on lcore 0 ... rxq=0,0,0
Initializing rx queues on lcore 1 ... rxq=0,1,0
Initializing rx queues on lcore 2 ... rxq=1,0,0
Initializing rx queues on lcore 3 ... rxq=1,1,0

Checking link status.................done
Port 0 Link Up - speed 100 Mbps - full-duplex
Port 1 Link Up - speed 100 Mbps - full-duplex
L3FWD: entering main loop on lcore 1
L3FWD: entering main loop on lcore 3
L3FWD:  -- lcoreid=1 portid=0 rxqueueid=1
L3FWD:  -- lcoreid=3 portid=1 rxqueueid=1
L3FWD: entering main loop on lcore 0
L3FWD:  -- lcoreid=0 portid=0 rxqueueid=0
L3FWD: entering main loop on lcore 2
L3FWD:  -- lcoreid=2 portid=1 rxqueueid=0

Anyway, I'll also try to test the testpmd application.

Best regards

Byeong-Gi KIM



2014-08-21 17:56 GMT+09:00 De Lara Guarch, Pablo <
pablo.de.lara.guarch@intel.com>:
quoted
quoted
-----Original Message-----
From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of BYEONG-GI
KIM
quoted
quoted
quoted
quoted
Sent: Thursday, August 21, 2014 7:04 AM
To: dev@dpdk.org
Subject: [dpdk-dev] DPDK supported processor

Hello.

I'm now using Intel Atom processor C2758 on the DPDK testing
machines,
quoted
quoted
quoted
but
quoted
it seems not working.

Which sample application would be recommended to test the NIC
actually
quoted
quoted
quoted
quoted
works well with DPDK?

Best regards

Byeong-Gi KIM
Hi,

Testpmd is the best application you can use for that.

Best regards,
Pablo

--


May the Fun with you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help