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 34A35A2EEB for ; Wed, 11 Sep 2019 18:30:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3776E1E4DC; Wed, 11 Sep 2019 18:30:45 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 6ADC71E4DB for ; Wed, 11 Sep 2019 18:30:42 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Sep 2019 09:30:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,492,1559545200"; d="scan'208";a="179073476" Received: from irsmsx110.ger.corp.intel.com ([163.33.3.25]) by orsmga008.jf.intel.com with ESMTP; 11 Sep 2019 09:30:40 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.26]) by irsmsx110.ger.corp.intel.com ([169.254.15.189]) with mapi id 14.03.0439.000; Wed, 11 Sep 2019 17:30:39 +0100 From: "Iremonger, Bernard" To: Jeff Weeks , "dev@dpdk.org" Thread-Topic: Intel X710 and DPDK... Thread-Index: AQHVaADUJyE9j406rEeMJNZAZGjpCqcmqk4w Date: Wed, 11 Sep 2019 16:30:38 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C260DF6E07@IRSMSX108.ger.corp.intel.com> References: In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNjgwYjg3MDItMzdlOC00ZTM3LTkxY2UtMTg5YTQ4NTg4MjNjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiR2ZEeEZiU0J6bUh3RFh1NTN2UllwQnJDZ2NJS29JQXpIWmpDMUF6VnBxUTl5VTBtaEVUMndWZlBhRmFOT0RtdCJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] Intel X710 and DPDK... X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Jeff, > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jeff Weeks > Sent: Tuesday, September 10, 2019 8:49 PM > To: dev@dpdk.org > Subject: [dpdk-dev] Intel X710 and DPDK... >=20 > Hello, >=20 >=20 > I have some questions regarding the i40e driver in reference to Intel X71= 0 > NICs. >=20 >=20 > I have several 10G X710 cards on a host, mapped into a kvm-based guest vi= a > PCI-passthrough. >=20 >=20 > DPDK sees these cards (the 6 in "Other Network Devices"): >=20 > # dpdk-devbind --status >=20 > Network devices using kernel driver > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 0000:00:03.0 '82540EM Gigabit Ethernet Controller 100e' if=3Deth0 drv=3De= 1000 > unused=3Duio_pci_generic > 0000:00:04.0 'Virtio network device 1000' if=3Deth1 drv=3Dvirtio-pci > unused=3Duio_pci_generic >=20 > Other Network devices > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 0000:00:09.0 'Ethernet Controller X710 for 10GbE SFP+ 1572' > unused=3Duio_pci_generic > 0000:00:0a.0 'Ethernet Controller X710 for 10GbE SFP+ 1572' > unused=3Duio_pci_generic > 0000:00:0b.0 'Ethernet Controller X710 for 10GbE SFP+ 1572' > unused=3Duio_pci_generic > 0000:00:0c.0 'Ethernet Controller X710 for 10GbE SFP+ 1572' > unused=3Duio_pci_generic > 0000:00:0d.0 'Ethernet Controller X710 for 10GbE SFP+ 1572' > unused=3Duio_pci_generic > 0000:00:0e.0 'Ethernet Controller X710 for 10GbE SFP+ 1572' > unused=3Duio_pci_generic >=20 > No 'Crypto' devices detected > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D >=20 > No 'Eventdev' devices detected > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D >=20 > No 'Mempool' devices detected > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D >=20 > No 'Compress' devices detected > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D >=20 > But it wont bind them to the i40e driver: >=20 > root@10.129.182.229:~# dpdk-devbind -b i40e "0000:00:09.0" > Error: bind failed for 0000:00:09.0 - Cannot bind to driver i40e >=20 > I'm wondering what I can do to debug this? >=20 > Thanks, > Jeff You cannot bind DPDK to the i40e kernel driver. Try the following: ./dpdk/usertools/dpdk-devbind.py -b igb_uio 0000:00:09.0 or ./dpdk/usertools/dpdk-devbind.py -b uio_pci_generic 0000:00:09.0 Regards,