From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent JARDIN Subject: Re: Having troubles binding an SR-IOV VF to uio_pci_generic on Amazon instance Date: Thu, 01 Oct 2015 11:42:23 +0200 Message-ID: <560CFFFF.4000601@6wind.com> References: <560BD284.7040505@cloudius-systems.com> <20150930151632-mutt-send-email-mst@redhat.com> <560BDE24.8000308@scylladb.com> <20150930165359-mutt-send-email-mst@redhat.com> <560BF782.4070308@scylladb.com> <20150930175848-mutt-send-email-mst@redhat.com> <560C0171.7080507@scylladb.com> <20150930204016.GA29975@redhat.com> <20151001113828-mutt-send-email-mst@redhat.com> <560CF44A.60102@scylladb.com> <20151001120027-mutt-send-email-mst@redhat.com> <560CFB66.5050904@scylladb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" To: Avi Kivity , "Michael S. Tsirkin" Return-path: Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by dpdk.org (Postfix) with ESMTP id CF8578DA4 for ; Thu, 1 Oct 2015 11:42:23 +0200 (CEST) Received: by wicfx3 with SMTP id fx3so19833497wic.0 for ; Thu, 01 Oct 2015 02:42:23 -0700 (PDT) In-Reply-To: <560CFB66.5050904@scylladb.com> 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 01/10/2015 11:22, Avi Kivity wrote: >> As far as I could see, without this kind of motivation, people do not >> even want to try. > > You are mistaken. The problem is a lot harder than you think. > > People didn't go and write userspace drivers because they were lazy. > They wrote them because there was no other way. I disagree, it is possible to write a 'partial' userspace driver. Here it is an example: http://dpdk.org/browse/dpdk/tree/drivers/net/mlx4 It benefits of the kernel's capabilities while the userland manages only the IOs. There were some tentative to get it for other (older) drivers, named 'bifurcated drivers', but it is stalled. best regards, Vincent