DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] How to test l3fwd?
@ 2016-07-20 20:02 Charlie Li
  2016-07-20 20:06 ` Charlie Li
  0 siblings, 1 reply; 5+ messages in thread
From: Charlie Li @ 2016-07-20 20:02 UTC (permalink / raw)
  To: users

Hello,

My setup is dpdk-2.2.0 on Fedora 23 Server with kernel 4.5.7.

I have been testing L2 throughput with l2fwd and an Ixia traffic generator.
It works as expected.

Command: ./l2fwd -c 0xf -n 4 -- -p 0x3
Ixia traffic: MAC (Ethernet frames)


Now I am moving to test L3 throughput with l3fwd, but cannot start traffic
from Ixia

Command: ./l3fwd -c 0xf -n 4 -- -p 0x3 --config="(0,0,2)(1,0,3)"
Ixia traffic: IPv4 (IP packets)

My question is:

What are the IP addresses of the two ports?

"LPM: Adding route 0x01010100 / 24 (0)
LPM: Adding route 0x02010100 / 24 (1)"

Does it mean the IP addresses are 1.1.1.0 (netmask 255.255.255.0) for port0
and 2.1.1.0 (netmask 255.255.255.0) for port1?

I set up the following two flows, but Ixia complains "unreachable"

Flow1: Ixia PortA (1.1.1.100) -> DPDK Port0 (1.1.1.0) .........(l3fwd)
........ DPDK Port1 (2.1.1.0) -> Ixia PortB (2.1.1.100)
          Src IP: 1.1.1.100; Dst IP: 2.1.1.100; Gateway: 1.1.1.0

Flow2: Ixia PortB (2.1.1.100) -> DPDK Port1 (2.1.1.0) .........(l3fwd)
........ DPDK Port0 (1.1.1.0) -> Ixia PortA (1.1.1.100)
          Src IP: 2.1.1.100; Dst IP: 1.1.1.100; Gateway: 2.1.1.0

Thanks,
Charlie

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-07-27 20:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-20 20:02 [dpdk-users] How to test l3fwd? Charlie Li
2016-07-20 20:06 ` Charlie Li
2016-07-23  1:18   ` Charlie Li
2016-07-27 17:51     ` Vincent Li
2016-07-27 20:42       ` Vincent Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).