[dpdk-users] Request an example config for DPDK IP PIPELINE

Zhang, Roy Fan roy.fan.zhang at intel.com
Thu Jan 28 13:19:02 CET 2016


Hello,

Thank you for using IP Pipeline.

Could you send me your cpu information by using following command

cat /proc/cpuinfo

  so I can check the problem?

Regards,
Fan




On 25/01/2016 17:21, Royce Niu wrote:
> $ 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 <jasvinder.singh at intel.com
>> wrote:
>>
>>
>>
>> *From:* Royce Niu [mailto:royceniu at gmail.com]
>> *Sent:* Monday, January 25, 2016 5:10 PM
>> *To:* Singh, Jasvinder
>> *Cc:* Royce Niu; Thomas Monjalon; users at 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 at intel.com> wrote:
>>
>> Hi Royce,
>>
>>> -----Original Message-----
>>> From: users [mailto:users-bounces at dpdk.org] On Behalf Of Royce Niu
>>> Sent: Monday, January 25, 2016 4:03 PM
>>> To: Thomas Monjalon
>>> Cc: users at 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
>>
>
>



More information about the users mailing list