From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yk0-f170.google.com (mail-yk0-f170.google.com [209.85.160.170]) by dpdk.org (Postfix) with ESMTP id 6B7F0C480 for ; Thu, 28 Jan 2016 15:26:16 +0100 (CET) Received: by mail-yk0-f170.google.com with SMTP id a85so32117546ykb.1 for ; Thu, 28 Jan 2016 06:26:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5OnHaw0JHOJCDb/Nhdeu53rjwVYaBr0QJZYO0d0yCS4=; b=e1tJXBQi98UDKMBk2ghMOZg+hwWW215hYJ9DqZZ2sW/R5sTY5xzQFxLkLtgLTm165s aDeO0vejsqNUnokeD46FJyi1P3zrdSixSXW0Y/gDn2aVS6zU12fHaiQn/5iEybjjXrCK uBdhi6RlDjByducel9uj5zgQXda7OymqCfI1Y54HuSQHJk49wBotshqEqtE2Dk6q+tnx LRt7mZWtjiHvzq2akPYjlhG0e16u6ljKBEOS+wEhzoyTPWLdu+nJHYqzuOxW5gYFJWfJ A7Xkfb6rWdyumeQVw4T0jMGMfUMcO45vo+zU09gSBqMa+Upd70ku1yusjifo58Ndk+jo G78A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=5OnHaw0JHOJCDb/Nhdeu53rjwVYaBr0QJZYO0d0yCS4=; b=cDEJpGQVrv4+HHrc8rE5vi0Lb4Vv9NBJfpBe4asraRKGTWHuWDhN4pOjZaDAcFOxap GkdcA4QY0EVIZziwfscxwPibdR/MEDbhASh757xQPVyA3LmX92MU1gs23vABmuRiQeoE 9HN8HNcmGB8LHilaJviaXa7zi7On8midumws2/YIUqfAbGSBe/mvuWw8flX1MjvWw9ah XUJ8H0BqOgOAPq7zwJcfY3Y28gRxrWF2lVSCzvsvyLAKWqo5WYp4Zyl7f5Nc/tVE197H BDPDzv3YPvrdX+B2eFcHRvcdtEAI1M6+uzkA1GeweDdqavPOiJWXeW6G7sJQIjLpj3Sz 2+Ww== X-Gm-Message-State: AG10YOT/IiBDb+LLtl4Zblxj1z/KTMdMlzNUBwbu2dks2ND0w4r+dvN7cCKEtsp4Z/RcmA== X-Received: by 10.129.72.8 with SMTP id v8mr330586ywa.78.1453991176015; Thu, 28 Jan 2016 06:26:16 -0800 (PST) Received: from mail-yk0-f169.google.com (mail-yk0-f169.google.com. [209.85.160.169]) by smtp.gmail.com with ESMTPSA id g64sm8643968ywa.27.2016.01.28.06.26.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Jan 2016 06:26:15 -0800 (PST) Received: by mail-yk0-f169.google.com with SMTP id v14so31946200ykd.3 for ; Thu, 28 Jan 2016 06:26:14 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.129.27.6 with SMTP id b6mr1768067ywb.205.1453991174797; Thu, 28 Jan 2016 06:26:14 -0800 (PST) Received: by 10.37.209.209 with HTTP; Thu, 28 Jan 2016 06:26:14 -0800 (PST) X-Originating-IP: [144.214.37.251] In-Reply-To: <54CBAA185211B4429112C315DA58FF6DDB5149@IRSMSX103.ger.corp.intel.com> References: <2104784.rzpFcqBxg0@xps13> <10314204.jjU71pdESo@xps13> <54CBAA185211B4429112C315DA58FF6DDB10F5@IRSMSX103.ger.corp.intel.com> <54CBAA185211B4429112C315DA58FF6DDB1134@IRSMSX103.ger.corp.intel.com> <56AA0736.3080908@intel.com> <54CBAA185211B4429112C315DA58FF6DDB5149@IRSMSX103.ger.corp.intel.com> Date: Thu, 28 Jan 2016 22:26:14 +0800 X-Gmail-Original-Message-ID: Message-ID: From: Royce Niu To: "Singh, Jasvinder" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "users@dpdk.org" Subject: Re: [dpdk-users] Request an example config for DPDK IP PIPELINE X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2016 14:26:16 -0000 Dear Jasvinder and Fan, Thanks for your concerning. I solved the problem by adding "=E2=80=93smp sockets=3D1,cores=3D2" The correct XML format is SandyBridge By the way, if your NIC (virtio) cannot be started, please disable app_link_up_internal() in init.c Thanks for Jasvinder for the solutions. So far, I can use pipeline (l2fwd and firewall) in KVM (Ubuntu 14.04), if other guys have problem on my config, feel free to contact me; On Thu, Jan 28, 2016 at 10:14 PM, Singh, Jasvinder < jasvinder.singh@intel.com> wrote: > Hi Royce, > > > > > On 25/01/2016 17:21, Royce Niu wrote: > > > $ sudo build/ip_pipeline -f config/l3fwd.cfg -p 0x3 [APP] Initializin= g > > > CPU core map ... > > > PANIC in app_init_core_mask(): > > > Cannot create CPU core mask > > > 6: [build/ip_pipeline() [0x431b43]] > > > 5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) > > > [0x7f6417199ec5]] > > > 4: [build/ip_pipeline(main+0x5f) [0x4306ff]] > > > 3: [build/ip_pipeline(app_init+0x1bff) [0x43feaf]] > > > 2: [build/ip_pipeline(__rte_panic+0xc9) [0x42b11a]] > > > 1: [build/ip_pipeline(rte_dump_stack+0x1a) [0x4c9fca]] > > > > > > Cfg: > > > > > > [PIPELINE0] > > > type =3D MASTER > > > core =3D 0 > > > > > > [PIPELINE1] > > > type =3D PASS-THROUGH > > > core =3D 1 > > > pktq_in =3D RXQ0.0 RXQ1.0 > > > pktq_out =3D TXQ1.0 TXQ0.0 > > > > > In the above configuration, you are using two cores. In case, if you are > running IP_Pipeline application in VM, you have to bind right number of > cores. To do so, you need to set -smp parameter used in qemu as below- > > =E2=80=93smp sockets=3D1,cores=3D2 (in case pipeline app requires more co= res to be > used, then assign more cores). > > Hope, it will fix the above error. > > Thanks, > Jasvinder > --=20 Regards, Royce Niu