From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D784FA059F for ; Fri, 10 Apr 2020 14:46:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B91D91D542; Fri, 10 Apr 2020 14:46:05 +0200 (CEST) Received: from smtp1.kaist.ac.kr (smtp1.kaist.ac.kr [143.248.5.228]) by dpdk.org (Postfix) with ESMTP id 39CAB1C1AF for ; Fri, 10 Apr 2020 10:30:02 +0200 (CEST) Received: from unknown (HELO mail1.kaist.ac.kr) (143.248.5.247) by 143.248.5.228 with ESMTP; 10 Apr 2020 17:29:57 +0900 X-Original-SENDERIP: 143.248.5.247 X-Original-MAILFROM: sunghyuk.kay@kaist.ac.kr X-Original-RCPTTO: users@dpdk.org Received: from kaist.ac.kr (209.85.166.172) by kaist.ac.kr with ESMTP imoxion SensMail SmtpServer 7.0 id for from ; Fri, 10 Apr 2020 17:29:58 +0900 Received: by mail-il1-f172.google.com with SMTP id p13so1219396ilp.3 for ; Fri, 10 Apr 2020 01:29:59 -0700 (PDT) X-Gm-Message-State: AGi0Pubd6yJcrcdfFLanLprhqulUgsjy1DtRTaS2C/c7UwsC4R/cyvx+ ibFVVMXEMZKBeinCotZViBGB0kc//H3BsCrf+b+p+A== X-Google-Smtp-Source: APiQypLiwIFTD9n7+kwwl/T1Xo7KZFqimWll0ap9WEFux375g/u+mJUxbk9//240z9IREr8UTniKOYwHMLpD81b//RQ= X-Received: by 2002:a92:af11:: with SMTP id n17mr4308545ili.197.1586507398305; Fri, 10 Apr 2020 01:29:58 -0700 (PDT) MIME-Version: 1.0 From: Sunghyuk Kay Date: Fri, 10 Apr 2020 17:29:47 +0900 X-Gmail-Original-Message-ID: Message-ID: To: users@dpdk.org X-Mailman-Approved-At: Fri, 10 Apr 2020 14:46:04 +0200 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] "eth_i40e_dev_init(): Failed to init adminq: -66" problem 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: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi all, I'm setting DPDK on our hardware to do some experiment, but suffering from . I was trying to use DPDK on Ubuntu 18.04 with Intel XL710 Ethernet Adapter with igb_uio driver. I've compiled DPDK from source, and bound the driver to NIC. But when I run `testpmd` application, it returns an error like this. ``` $ sudo ./build/app/testpmd EAL: Detected 128 lcore(s) EAL: Detected 1 NUMA nodes EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'PA' EAL: No available hugepages reported in hugepages-1048576kB EAL: Probing VFIO support... EAL: PCI device 0000:81:00.0 on NUMA socket 0 EAL: probe driver: 8086:1583 net_i40e eth_i40e_dev_init(): Failed to init adminq: -66 EAL: ethdev initialisation failedEAL: Requested device 0000:81:00.0 cannot be used EAL: PCI device 0000:81:00.1 on NUMA socket 0 EAL: probe driver: 8086:1583 net_i40e eth_i40e_dev_init(): Failed to init adminq: -66 EAL: ethdev initialisation failedEAL: Requested device 0000:81:00.1 cannot be used EAL: PCI device 0000:c4:00.0 on NUMA socket 0 EAL: probe driver: 8086:1533 net_e1000_igb EAL: PCI device 0000:c5:00.0 on NUMA socket 0 EAL: probe driver: 8086:1533 net_e1000_igb testpmd: No probed ethernet devices testpmd: create a new mbuf pool : n=1163456, size=2176, socket=0 testpmd: preferred mempool ops selected: ring_mp_mc Done No commandline core given, start packet forwarding io packet forwarding - ports=0 - cores=0 - streams=0 - NUMA support enabled, MP allocation mode: native io packet forwarding packets/burst=32 nb forwarding cores=1 - nb forwarding ports=0 Press enter to exit Telling cores to stop... Waiting for lcores to finish... +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. Bye... ``` I tried to find what return code -66 from adminq means, but I couldn't find it. Some say this might have to do with Intel IOMMU pass-through, but I'm not sure that's the case. Has anyone had this issue before? Maybe some tip on this issue would be very helpful. Thank you, Sunghyuk