From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [dpdk-dev] [PATCH 2/2] uio: new driver to support PCI MSI-X Date: Thu, 1 Oct 2015 17:04:52 -0700 Message-ID: <20151001170452.0e6a90c2@urahara> References: <1443652138-31782-1-git-send-email-stephen@networkplumber.org> <1443652138-31782-3-git-send-email-stephen@networkplumber.org> <560DC45A.3050507@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: hjk@hansjkoch.de, gregkh@linux-foundation.org, dev@dpdk.org, linux-kernel@vger.kernel.org To: Alexander Duyck Return-path: In-Reply-To: <560DC45A.3050507@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: dev.dpdk.org On Thu, 1 Oct 2015 16:40:10 -0700 Alexander Duyck wrote: > Do you really need to map IORESOURCE bars? Most drivers I can think of > don't use IO BARs anymore. Maybe we could look at just dropping the > code and adding it back later if we have a use case that absolutely > needs it. Mapping is not strictly necessary, but for virtio it acts a way to communicate the regions. > Also how many devices actually need resources beyond BAR 0? I'm just > curious as I know BAR 2 on many of the Intel devices is the register > space related to MSI-X so now we have both the PCIe subsystem and user > space with access to this region. VMXNet3 needs 2 bars. Most use only one.