DPDK patches and discussions
 help / color / mirror / Atom feed
From: Peter Chen <peter.feifan.chen@gmail.com>
To: dev@dpdk.org
Subject: Re: [dpdk-dev] testpmd port topology
Date: Thu, 20 Jun 2013 13:46:41 -0700	[thread overview]
Message-ID: <CAMGYKAc9vu1QHv0q9z6sFiEjBc171MZuuXnyxx=KAYMdcL3yKA@mail.gmail.com> (raw)
In-Reply-To: <CAMGYKAd8F40zL=mdsA-iTHZZ=1xs+kBGaS4F9VF3gEkv2gy2pA@mail.gmail.com>

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

Actually I found the problem with above I have to run as -- -i to get rid
of the no commandline core given and -- --port-topology=chained. However
now, I am wondering what does it mean to have a paired and chained
port-topology? Also even though the 82598 specs say its dual-ported, I only
get one port, so is it that each NIC card = one port or is there a way to
get two ports out of a NIC?


On Thu, Jun 20, 2013 at 12:44 PM, Peter Chen <peter.feifan.chen@gmail.com>wrote:

> Hi, I am trying to run testpmd app under dpdk. I have Ubuntu Server 12.04
> running on a Dell R510 with two quad Xeon 5506 and one Intel 82598EB 10G
> NIC. However when I run it, I get the following error:
>
>      No commandline core given, start packet forwarding
>
>      Warning! Cannot handle an odd number of ports with the current port
> topology. Configuration must be changed to have an even number of ports, or
> relaunch application with --port-topology=chained
>
>      io packet forwarding - CRC stripping disabled - packets/burst = 16
>      nb forwarding cores=1 - nb forwarding ports = 1
>      RX queues = 1 - RX desc = 128 - RX free threshold = 0
>      RX threshold registers: pthresh = 8 hthresh = 8 wthresh = 4
>      TX queues = 1 - TX desc = 512 - TX free threshold = 0
>      TX threshold registers: pthread=36 hthresh = 0 wthresh = 0
>      TX RS bit threshold = 0
>
>      Press enter to exit
>
> I am wondering how I can see the port topology and what this is exactly.
> Also how would I go about changing that as the --port-topology usage for
> running dpdk doesn't seem to exist when I try "sudo ./testpmd -c ff -n 4 -r
> 2 --port-topology= (something)". Thanks.
>
> Peter
>

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

      reply	other threads:[~2013-06-20 20:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-20 19:44 Peter Chen
2013-06-20 20:46 ` Peter Chen [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='CAMGYKAc9vu1QHv0q9z6sFiEjBc171MZuuXnyxx=KAYMdcL3yKA@mail.gmail.com' \
    --to=peter.feifan.chen@gmail.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).