From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-x231.google.com (mail-we0-x231.google.com [IPv6:2a00:1450:400c:c03::231]) by dpdk.org (Postfix) with ESMTP id 778A76A56 for ; Thu, 20 Jun 2013 22:46:49 +0200 (CEST) Received: by mail-we0-f177.google.com with SMTP id m19so5614825wev.8 for ; Thu, 20 Jun 2013 13:47:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=AzsAP0NPR0SMrktzWImephEcltf4kKxGkSJ+zboa9Is=; b=i10CIpNBrnJaxtpQOMnstpb2sM9cU4FL7mIuN4fPFaL+fTeCGqOcf10ZC0ojKN/0Ny hDXM5bHGPqtqWww37Z0fqF3f3CrBlDGw4p7Ik1FCuCErHIk5xA22qKQ5mHYvXoQuJuM2 Y5huWR8OZh2ivl/Do7d7lKLE1TxPY9+Jzvrh6ol1x5VvP4qXrmeHf23NXBcfoZFCFoWd t2BJ69yvYQghLk5F9d7HgaTgqqRwYfznt7UEPxHEeubCepDonzbWm/kECIzIawqVBxvX 3aEWYzOiHcU+addP20LHx3HzdYMJqKXASbkFwoBsXb3fpAXNY9bRaBYcuJo9lr1CDGlb 7OJQ== X-Received: by 10.180.211.171 with SMTP id nd11mr761310wic.17.1371761221369; Thu, 20 Jun 2013 13:47:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.234.4 with HTTP; Thu, 20 Jun 2013 13:46:41 -0700 (PDT) In-Reply-To: References: From: Peter Chen Date: Thu, 20 Jun 2013 13:46:41 -0700 Message-ID: To: dev@dpdk.org Content-Type: multipart/alternative; boundary=001a11c3850051094304df9c0c65 Subject: Re: [dpdk-dev] testpmd port topology X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jun 2013 20:46:49 -0000 --001a11c3850051094304df9c0c65 Content-Type: text/plain; charset=ISO-8859-1 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 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 > --001a11c3850051094304df9c0c65 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
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=3Dc= hained. 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 =3D 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.c= om> wrote:
Hi, I am trying to run testpmd app under d= pdk. I have Ubuntu Server 12.04 running on a Dell R510 with two quad Xeon 5= 506 and one Intel 82598EB 10G NIC. However when I run it, I get the followi= ng error:

=A0=A0=A0=A0 No commandline core given, start packet forwarding=A0
=A0=A0=A0=A0 Warning! Cannot handle an odd number of ports = with the current port topology. Configuration must be changed to have an ev= en number of ports, or relaunch application with --port-topology=3Dchained<= br>
=A0=A0=A0=A0 io packet forwarding - CRC stripping disabled - pack= ets/burst =3D 16
=A0=A0=A0=A0 nb forwarding cores=3D1 - nb forward= ing ports =3D 1
=A0=A0=A0=A0 RX queues =3D 1 - RX desc =3D 128 - R= X free threshold =3D 0
=A0=A0=A0=A0 RX threshold registers: pthresh =3D 8 hthresh =3D 8 wthresh = =3D 4
=A0=A0=A0=A0 TX queues =3D 1 - TX desc =3D 512 - TX free thr= eshold =3D 0
=A0=A0=A0=A0 TX threshold registers: pthread=3D36 hth= resh =3D 0 wthresh =3D 0
=A0=A0=A0=A0 TX RS bit threshold =3D 0
=A0=A0=A0=A0 Press enter to exit

I am wondering how = I can see the port topology and what this is exactly. Also how would I go a= bout 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-topo= logy=3D (something)". Thanks.

Pete= r

--001a11c3850051094304df9c0c65--