From: Vincent Li <vincent.mc.li@gmail.com>
To: Charlie Li <charlie.li@gmail.com>
Cc: users@dpdk.org
Subject: Re: [dpdk-users] How to test l3fwd?
Date: Wed, 27 Jul 2016 10:51:08 -0700 [thread overview]
Message-ID: <CAK3+h2yiH-AChFuFSAbRU3TzjSZu0+4=QR9YkdKjwV1KGvV7eA@mail.gmail.com> (raw)
In-Reply-To: <CAO=HJQNuxWnVpjMy2Qb2ppKE1miqrvYM=nnG_cstVq=5XTEhQA@mail.gmail.com>
could you please share how you figured out your problem? it appears I
am having same kind of network link setup and no packet being
forwarded, there must be something I am missing, wondering if your
solution would apply to my setup.
Thanks!
Vincent
On Fri, Jul 22, 2016 at 6:18 PM, Charlie Li <charlie.li@gmail.com> wrote:
> Never mind - I figured it out.
>
> On Wed, Jul 20, 2016 at 3:06 PM, Charlie Li <charlie.li@gmail.com> wrote:
>
>> I am also attaching the full logs from l3fwd and l2fwd.
>>
>> On Wed, Jul 20, 2016 at 3:02 PM, Charlie Li <charlie.li@gmail.com> wrote:
>>
>>> 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
>>>
>>>
>>
next prev parent reply other threads:[~2016-07-27 17:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-20 20:02 Charlie Li
2016-07-20 20:06 ` Charlie Li
2016-07-23 1:18 ` Charlie Li
2016-07-27 17:51 ` Vincent Li [this message]
2016-07-27 20:42 ` Vincent Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAK3+h2yiH-AChFuFSAbRU3TzjSZu0+4=QR9YkdKjwV1KGvV7eA@mail.gmail.com' \
--to=vincent.mc.li@gmail.com \
--cc=charlie.li@gmail.com \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).