From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f171.google.com (mail-qt0-f171.google.com [209.85.216.171]) by dpdk.org (Postfix) with ESMTP id ECA592BE5 for ; Thu, 25 Jan 2018 14:30:12 +0100 (CET) Received: by mail-qt0-f171.google.com with SMTP id c2so19084636qtn.9 for ; Thu, 25 Jan 2018 05:30:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=LfuxfrnW783TFR1Or5VwL+Ln2I2DxlgRVIzqTv+0AIA=; b=ZmQVL+0DIdg9EQxDmEDV7LuWHqmPYnXpxn7yTh4vgF3gRJkohtPjssIYh8VUbHCwdb PsZybFSNUuHU5KfOx3uHzk9SdAAiCxz8LsP+kDXIchgrT4ldeedS+qrhdr/yX480Pn7F FS8E4LwP3mGFUg091jeAtxc11Al0vVYVATwhsTMqtX7pGX8kJCcASeeFIZq4aMfl+ay2 NJLzc3i1sA9+VFD1yonsmJc5skIOSpK+iaYnIuDJd7FtqZwzOXyXbqX6cULo7hGM6euD a4olpbPdoVlM+KzDK+mBuHMOzVt4hOOFZUkeTpYVZgzVZKb+w0olOieT8lwtvuO/43Es XVCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=LfuxfrnW783TFR1Or5VwL+Ln2I2DxlgRVIzqTv+0AIA=; b=YlXxCJ3Elbuerz+521QiTeBUcOLaoAUglzGEcjKtHDbTRD4VniOVkLAQetiKiewsx1 dfH8cDz9Sd4R2wJQX9DmKExb5O8GVc0zC12xz4fzwiqx4C4QQHZqdA4HshUBZmUsXVRO Jq3vAnWtP/Q6cVZqFglWa4/FZBgRQ16ONpuOMpCQoHg6hjzfBMpymxXTAtQhQrwqBk6U lv5AHEqnbcbceLw8xiQn9LpXmYSqqp0jbLbobIKcdeq5isgCNj0BOm2zHkjFGPeXsoQr cRtzukY6Pf3SyWKnOakZEOJGyccnIEAT0Eu9IBTuhT/W4l9DC/Fqzym+b1t+GsasSRlI RUcA== X-Gm-Message-State: AKwxytdQ8JOs0iLax6AkXScrydPIWrsDSZbXsoWmT9t8EpYJLZrUNP+j mEjhc8T6km5LAX1eTdt0yNwvAB/ybwWTx5veG4g= X-Google-Smtp-Source: AH8x225duzA14xRZQ2ilpwM1CBHm0JzM4+5jwcFg+yPhFR1ikvHq1CWDWLK3FiYw5bThaFP0KXpOBhzrB6rxnQmjVFw= X-Received: by 10.237.52.162 with SMTP id x31mr15982694qtd.6.1516887011956; Thu, 25 Jan 2018 05:30:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.136.83 with HTTP; Thu, 25 Jan 2018 05:30:10 -0800 (PST) Received: by 10.12.136.83 with HTTP; Thu, 25 Jan 2018 05:30:10 -0800 (PST) In-Reply-To: <5c32a66f-9605-7d1b-dedf-dddab94435b6@suse.de> References: <3c94a4de-9d94-4c5d-85fa-4eb0829a53f8@suse.de> <5c32a66f-9605-7d1b-dedf-dddab94435b6@suse.de> From: nirmoy das Date: Thu, 25 Jan 2018 14:30:10 +0100 Message-ID: To: Nirmoy Das Cc: "Patil, Harish" , "Mody, Rasesh" , "users@dpdk.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 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: Thu, 25 Jan 2018 13:30:13 -0000 Hi Harish, Do you need any other logs/info for this? Regards, Nirmoy On Jan 17, 2018 11:18 AM, "Nirmoy Das" wrote: > Hi Harish, > > kni example application. > > here's the command that fails. > dpdk_example_kni -- -P -p 1 --config=3D"(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=3D"(0,1,2,3)" > Fails, Cause: Could not start port0 (-1) > ########################################### > dpdk_example_kni -- -P -p 2 --config=3D"(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=3D"(2,1,2,3)" > Fails, Cause: Could not start port2 (-1) > They are still trying to use Lcore 1&2 > > > > Environment: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 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: > =3D=3D=3D=3D=3D=3D=3D=3D=3D > # /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 =3D off, iSCSIOffload =3D off, StorageOnly =3D of= f > 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=3Dno, avail=3Dyes, need=3Dno, active=3Dunknown > 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=3D0x0000a3c8 val=3D0x00000800 > >> 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 t= he > >> required firmware. Do you have any suggestion why we are facing this > issue > >> > >> Regards, > >> Nirmoy > >> -- > >> SUSE Linux GmbH, GF: Felix Imend=C3=B6rffer, Jane Smithard, Graham Nor= ton HRB > >> 21284 (AG N=C3=BCrnberg) Maxfeldstr. 5 > >> D-90409 N=C3=BCrnberg / 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=C3=B6rffer, Jane Smithard, Graham Norton= HRB > 21284 (AG N=C3=BCrnberg) Maxfeldstr. 5 > D-90409 N=C3=BCrnberg / Phone: +49-911-740 18-4 >