From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <avi@cloudius-systems.com>
Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com
 [209.85.212.175]) by dpdk.org (Postfix) with ESMTP id E96DF8D99
 for <dev@dpdk.org>; Thu,  1 Oct 2015 12:59:04 +0200 (CEST)
Received: by wicfx3 with SMTP id fx3so22636172wic.0
 for <dev@dpdk.org>; Thu, 01 Oct 2015 03:59:04 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:subject:to:references:cc:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-type
 :content-transfer-encoding;
 bh=u1hoSlc7d0Mi5NUGkAru7DtKcGfiqzK8Tcujds5hYhU=;
 b=c5WAww7RpL2QwYjDYUwl/UuY06DOnEX+wENjxjKEw+rMvcUZsPNzxbjLFJupkQ84te
 FUueNi42SHlu7lBuDZxIUy+bWpQ41paZTIDcrU0guKU7M9E9lpienKRPboDkLL087CaT
 VqXEpRDvbraaKVwCWuZtuezH3lhptVQLaVdaX9vYzuX06iH/j7uw2ndslz7Xt25Zo9wB
 jxSC/x5wanZU3zfh4ZSQs1GMnrDKDU6a/eSPPjftbbLARTgw1aftB0TWGhVsaoLqbhJA
 ZwRC8Yy8zYpJ0nKUn2YT8cl5ryrIsL9AbKpddwJea4H11ADW0gppLbz9ywdDOrK4oEx9
 aKrQ==
X-Gm-Message-State: ALoCoQls5wGg6dUGv3QJwiZEsTHJqPPKtZqIdZRsgH9ITJCzUpCsBdt2ljb+CXufMxLDNsncGcMq
X-Received: by 10.180.107.195 with SMTP id he3mr2703651wib.35.1443697144675;
 Thu, 01 Oct 2015 03:59:04 -0700 (PDT)
Received: from avi.cloudius ([37.142.229.250])
 by smtp.googlemail.com with ESMTPSA id t7sm2584493wib.1.2015.10.01.03.59.02
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 01 Oct 2015 03:59:03 -0700 (PDT)
To: Stephen Hemminger <stephen@networkplumber.org>, hjk@hansjkoch.de,
 gregkh@linux-foundation.org
References: <1443652138-31782-1-git-send-email-stephen@networkplumber.org>
From: Avi Kivity <avi@scylladb.com>
Message-ID: <560D11F6.2080609@scylladb.com>
Date: Thu, 1 Oct 2015 13:59:02 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Thunderbird/38.2.0
MIME-Version: 1.0
In-Reply-To: <1443652138-31782-1-git-send-email-stephen@networkplumber.org>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Cc: dev@dpdk.org, linux-kernel@vger.kernel.org
Subject: Re: [dpdk-dev] [PATCH 0/2] uio_msi: device driver
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Thu, 01 Oct 2015 10:59:05 -0000

On 10/01/2015 01:28 AM, Stephen Hemminger wrote:
> This is a new UIO device driver to allow supporting MSI-X and MSI devices
> in userspace.  It has been used in environments like VMware and older versions
> of QEMU/KVM where no IOMMU support is available.

Why not add msi/msix support to uio_pci_generic?

> Stephen Hemminger (2):
>
> *** BLURB HERE ***
>
> Stephen Hemminger (2):
>    uio: add support for ioctls
>    uio: new driver to support PCI MSI-X
>
>   drivers/uio/Kconfig          |   9 ++
>   drivers/uio/Makefile         |   1 +
>   drivers/uio/uio.c            |  15 ++
>   drivers/uio/uio_msi.c        | 378 +++++++++++++++++++++++++++++++++++++++++++
>   include/linux/uio_driver.h   |   3 +
>   include/uapi/linux/Kbuild    |   1 +
>   include/uapi/linux/uio_msi.h |  22 +++
>   7 files changed, 429 insertions(+)
>   create mode 100644 drivers/uio/uio_msi.c
>   create mode 100644 include/uapi/linux/uio_msi.h
>