From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <NissimN@Radware.com>
Received: from ILCAS1.corp.radware.com (mailout1.radware.com [192.115.180.130])
 by dpdk.org (Postfix) with ESMTP id E31A85688
 for <dev@dpdk.org>; Thu, 19 Mar 2015 18:58:20 +0100 (CET)
Received: from ILMB1.corp.radware.com ([169.254.1.171]) by
 ILCAS1.corp.radware.com ([176.200.120.121]) with mapi id 14.03.0210.002; Thu,
 19 Mar 2015 19:58:20 +0200
From: Nissim Nisimov <NissimN@Radware.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Thread-Topic: Queries on DPDK working with XL710 intel NIC
Thread-Index: AdBiaigzoMVE8bpXSxeCGNqpWpVq4Q==
Date: Thu, 19 Mar 2015 17:58:19 +0000
Message-ID: <94AA676E9B9A384A844E7692F3CAD906423BDF6F@ILMB1.corp.radware.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [176.200.120.119]
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: [dpdk-dev] Queries on DPDK working with XL710 intel NIC
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Mar 2015 17:58:21 -0000

Hi all,

I am trying to work with intel XL710 40GIG NIC but for some reason when try=
ing to load it via dpdk I am getting the following error:


EAL: PCI device 0000:21:00.1 on NUMA socket 1
EAL:   probe driver: 8086:1583 rte_i40e_pmd
EAL:   PCI memory mapped at 0x7fff939f9000
EAL:   PCI memory mapped at 0x7fffd54b8000
EAL: Error - exiting with code: 1
  Cause: Requested device 0000:21:00.1 cannot be used

It seems that the "problematic" functions is i40e_aq_get_firmware_version()=
 in the following line:
status =3D i40e_asq_send_command(hw, &desc, NULL, 0, cmd_details);
                (gdb) p status
$3 =3D I40E_ERR_ADMIN_QUEUE_TIMEOUT


I did read in another mail thread (attached below) that this might be a fir=
mware issue so i upgraded my NIC firmware version to latest but still not a=
ble to get it work:

root@lagavulin:~# ethtool -i eth24
driver: i40e
version: 1.2.37
firmware-version: f4.33.31377 a1.2 n4.42 e1932
bus-info: 0000:21:00.1
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes


any idea why I still see the issue?

thanks!
Nissim



Hi Yan



Please tell me what version of firmware are you using? If it is too old, pl=
ease update to at least 4.2.6.

If it is still there, check that if your firmware updating is really succes=
sful. You can try to run linux kernel driver to have a double check.



Regards,

Helin



From: Yan Freedland [mailto:YanF at Radware.com<http://dpdk.org/ml/listinfo=
/dev>]

Sent: Thursday, March 19, 2015 12:28 AM

To: Zhang, Helin

Cc: dev at dpdk.org<http://dpdk.org/ml/listinfo/dev>

Subject: [dpdk-dev] i40e_aq_get_firmware_version failure



Hi,



I am trying to start DPDK with 40G Intel NIC and get a failure at initializ=
ation stage in i40e_aq_get_firmware_version(). For some reason this functio=
n reaches TIMEOUT for more than maximum allowed times (10 times). In the no=
te below I understand that several failures may be considerable but not as =
many as I have.



Should I enlarge the retries number ?

Is it a HW issue ?



Anyone who faced it or may assist please comment.



Thanks,

Yan