All of lore.kernel.org
 help / color / mirror / Atom feed
* testpmd loopback mode
@ 2015-12-18 22:25 Yeddula, Avinash
  2015-12-20 10:31 ` De Lara Guarch, Pablo
  0 siblings, 1 reply; 2+ messages in thread
From: Yeddula, Avinash @ 2015-12-18 22:25 UTC (permalink / raw)
  To: dev

Hello All,
Would someone please let me know, how to run "testpmd" app in a loopback mode.

Port1 ----------------testpmd -app ---------traffic back to---------port1

Thanks
-Avinash

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: testpmd loopback mode
  2015-12-18 22:25 testpmd loopback mode Yeddula, Avinash
@ 2015-12-20 10:31 ` De Lara Guarch, Pablo
  0 siblings, 0 replies; 2+ messages in thread
From: De Lara Guarch, Pablo @ 2015-12-20 10:31 UTC (permalink / raw)
  To: Yeddula, Avinash, dev

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-12-20 10:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-18 22:25 testpmd loopback mode Yeddula, Avinash
2015-12-20 10:31 ` De Lara Guarch, Pablo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.