From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: BUG: DPDK i40e does not work with VFIO Date: Fri, 6 Nov 2015 09:26:08 -0800 Message-ID: <20151106092608.598ba6db@xeon-e3> References: <20151105091925.0bbb0816@xeon-e3> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit To: Helin Zhang , , Jesse Brandeburg , "Ronciak, John" Return-path: Received: from mail-ig0-f181.google.com (mail-ig0-f181.google.com [209.85.213.181]) by dpdk.org (Postfix) with ESMTP id 64ED88DA9 for ; Fri, 6 Nov 2015 18:25:59 +0100 (CET) Received: by igbhv6 with SMTP id hv6so39755395igb.0 for ; Fri, 06 Nov 2015 09:25:58 -0800 (PST) In-Reply-To: <20151105091925.0bbb0816@xeon-e3> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, 5 Nov 2015 09:19:25 -0800 Stephen Hemminger wrote: > On my machine, i40e will not startup if using VFIO. > > PMD: rte_i40evf_pmd_init(): >> > PMD: rte_i40e_pmd_init(): >> > PMD: eth_i40e_dev_init(): >> > PMD: i40e_set_symmetric_hash_enable_per_port(): Symmetric hash has already been disabled > PMD: eth_i40e_dev_init(): Failed to init adminq: -54 > > The normal Linux driver works correctly. Firmware has been updated to the latest version. > > Like my earlier experience with fm10k, I suspect that Intel never tests i40e with IOMMU, > and only tested with igb_uio. I found the issue. It was a problem with older version of Xen DOM0 patches which were still outstanding in the internal development package.