From: Arseniy Zaostrovnykh <arseniy.zaostrovnykh@epfl.ch>
To: users@dpdk.org
Subject: [dpdk-users] Why packet_type is zero?
Date: Fri, 6 Nov 2015 15:57:39 +0100 [thread overview]
Message-ID: <563CBFE3.5080804@epfl.ch> (raw)
Hello,
I have the following setup of VirtualBox machines on a single host:
node2:
eth0: VBox NAT, connecting to the host internet
eth1: 192.168.1.12/24
and additional route for 192.168.0.0/16 -> gateway 192.168.1.11
dpdk-node:
eth0: VBox NaT, connecting to the host internet
eth1: 192.168.1.11/24
eth2: 192.168.2.11/24
Now I run
node2 $ ping 192.168.2.13
so, following the route, it sends the ping ICMP messages to 192.168.1.11
(dpdk-node).
On the dpdk-node I run l3fwd:
dpdk-node $ sudo examples/l3fwd/build/app/l3fwd -c 0x01 -n 2 -- -p
0x03 --config="(0,0,0),(1,0,0)"
with APP_LOOKUP_METHOD = APP_LOOKUP_EXACT_MATCH, and with some
debug-printfs. In particular I printf
m->packet_type in the beginning of the l3fwd_simple_forward function.
Question:
Why does it prints 0? What is a possible causes?
P.S. my DPDK version is 2.1.0; The printf is executed on each ping
message; tcpdump shows no other traffic in this internal network.
--
Respectfully,
Arseniy.
next reply other threads:[~2015-11-06 14:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-06 14:57 Arseniy Zaostrovnykh [this message]
2015-11-06 15:05 ` Arseniy Zaostrovnykh
2015-11-10 14:46 ` Arseniy Zaostrovnykh
2015-11-10 14:55 ` Thomas Monjalon
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=563CBFE3.5080804@epfl.ch \
--to=arseniy.zaostrovnykh@epfl.ch \
--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).