DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: Sahil Khandelwal <sahilkhandelwal05@gmail.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] Error while running basic forward sample application
Date: Thu, 16 Apr 2020 15:38:04 +0100	[thread overview]
Message-ID: <20200416143804.GB1695@bricha3-MOBL.ger.corp.intel.com> (raw)
In-Reply-To: <CACKbjtZM4kXYF+i8_-bYZZ5NvSUeHMJxCoGaQ0jOTm0ev38EKQ@mail.gmail.com>

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

      reply	other threads:[~2020-04-16 14:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-16 11:49 Sahil Khandelwal
2020-04-16 14:38 ` Bruce Richardson [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=20200416143804.GB1695@bricha3-MOBL.ger.corp.intel.com \
    --to=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=sahilkhandelwal05@gmail.com \
    /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).