DPDK patches and discussions
 help / color / mirror / Atom feed
From: "De Lara Guarch, Pablo" <pablo.de.lara.guarch@intel.com>
To: "Yeddula, Avinash" <ayeddula@ciena.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] testpmd loopback mode
Date: Sun, 20 Dec 2015 10:31:39 +0000	[thread overview]
Message-ID: <E115CCD9D858EF4F90C690B0DCB4D8973C86E750@IRSMSX108.ger.corp.intel.com> (raw)
In-Reply-To: <A1E50D8AD6310E47A6C10F075AEDC0220382536EDD@ONWVEXCHMB01.ciena.com>

Hi Avinash,

> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Yeddula, Avinash
> Sent: Friday, December 18, 2015 10:26 PM
> To: dev@dpdk.org
> Subject: [dpdk-dev] testpmd loopback mode
> 
> Hello All,
> Would someone please let me know, how to run "testpmd" app in a
> loopback mode.
> 
> Port1 ----------------testpmd -app ---------traffic back to---------port1
> 

I assume you have two ports and you only want to use Port 1?

If you had only one port (the port that you want to use), by default you wouldn't need to do anything,
just run testpmd without any parameters.

If you have two ports, you can either:
1 - Run testpmd on interactive mode and configure forwarding only on port 1:
	./build/app/testpmd -c f -n 4 -- -i
	Testpmd> set portlist 1
	Testpmd> start

2 - Run testpmd with portmask parameter, doing the same as above:
	./build/app/testpmd -c f -n 4 -- --portmask=0x2

By the way, for these kind of questions, you should use our other list users@dpdk.org.
Any further questions, let me know.

Pablo

> Thanks
> -Avinash

      reply	other threads:[~2015-12-20 10:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-18 22:25 Yeddula, Avinash
2015-12-20 10:31 ` De Lara Guarch, Pablo [this message]

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=E115CCD9D858EF4F90C690B0DCB4D8973C86E750@IRSMSX108.ger.corp.intel.com \
    --to=pablo.de.lara.guarch@intel.com \
    --cc=ayeddula@ciena.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).