DPDK usage discussions
 help / color / mirror / Atom feed
From: Dinesh Kumar <raidinesh@utexas.edu>
To: users@dpdk.org
Subject: Use case understanding for l3fwd
Date: Thu, 13 Apr 2023 13:32:25 -0400	[thread overview]
Message-ID: <CANq-2AH77SF0u3T5SkcgBFriEuSqeagKu+QpHy5XjLBwg10kew@mail.gmail.com> (raw)

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

Hello Experts,

I am trying to run the following scenario using l3fwd example in
dpdk-stable-21.11.2 release .

The flow is :

         VM1
                                 VM2
ns0->tap0<IPV4 IP>->DPDK       <--------------------->  DPDK-> bind a
device  with IP <IPV4 IP >


The first question I have for VM2:
I assigned IP to the device and can see eth and static ip address via  'ip
add ', then after binding it to dpdk, I can not see this information via ip
add because it is not controlled by kernel module.
Is there any way to see ip and ethernet address after binding to DPDK?
Is this process correct to assign IP  and then device to DPDK?


on VM1:
 After starting the DPDK application, I can see a tap0 device created in
kernel mode via 'ip add show'.Then I attached this interface with network
namespace via:

ip netns add ns0
ip link set tap0 netns ns0
ip netns exec ns0 ip addr add <IPV4 Address> dev tap0
ip netns exec ns0 ip link set tap0 up
ip netns exec ns0 ip link set lo up

Still, I am not able to ping anything from this ns0.

Do I need any other configuration to ping via ns0 to VM2?

Sorry, in case I am asking any dumb questions, I am new to DPDK and trying
to make the use case work.
Any help/pointer is really appreciated.

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

             reply	other threads:[~2023-04-13 17:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-13 17:32 Dinesh Kumar [this message]
2023-04-15  2:46 ` J.J. Martzki
     [not found]   ` <CANq-2AE1TiCH9CBw57aJ7vW_BfcpWR94oGb8DfZPpRPsvvjM0g@mail.gmail.com>
2023-04-18  7:50     ` J.J. Martzki
2023-04-25  0:43       ` Dinesh Kumar

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=CANq-2AH77SF0u3T5SkcgBFriEuSqeagKu+QpHy5XjLBwg10kew@mail.gmail.com \
    --to=raidinesh@utexas.edu \
    --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).