DPDK patches and discussions
 help / color / mirror / Atom feed
From: Farrukh Aftab Khan <Farrukh.Khan@xflowresearch.com>
To: dev@dpdk.org
Subject: [dpdk-dev] L2/L3 FWD App
Date: Tue, 25 Jun 2013 23:15:42 +0500	[thread overview]
Message-ID: <CAOKjMzvJPn4ry+-ckAGa0k8NPY+e0CbSPQO_wBW_DhXmWcuOJw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 898 bytes --]

Hi,

I am a newbie at DPDK, just trying to get some basic applications to run to
understand it. One of the apps that I have been trying to run is provided
with the source code i.e. L3 FWD App. Are there any changes which I should
be hard coding in the file for it to work?

>From what I understand, I have to hard code a rule for LPM (<dst_ip>,
depth/subnet, output interface) in "ipv4_l3fwd_route_array". The
destination IP is matched with the destination IP field of the incoming
packet and the output port refers to the NIC port itself. I have tried
running this application this way, but I do not see any packets being
forwarded to my receiver.

Are there any other changes I need to make?
I am using Ostinato as the traffic generator. I am generating ICMP packets
with dst_MAC=MAC address of the NIC port.

Any help or heads up would be appreciated, thanks.
Best regards

-
Farrukh Aftab Khan

[-- Attachment #2: Type: text/html, Size: 2355 bytes --]

             reply	other threads:[~2013-06-25 18:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-25 18:15 Farrukh Aftab Khan [this message]
2013-06-28 12:00 ` Farrukh Aftab Khan

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=CAOKjMzvJPn4ry+-ckAGa0k8NPY+e0CbSPQO_wBW_DhXmWcuOJw@mail.gmail.com \
    --to=farrukh.khan@xflowresearch.com \
    --cc=dev@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).