From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:organization:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=jBneU+9wnvVhgNKY8RfpVKjUnL82rlKia/xvvHIpYF0=; b=K8hnyphPPIWgHCPACAq5bG5U4vI5S4yxSUYnGKmVHF58wpId7uXsnjtqztqPE2Hp+D p/6xTYYXWJnJq7D6zEO4vTQfbd42/1kzFLjtl0y5RtajVyqRAKRzdweZik5hJTCPZxTi lN9zs2hxeNba6AwjnCe4CGpBrlspPV6ELTMwDCQ7fGy2Am7ORWN+qqbRNrf5KoYfZaPm vPTTTkhgwndyt1FWxB1CRcgsJJQfnfj/ffzxAqVPMy/Obscrw3SEKZTGPZ1opONMbF+F l22gVlhZK36LJNQi7bJ9ToIF8jNos+emC1l06aC0E3GxTsN6DWtrJt+Y7sdHIi6WppLy VxvA== X-Gm-Message-State: ALoCoQlWtF+QGU0BHhSACZpc47oWnP4UH0AfYGV/VpCf6DMR7VSfK1qI3zr3Hi/XwWa168kCq3In X-Received: by 10.194.8.227 with SMTP id u3mr9414223wja.38.1443692543592; Thu, 01 Oct 2015 02:42:23 -0700 (PDT) Received: from saturne.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id go5sm2272840wib.3.2015.10.01.02.42.22 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Oct 2015 02:42:22 -0700 (PDT) Message-ID: <560CFFFF.4000601@6wind.com> Date: Thu, 01 Oct 2015 11:42:23 +0200 From: Vincent JARDIN Organization: www.6wind.com User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Avi Kivity , "Michael S. Tsirkin" 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> In-Reply-To: <560CFB66.5050904@scylladb.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Having troubles binding an SR-IOV VF to uio_pci_generic on Amazon instance 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: Thu, 01 Oct 2015 09:42:24 -0000 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