From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0073.outbound.protection.outlook.com [104.47.37.73]) by dpdk.org (Postfix) with ESMTP id 2EFB01B1C3; Wed, 25 Oct 2017 03:38:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=studentuml.onmicrosoft.com; s=selector1-student-uml-edu; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=LQRcjo2iq5jGvE45eEVQj7rWsS7fcZw4TYAHdZRYnks=; b=xO2U23hBPy7FJBHpqQM7DE1LxCZRVr5CD6oQ0euRIFtHczLOcSU02kiqlAyhwH13HjLhXTKZ2xN9cBA93gxga4ZkTf3dFFOHZy4OMLj9+S0isHpVtfm/4mu/MYW68F/7Xqro/4xrUjJTprQ0DH4Hx7yHnbynPArffFmeCX3QGHw= Received: from BN6PR02MB2689.namprd02.prod.outlook.com (10.175.95.15) by BN6PR02MB2689.namprd02.prod.outlook.com (10.175.95.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.156.4; Wed, 25 Oct 2017 01:38:38 +0000 Received: from BN6PR02MB2689.namprd02.prod.outlook.com ([10.175.95.15]) by BN6PR02MB2689.namprd02.prod.outlook.com ([10.175.95.15]) with mapi id 15.20.0156.007; Wed, 25 Oct 2017 01:38:38 +0000 From: "Wu, Xiaoban" To: "Patil, Harish" , "users@dpdk.org" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] problem with Qlogic NIC QL45611H Thread-Index: AQHTTSV232qV2QM14UKi5CEwb2Rmm6LzSb6AgAB/Z2w= Date: Wed, 25 Oct 2017 01:38:38 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Xiaoban_Wu@student.uml.edu; x-originating-ip: [129.63.5.158] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BN6PR02MB2689; 6:t9zOh6Cfdav/g9xT1qka0nWHCvEXEJ77OrlcgHDyqD91RbL0iefDYwvbrA1r2M7i+QHyd90Vcd0ZsU+SAQ8HMMjDgKGKSTktUreyXzR+w6GFyn5a7Tgi50jeNaQyWv+Rzq1x/9DxfbDPuHtp28dd0XNUfDr8hQDpTegHHlVizyjjMvD8094IZg16jaDqtnAhhMvbI1p/+iszqdcFzyd+hXtx0PE1rUdB01Gdhfl3TCgsFUoMWasvfYJIryoH1zaRSpak33BAT+ekQ4eygrdFdP4roChY9nvylOI1eLz5O4VF4zCm7Wz34DndYYBlsCXsrHMixTnb+p0QqYp3/gkRKg==; 5:USNuCZW63JiDsGlagF1Xr+kCULBAR2hLvXzas0PxarqbJaXUPVDLl7rqIvt4aQjhT70iWFCBbrG6bgfEvOaFbX/8HjTbqF+KxaRArYZraXTJ1XH2Tjs2y8T8hbTUrk4m58GxHwNjVn5ANHCpkQgqyw==; 24:sEmTreivEp/yA0D/gN3Kp5U9AboAkACwvnJJcLKUUsrSnzLBykIEUZlVG6Eu9u0ygqODK3SSXN8ZilxAnGWavIsz2Yo6OrXpAIRjaEygXbw=; 7:BoTOwGHQJ9rqxI0qbxtLrBOv6sL9FyfUEeXGAjVk9Ml3GJpqZUNXuBxxxlU+az2jyeiVb9QOuMIwHdLqxDIWyBVp8cBwgqzknmNJl6vezx/H6kfppFA5sh/yZHFTMc/bR2RHkcX66KJ73DN7bH9GV08FTBRDmdD0M0gqE6VYH6aTwZE9fvyPvYYw0hQHv9FFIfMXE8ZEcDDPXSbUSY4tGtucRbuT28z/Pd2JnV4U/yY= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 6c107e91-8630-4df2-eb1b-08d51b491d6a x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(4627075)(201703031133081)(201702281549075)(2017052603199); SRVR:BN6PR02MB2689; x-ms-traffictypediagnostic: BN6PR02MB2689: x-exchange-antispam-report-test: UriScan:(278428928389397)(192823040165218)(269151656437849); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(10201501046)(3002001)(3231020)(100000703101)(100105400095)(93006095)(93001095)(6041248)(20161123555025)(20161123560025)(20161123558100)(20161123562025)(20161123564025)(201703131423075)(201702281529075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR02MB2689; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR02MB2689; x-forefront-prvs: 0471B73328 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(199003)(13464003)(53474002)(189002)(81156014)(81166006)(3660700001)(75432002)(101416001)(478600001)(19627405001)(786003)(74316002)(72206003)(106356001)(413944005)(316002)(25786009)(7736002)(105586002)(33656002)(99286003)(6306002)(236005)(3280700002)(8936002)(53936002)(189998001)(110136005)(55016002)(8676002)(54896002)(9686003)(6606003)(2900100001)(229853002)(6116002)(6506006)(68736007)(3846002)(77096006)(102836003)(42882006)(88552002)(7696004)(2950100002)(6436002)(5660300001)(6246003)(2906002)(53546010)(97736004)(2501003)(86362001)(2201001)(606006)(50986999)(76176999)(66066001)(14454004)(54356999); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR02MB2689; H:BN6PR02MB2689.namprd02.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: student.uml.edu does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: student.uml.edu X-MS-Exchange-CrossTenant-Network-Message-Id: 6c107e91-8630-4df2-eb1b-08d51b491d6a X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Oct 2017 01:38:38.1027 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4c25b8a6-17f7-46f9-83f0-54734ab81fb1 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR02MB2689 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] [dpdk-dev] problem with Qlogic NIC QL45611H 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: Wed, 25 Oct 2017 01:38:48 -0000 Dear Harish, Thanks very much for your reply and help. I have never enabled IOMMU. I have enabled those two flags and run the program again, now the error mes= sage is: EAL: PCI device 0000:82:00.0 on NUMA socket 1 EAL: probe driver: 1077:1644 net_qede [qede_common_dev_init:2198(82:00.0:dpdk-port-0)]Starting qede probe [QEDE PMD: ()]ecore_get_dev_info:device in CMT mode [ecore_get_dev_info:3384()]Chip details - BB B0, Num: 1634 Rev: 0001 Bond i= d: 0000 Metal: 0000 [ecore_hw_get_nvm_info:3024()]Multi function mode is 00000000 [__ecore_hw_set_resc_info:2683()]MFW allocation for resource 1 [L2_QUEUE] d= iffers from default values [64,0 vs. 256,0] [__ecore_hw_set_resc_info:2683()]MFW allocation for resource 3 [RSS_ENG] di= ffers from default values [128,0 vs. 127,0] [__ecore_hw_set_resc_info:2683()]MFW allocation for resource 10 [LL2_QUEUE]= differs from default values [32,0 vs. 48,0] [ecore_hw_get_nvm_info:3024()]Multi function mode is 00000000 [__ecore_hw_set_resc_info:2683()]MFW allocation for resource 1 [L2_QUEUE] d= iffers from default values [64,0 vs. 256,0] [__ecore_hw_set_resc_info:2683()]MFW allocation for resource 3 [RSS_ENG] di= ffers from default values [128,0 vs. 127,0] [__ecore_hw_set_resc_info:2683()]MFW allocation for resource 10 [LL2_QUEUE]= differs from default values [32,0 vs. 48,0] [qed_nic_setup:83(82:00.0:dpdk-port-0)]Allocated qed resources [QEDE PMD: ()]ecore_init_cmd_array:Using zipped firmware without config ena= bled [QEDE PMD: ()]ecore_hw_init:init phase failed for loadcode 0x10100000 (rc -= 3) [qed_slowpath_start:289(82:00.0:dpdk-port-0)]ecore_hw_init failed [qede_common_dev_init:2245(82:00.0:dpdk-port-0)]Cannot start slowpath rc = =3D -3 EAL: Requested device 0000:82:00.0 cannot be used Best wishes, Xiaoban ________________________________ From: Patil, Harish Sent: Tuesday, October 24, 2017 9:00 PM To: Wu, Xiaoban; users@dpdk.org; dev@dpdk.org Subject: Re: [dpdk-dev] problem with Qlogic NIC QL45611H -----Original Message----- From: dev on behalf of "Wu, Xiaoban" Date: Tuesday, October 24, 2017 at 5:36 PM To: "users@dpdk.org" , "dev@dpdk.org" Subject: [dpdk-dev] problem with Qlogic NIC QL45611H >Dear All, > > >I am trying to run some DPDK applications with the QL45611H NIC, however >I am facing a problem I don't know how to solve, could somebody please >help me? > > >I am using ubuntu 14.04 with kernel 3.16 on a Dell server. > >I downloaded the driver and firmware from >http://driverdownloads.qlogic.com/QLogicDriverDownloads_UI/SearchByProduct >.aspx?ProductCategory=3D325&Product=3D1265&Os=3D5 > >I firstly installed the driver, and then I rebooted the machine. Then I >installed the firmware, then I rebooted machine. Then I could see the >interface eth9 by command ifconfig. And also, the tcpdump can show the >traffic. > >The firmware is updated to qed_init_values_zipped-8.20.2.0.bin > > >Then I downloaded the dpdk-17.05 and modified the config/common_base file >with >CONFIG_RTE_LIBRTE_QEDE_FW=3D"/lib/firmware/qed/qed_init_values_zipped-8.20= .2 >.0.bin". I then installed the DPDK by "make -j8 install >T=3Dx86_64-native-linuxapp-gcc" > > >Then I run "sudo modprobe uio", "sudo insmod igb_uo.ko" and "sudo >dpdk-devbind.py --bind=3Digb_uio eth9" > > >Then I stared my dpdk application, it gave me the error message: > >EAL: PCI device 0000:82:00.0 on NUMA socket 1 >EAL: probe driver: 1077:1644 net_qede >[qed_slowpath_start:289(82:00.0:dpdk-port-0)]ecore_hw_init failed >[qede_common_dev_init:2245(82:00.0:dpdk-port-0)]Cannot start slowpath rc >=3D -3 >EAL: Requested device 0000:82:00.0 cannot be used > >Could anybody who has played with QLogic NIC please help me on how to >correctly start DPDK application step by step? Thanks very much for your >help. > >Best wishes, >Xiaoban [Harish] 1) Have you enabled IOMMU? If so, please try disabling it and try. 2) If (1) does not work then enable the below debug flag: CONFIG_RTE_LIBRTE_QEDE_DEBUG_INIT=3Dy CONFIG_RTE_LIBRTE_QEDE_DEBUG_INFO=3Dy and recompile using same make command and send the output. Thanks.