From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from thsbbfxrt02p.thalesgroup.com (thsbbfxrt02p.thalesgroup.com [192.93.158.29]) by dpdk.org (Postfix) with ESMTP id 3EB52F94 for ; Fri, 23 Jun 2017 14:56:42 +0200 (CEST) Received: from thsbbfxrt02p.thalesgroup.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 3wvJP6157xz8ct for ; Fri, 23 Jun 2017 14:56:42 +0200 (CEST) From: DESBRUS Maxime To: "users@dpdk.org" Date: Fri, 23 Jun 2017 14:56:40 +0200 Thread-Topic: DPDK triggers "unqualified module" error in i40e driver Thread-Index: AdLsHxE/D/DIELooR8+/4HCO7wqqKQ== Message-ID: <6C26BDBD2FD19B418E20F4A951DDC74A17D6669B52@THSONEA01CMS08P.one.grp> Accept-Language: fr-FR Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: fr-FR x-pmwin-version: 3.1.3.0, Antivirus-Engine: 3.68.0, Antivirus-Data: 5.40 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-users] DPDK triggers "unqualified module" error in i40e driver 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: Fri, 23 Jun 2017 12:56:42 -0000 Hello, I am playing with DPDK to capture packets on two 10GbE interfaces (Intel XL= 710 card). Receiving packets with DPDK (with the igb_uio driver) works fine using the = example l2fwd program with small minor changes. However when I try to load the original Linux i40e driver with: sudo -s python3 ~/dpdk-17.02/usertools/dpdk-devbind.py -b i40e 0f:00.0 The i40e module loads, but I get the following error in the kernel logs: i40e 0000:0f:00.0 enp15s0f0: the driver failed to link because an unqua= lified module was detected. And the interfaces stay in "NO_CARRIER" state, which prevents them from sen= ding/receiving anything: $ ip link show enp15s0f0 243: enp15s0f0: mtu 1500 qdisc mq p= ortid 3cfdfe151da0 state DOWN mode DEFAULT group default qlen 1000 link/ether 3c:fd:fe:15:1d:a0 brd ff:ff:ff:ff:ff:ff The only way to fix this is a complete reboot. The optical modules I am using are Intel E10GSFPSR, as recommended by Intel= (https://www-ssl.intel.com/content/www/us/en/support/network-and-i-o/ether= net-products/000007045.html), and are definitely not "unqualified". Normally, I would tend to think this is a bug in the i40e driver and not in= DPDK, however this problem *only occurs after having used DPDK*, so this i= s suspicious. If I load/unload the i40e module hundreds of time with traffic in between I= never get this issue. I tried DPDK v17.02 and v16.11.1 and the same error occurs. I also tried di= fferent i40e Intel driver versions, same thing. Currently I'm on Ubuntu 16.04 x86_64 with kernel 4.4 and i40e driver v1.4.2= 5-k (the one shipped with the Ubuntu kernel). Maybe DPDK is doing something on the hardware that causes the interface to = be stuck in NO_CARRIER state, any ideas? Thank you