From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f42.google.com (mail-pa0-f42.google.com [209.85.220.42]) by dpdk.org (Postfix) with ESMTP id 7D3D98E67 for ; Thu, 1 Oct 2015 16:54:03 +0200 (CEST) Received: by pacfv12 with SMTP id fv12so78405667pac.2 for ; Thu, 01 Oct 2015 07:54:02 -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=u0yf+PShMzQzVXRAa+6+RBzowdeNoUcXkGmZOzY3xWE=; b=Xe3vKPwQgSw7UG8ZMWBC/jmqTMeI2Ddv+EYYN8jv3kMfAsAnlRHrvlo/oWRAJCz2We bhX4CKPd1KUNYsAK3bpNxF0dM2F7CTmOEJtjOW8/WOu7OAW+cNJjwhm579LDJQbUgTw5 pMWXtAPON3d0eiFj0Jzdxl7qYeKxMcdJ69/3i/93/8/cg8HH8sJhDyhgZ84LK50pnyms Ks6/kieqR3tpEb6q6tqY4WWe5RwFl7vdEwFbwM2KC9AITLIV5jFZm5x4ljilZVsmNSYM jGDEjx9hdo4wJgxj8242oFATJrMNzCkyBo1Mrk8Aoi5Oj2SgOH2AhFjCwCxMAImIvOQ4 MhVg== X-Gm-Message-State: ALoCoQlRCJhYsJDR6J0Q941HkdJPlXQS9L7XEBccbNplSX1S1XZ62oKsGfwf8cMzUsKfs8au0PHn X-Received: by 10.66.235.42 with SMTP id uj10mr12853864pac.32.1443711242847; Thu, 01 Oct 2015 07:54:02 -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 yi8sm7208544pab.22.2015.10.01.07.54.02 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Oct 2015 07:54:02 -0700 (PDT) Date: Thu, 1 Oct 2015 07:54:11 -0700 From: Stephen Hemminger To: Vincent JARDIN Message-ID: <20151001075411.2c7bffe5@urahara> In-Reply-To: <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> <560CFFFF.4000601@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" , Avi Kivity , "Michael S. Tsirkin" 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 14:54:03 -0000 On Thu, 01 Oct 2015 11:42:23 +0200 Vincent JARDIN wrote: > 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. > And in our testing the mlx4 driver performance is terrible. That maybe because of the overhead of infiniband library.