DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Error while running basic forward sample application
@ 2020-04-16 11:49 Sahil Khandelwal
  2020-04-16 14:38 ` Bruce Richardson
  0 siblings, 1 reply; 2+ messages in thread
From: Sahil Khandelwal @ 2020-04-16 11:49 UTC (permalink / raw)
  To: dev

I am trying to run the basic forwarding sample application with following
arguments

sudo ./build/basicfwd -l 1 -n 4

The error says number of ports must be even

By ports does it mean by number of nic in my system?

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

* Re: [dpdk-dev] Error while running basic forward sample application
  2020-04-16 11:49 [dpdk-dev] Error while running basic forward sample application Sahil Khandelwal
@ 2020-04-16 14:38 ` Bruce Richardson
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Richardson @ 2020-04-16 14:38 UTC (permalink / raw)
  To: Sahil Khandelwal; +Cc: dev

On Thu, Apr 16, 2020 at 05:19:34PM +0530, Sahil Khandelwal wrote:
> I am trying to run the basic forwarding sample application with following
> arguments
> 
> sudo ./build/basicfwd -l 1 -n 4
> 
> The error says number of ports must be even
> 
> By ports does it mean by number of nic in my system?

In many cases, yes. However, some some nics have multiple ports/interfaces on
them. Testpmd, and some other sample apps, don't have this restriction -
the basicfwd app does just to keep the code as short and as simple as
possible.

/Bruce

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

end of thread, other threads:[~2020-04-16 14:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-16 11:49 [dpdk-dev] Error while running basic forward sample application Sahil Khandelwal
2020-04-16 14:38 ` Bruce Richardson

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).