From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 9E9542B96 for ; Tue, 6 Dec 2016 10:51:29 +0100 (CET) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP; 06 Dec 2016 01:51:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,309,1477983600"; d="scan'208,217";a="199494991" Received: from irsmsx108.ger.corp.intel.com ([163.33.3.3]) by fmsmga004.fm.intel.com with ESMTP; 06 Dec 2016 01:51:27 -0800 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.79]) by IRSMSX108.ger.corp.intel.com ([169.254.11.159]) with mapi id 14.03.0248.002; Tue, 6 Dec 2016 09:51:27 +0000 From: "Zhang, Roy Fan" To: "Thulaseedharan Nair, Aswathy" CC: "users@dpdk.org" , "Singh, Jasvinder" Thread-Topic: IP_PIPELINE DPDK Thread-Index: AdJPW46bofXEzWQTTa+qGfHFBKxcKgASHDvg Date: Tue, 6 Dec 2016 09:51:26 +0000 Message-ID: <9F7182E3F746AB4EA17801C148F3C60409E3DDB1@IRSMSX102.ger.corp.intel.com> References: In-Reply-To: Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZjNmNzRhODgtNGE5NS00MWIyLTkwNjAtNTE3MjZkOGVkNmZhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IkowZnF1eXRHTlM3MStiYkZ1QXkrWlZ1Rmk0a0FKanIybndlVUlZQTZJXC80PSJ9 x-originating-ip: [163.33.239.180] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] IP_PIPELINE DPDK X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2016 09:51:30 -0000 Dear Aswathy, Latest DPDK 16.11 supports Mellanox MLX4 and MLX5 NICs, however the PMD dri= ver of them was disabled by default. You may enable them in DPDK_ROOT_PATH/config/common_base file instead of co= nfig/common_linuxapp. Please search "CONFIG_RTE_LIBRTE_MLX4_PMD" and "CONFIG_RTE_LIBRTE_MLX5_PMD"= and set their values to "y" You then can save the file and recompile DPDK. Unfortunately I didn't have the chance to operate a Mellanox NIC, thus ther= e might be further steps to be done in order to use this NIC in DPDK. You m= ay find useful information at http://www.mellanox.com/related-docs/prod_sof= tware/MLNX_DPDK_Quick_Start_Guide_v2.2_3.9.pdf, please note this guide targ= ets DPDK 2.2 so some steps relating to DPDK may be obsolete. In case you have further questions, please CC your next email to user@dpdk.= org so it will appear in mailing list. It may be usef= ul for someone else later :) Regards, Fan From: Thulaseedharan Nair, Aswathy Sent: Tuesday, December 6, 2016 12:56 AM To: Zhang, Roy Fan Cc: Thulaseedharan Nair, Aswathy Subject: IP_PIPELINE DPDK Hi Fan, I am working on dpdk ip_pipeline. While I was trying to run dpdk ip_pipelin= e on Mellanox 100G NIC , I am getting the following error message. EAL: Support maximum 128 logical core(s) by configuration. EAL: Detected 88 lcore(s) EAL: Probing VFIO support... EAL: Module /sys/module/vfio_pci not found! error 2 (No such file or direct= ory) EAL: VFIO modules not loaded, skipping VFIO support... EAL: Setting up physically contiguous memory... EAL: Ask a virtual area of 0x200000000 bytes EAL: Virtual area found at 0x7f5d80000000 (size =3D 0x200000000) EAL: Ask a virtual area of 0x200000000 bytes EAL: Virtual area found at 0x7f5b40000000 (size =3D 0x200000000) EAL: Requesting 8 pages of size 1024MB from socket 0 EAL: Requesting 8 pages of size 1024MB from socket 1 EAL: TSC frequency is ~2194914 KHz EAL: Master lcore 0 is ready (tid=3Db0e35900;cpuset=3D[0]) EAL: lcore 1 is ready (tid=3Daf504700;cpuset=3D[1]) EAL: PCI device 0000:09:00.0 on NUMA socket 0 EAL: probe driver: 8086:1521 rte_igb_pmd EAL: Not managed by a supported kernel driver, skipped EAL: PCI device 0000:09:00.1 on NUMA socket 0 EAL: probe driver: 8086:1521 rte_igb_pmd EAL: Not managed by a supported kernel driver, skipped [APP] Initializing MEMPOOL0 ... [APP] Initializing MEMPOOL1 ... [APP] Initializing LINK0 (0) (1 RXQ, 1 TXQ) ... PANIC in app_init_link(): LINK0 (0): init error (-22) 6: [./build/ip_pipeline() [0x4342c5]] 5: [/lib64/libc.so.6(__libc_start_main+0xf5) [0x7f5fafd27b15]] 4: [./build/ip_pipeline(main+0x5f) [0x43346f]] 3: [./build/ip_pipeline(app_init+0x1aa3) [0x4435c3]] 2: [./build/ip_pipeline(__rte_panic+0xc9) [0x42d903]] 1: [./build/ip_pipeline(rte_dump_stack+0x1a) [0x4cfbfa]] Aborted (core dumped) Do you know why I am getting this app_init_link error? I have tried the sam= e application on INTEL 100G NIC. It was successful. I followed the same st= eps in implementing ip_pipeline in Mellanox too. But not sure, what is caus= ing the error. Any help will be really appreciated. Thanks, Aswathy