From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yk0-f180.google.com (mail-yk0-f180.google.com [209.85.160.180]) by dpdk.org (Postfix) with ESMTP id 5313E8D94 for ; Mon, 25 Jan 2016 18:21:59 +0100 (CET) Received: by mail-yk0-f180.google.com with SMTP id a85so168791361ykb.1 for ; Mon, 25 Jan 2016 09:21:59 -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=yTEYzFO68AqHGW9UpoqybDojutFJCrM+HJmTB1u8S18=; b=FJvWSfTsiLd5KHbmF+bRndshtYiN7X+eXdf5Y0iNX8a5w5nnWgglHNhVM3KnX76O2U soQp0YxPKzTCGX/ZmCIr+uv2O9ReqSb4SjaJ9HqHwqjc6hsTW/8Vv2z45Gwg6TIoHlbS 1ZkmU3Q+NphCv/Gud0w3VA9FVhUUot1J6gkJYcK6oFMc2dl8RWDg399EOyJ78KzaK+iE Lq8KwYZ5HX9B0WP71CX0UZA02NBcC+wKeM3IEVAfQJb22V6MWY9YeDeWHSHyc0eqfxlY 7sEWinGrJLmCiaFECTPsbGywsCl9tcfFpUcaZCpOMz1IBEJIgGsZkwM+cBi+IbhIftvz tipg== 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=yTEYzFO68AqHGW9UpoqybDojutFJCrM+HJmTB1u8S18=; b=gs81Tfu+bY8PX6ud6x8GEiZM0QuE+us/k9OfYwpQiwOhXZyTxOUyJRi87kUznUf9h5 RIsUfjxnnLFBjg6D8zUdFkyvtp7lMjsnjEsdmxOG9a8n1jQHrRTb24hh/NawDlDAHF1g 4mdD7gJcd9F4WTJc9a7jNemR6TriyLK44R9tJkyzoRP7Vl+x5Rw054sxVUnDpVLpSRy8 ZD9oF2Yc+OtDWNblKp0bVwpgF5wSpJt1T6JM8WftbUXl+T+sy/iVQKlQrHW9H40Y6wtK Ng7asNGnA7SlOxp81scwP4jSTl8/zUL+YL9rk2JbPLNUk75m+3p7qwlqGxIIJ1UeTdU2 wZlA== X-Gm-Message-State: AG10YOTG5IhalfhmmRJ3qob5BTGFvlPMJDfQJ0h0mr58O0sbAhIwGHpfRvMVciPIZdrEhA== X-Received: by 10.37.98.1 with SMTP id w1mr9817347ybb.24.1453742518845; Mon, 25 Jan 2016 09:21:58 -0800 (PST) Received: from mail-yk0-f171.google.com (mail-yk0-f171.google.com. [209.85.160.171]) by smtp.gmail.com with ESMTPSA id t11sm14766762ywg.16.2016.01.25.09.21.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jan 2016 09:21:58 -0800 (PST) Received: by mail-yk0-f171.google.com with SMTP id v14so168809739ykd.3 for ; Mon, 25 Jan 2016 09:21:58 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.129.90.214 with SMTP id o205mr7723441ywb.340.1453742518153; Mon, 25 Jan 2016 09:21:58 -0800 (PST) Received: by 10.37.209.209 with HTTP; Mon, 25 Jan 2016 09:21:58 -0800 (PST) X-Originating-IP: [2001:df1:801:a001:3540:7915:8137:2bc0] In-Reply-To: <54CBAA185211B4429112C315DA58FF6DDB1134@IRSMSX103.ger.corp.intel.com> References: <2104784.rzpFcqBxg0@xps13> <10314204.jjU71pdESo@xps13> <54CBAA185211B4429112C315DA58FF6DDB10F5@IRSMSX103.ger.corp.intel.com> <54CBAA185211B4429112C315DA58FF6DDB1134@IRSMSX103.ger.corp.intel.com> Date: Tue, 26 Jan 2016 01:21:58 +0800 X-Gmail-Original-Message-ID: Message-ID: From: Royce Niu To: "Singh, Jasvinder" Content-Type: text/plain; charset=UTF-8 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: Mon, 25 Jan 2016 17:21:59 -0000 $ sudo build/ip_pipeline -f config/l3fwd.cfg -p 0x3 [APP] Initializing 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 = MASTER core = 0 [PIPELINE1] type = PASS-THROUGH core = 1 pktq_in = RXQ0.0 RXQ1.0 pktq_out = TXQ1.0 TXQ0.0 On Tue, Jan 26, 2016 at 1:18 AM, Singh, Jasvinder wrote: > > > > > *From:* Royce Niu [mailto:royceniu@gmail.com] > *Sent:* Monday, January 25, 2016 5:10 PM > *To:* Singh, Jasvinder > *Cc:* Royce Niu; Thomas Monjalon; users@dpdk.org > *Subject:* Re: [dpdk-users] Request an example config for DPDK IP PIPELINE > > > > Thanks! > > > > I am not sure it is okay to ask an related question here: > > > > When I run any config in config folder, for example, l2fwd, there is > already an error: > > > > PANIC in app_init_core_mask(): > > Cannot create CPU core mask > > > > I only deleted two queues, since I have two interfaces. And other configs > in that folder will also cause this error. > > > > I am using DPDK 2.2 and sure the installation is good, since helloworld > and l2fwd (not pipeline) examples are ok. > > > > > > [Jasvinder]- What command are you using to run the l2fwd(pipeline)? Send > the error log. > > > > > > > > > > > > > > On Tue, Jan 26, 2016 at 1:00 AM, Singh, Jasvinder < > jasvinder.singh@intel.com> wrote: > > Hi Royce, > > > -----Original Message----- > > From: users [mailto:users-bounces@dpdk.org] On Behalf Of Royce Niu > > Sent: Monday, January 25, 2016 4:03 PM > > To: Thomas Monjalon > > Cc: users@dpdk.org > > Subject: Re: [dpdk-users] Request an example config for DPDK IP PIPELINE > > > > Thanks! > > > > Sorry to bother you again. > > If there any example config on firewall? > > I find http://dpdk.org/dev/patchwork/patch/5778/ from Google. > > However, the patch is not in both 2.2.0 and master. > > So, is the firewall usable? > > > > By the way, I will try my best to add the solution my problem in the doc. > > Firewall component exists in IP_Pipeline sample application. > Please check > > http://dpdk.org/browse/dpdk/tree/examples/ip_pipeline/config/edge_router_upstream.cfg > > In the above configuration file, firewall has been set up as first > pipeline in the chain. You can learn the configuration parameters of the > firewall from this file. > > For firewall rules, please check > > http://dpdk.org/browse/dpdk/tree/examples/ip_pipeline/config/edge_router_upstream.sh > > In the above script file, the rules have been defined for firewall > pipeline. > > > Thanks, > Jasvinder > > > > > > -- > > Regards, > > > > Royce Niu > -- Regards, Royce Niu