From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f174.google.com (mail-pd0-f174.google.com [209.85.192.174]) by dpdk.org (Postfix) with ESMTP id A2337C432 for ; Fri, 10 Jul 2015 19:24:40 +0200 (CEST) Received: by pdbqm3 with SMTP id qm3so43689420pdb.0 for ; Fri, 10 Jul 2015 10:24:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=P0flLj7GFFXb0CJ1dHeI181JSyTETJsn/MWwLBmQvEc=; b=Zhxihp5K8Dk8RwUZDuKtETXJirVrABncoOdxERF0epbdHH8h4cc/B/OjGD5+DnAukB kDfF6qVTPIvIaEk47QL1dJ+81wl4/tSI0q6I+BNBjZj6qDD1M/IjxG14+kAC9oULw7Sg 6TVzsSDh1+ELl02EoY0UTqjuX0JCUubSt6bF/Wx3H4AKEIGc1HH1keX1zDtxNbWzuhvZ +yrG85OwqqfnVIJUr5pRYgZSXfbQyz3tcqCZ+RhdTaMEViTt+ZeAO9CLTkBHxg/nhMMo pQvwuwi91zEagIU6aUqGcOKYaV/V/FRQ6oONNGXjczBremLybBgby5qmbHo2So05vqPW 4JHA== X-Gm-Message-State: ALoCoQk/ouGfNlW3kuhHeBU3QiipbxNbVKQ/lgfS0ZjuaRPqV6gmrz10+dFh/wgCpAih0sm8/EF8 X-Received: by 10.66.102.103 with SMTP id fn7mr44331297pab.85.1436549079828; Fri, 10 Jul 2015 10:24:39 -0700 (PDT) Received: from urahara (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by smtp.gmail.com with ESMTPSA id y1sm10219863pdy.2.2015.07.10.10.24.39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Jul 2015 10:24:39 -0700 (PDT) Date: Fri, 10 Jul 2015 10:24:48 -0700 From: Stephen Hemminger To: "Qiu, Michael" Message-ID: <20150710102448.263257d4@urahara> In-Reply-To: <533710CFB86FA344BFBF2D6802E60286046B663B@SHSMSX101.ccr.corp.intel.com> References: <1436395131-11205-1-git-send-email-stephen@networkplumber.org> <533710CFB86FA344BFBF2D6802E60286046B663B@SHSMSX101.ccr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [RFC] vfio: only map regions VFIO supports X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jul 2015 17:24:41 -0000 On Fri, 10 Jul 2015 07:54:10 +0000 "Qiu, Michael" wrote: > Hi, Stephen > > This patch does not work for fm10k with vfio, see error below: > > EAL: PCI device 0000:84:00.0 on NUMA socket 1 > EAL: probe driver: 8086:15a4 rte_pmd_fm10k > EAL: PCI memory mapped at 0x7f1980000000 > EAL: Trying to map BAR 2 that contains the MSI-X table. Trying offsets: > 0000:0000, 1000:1000 > EAL: PCI memory mapped at 0x7f1980401000 > EAL: pci_map_resource(): cannot mmap(105, 0x7f1980402000, 0x4000000, > 0x0): Invalid argument (0xffffffffffffffff) > EAL: 0000:84:00.0 mapping BAR4 failed: Invalid argument > EAL: Error - exiting with code: 1 > Cause: Requested device 0000:84:00.0 cannot be used Yes. The patch doesn't solve the problem (but might be needed in some future weird hw).