From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by dpdk.org (Postfix) with ESMTP id 858DA2A63 for ; Wed, 17 Jan 2018 11:18:50 +0100 (CET) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 13B32ACA6; Wed, 17 Jan 2018 10:18:50 +0000 (UTC) To: "Patil, Harish" Cc: "Mody, Rasesh" , "users@dpdk.org" References: <3c94a4de-9d94-4c5d-85fa-4eb0829a53f8@suse.de> From: Nirmoy Das Message-ID: <5c32a66f-9605-7d1b-dedf-dddab94435b6@suse.de> Date: Wed, 17 Jan 2018 11:18:49 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-users] bnx2x_init failed 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, 17 Jan 2018 10:18:50 -0000 Hi Harish, kni example application. here's the command that fails. dpdk_example_kni -- -P -p 1 --config="(0,1,2,3)" Adding more details PCI devices for eth0 and eth1 remain bound to bnx2x driver 0000.04:00.0 eth0 0000.04:00.1 eth1 The rest are bound to igb_uio driver 0000.04:00.2 [...] 0000.04:00.7 ########################################### dpdk_example_kni -- -P -p 1 --config="(0,1,2,3)" Fails, Cause: Could not start port0 (-1) ########################################### dpdk_example_kni -- -P -p 2 --config="(1,4,5,6)" Works pci device 04:00.03 Lcore 4 is reading from port1 Lcore 5 is writing to port1 ########################################### dpdk_example_kni -- -P -p 4 --config="(2,1,2,3)" Fails, Cause: Could not start port2 (-1) They are still trying to use Lcore 1&2 Environment: ============ SLES 12 SP3 Kernel 4.4.73-5-default x86_64 dpdk-tools-16.11.1-6.50.x86_64 dpdk-kmp-default-16.11.1_k4.4.73_5-6.50.x86_64 dpdk-16.11.1-6.50.x86_64 Hardware: ========= # /usr/sbin/hwinfo --netcard 87: PCI 400.0: 0200 Ethernet controller [Created at pci.378] Unique ID: rBUF.sL+v+HVDdA2 Parent ID: _Znp.dXj21w8z979 SysFS ID: /devices/pci0000:00/0000:00:02.0/0000:04:00.0 SysFS BusID: 0000:04:00.0 Hardware Class: network Device Name: "NIC Port 1" Model: "Hewlett-Packard Company Flex-10 10Gb 2-port 530FLB Adapter [Meru]" Vendor: pci 0x14e4 "Broadcom" Device: pci 0x168e "NetXtreme II BCM57810 10 Gigabit Ethernet" SubVendor: pci 0x103c "Hewlett-Packard Company" SubDevice: pci 0x1798 "Flex-10 10Gb 2-port 530FLB Adapter [Meru]" Revision: 0x11 Driver: "bnx2x" Driver Modules: "bnx2x" Device File: eth0 Features: FCoEOffload = off, iSCSIOffload = off, StorageOnly = off Memory Range: 0xf6000000-0xf67fffff (ro,non-prefetchable) Memory Range: 0xf5800000-0xf5ffffff (ro,non-prefetchable) Memory Range: 0xf57f0000-0xf57fffff (ro,non-prefetchable) Memory Range: 0xf0000000-0xf007ffff (ro,non-prefetchable,disabled) IRQ: 81 (no events) HW Address: 74:46:a0:f5:03:80 Permanent HW Address: 74:46:a0:f5:03:80 Link detected: no Module Alias: "pci:v000014E4d0000168Esv0000103Csd00001798bc02sc00i00" Driver Info #0: Driver Status: bnx2x is active Driver Activation Cmd: "modprobe bnx2x" Config Status: cfg=no, avail=yes, need=no, active=unknown Attached to: #56 (PCI bridge) # /sbin/ethtool -i eth0 driver: bnx2x version: 1.712.30-0 firmware-version: bc 7.14.62 expansion-rom-version: bus-info: 0000:04:00.0 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: yes supports-priv-flags: yes On 01/16/2018 06:58 PM, Patil, Harish wrote: > > > -----Original Message----- > From: Nirmoy Das > Date: Tuesday, January 16, 2018 at 8:39 AM > To: Harish Patil > Cc: "Mody, Rasesh" , "users@dpdk.org" > > Subject: bnx2x_init failed > >> Hi Harish/Rasesh, >> >> I am getting following error on NetXtreme II BCM57810 10 Gigabit >> Ethernet while running dpdk KNI/testpmd application >> >> PMD: bnx2x_reg_write32(): offset=0x0000a3c8 val=0x00000800 >> PMD: bnx2x_init(): Initialization failed, stack notified driver is NOT >> running! >> PMD: bnx2x_dev_start(): bnx2x_init failed (-6) >> EAL: Error - exiting with code: 1 >> Cause: Could not start port0 (-1) >> >> I can't figure out why, its running on 4.4.103-6.38-default and have the >> required firmware. Do you have any suggestion why we are facing this issue >> >> Regards, >> Nirmoy >> -- >> SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB >> 21284 (AG Nürnberg) Maxfeldstr. 5 >> D-90409 Nürnberg / Phone: +49-911-740 18-4 > > > Hi Nirmoy, > Is it testpmd or KNI or both which is not working? > Pls provide the exact cmdline you used to launch the applications? > > Thanks. >> > Nirmoy -- SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Maxfeldstr. 5 D-90409 Nürnberg / Phone: +49-911-740 18-4