From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by dpdk.org (Postfix) with ESMTP id 3B45C6A87 for ; Thu, 1 Oct 2015 17:08:31 +0200 (CEST) Received: by wicfx3 with SMTP id fx3so38018400wic.1 for ; Thu, 01 Oct 2015 08:08:31 -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=vOqZA2FHoELMWqnxwFU27LOjDnF9uwj3YmI5aSi69bU=; b=f2dx6cFHGyvhaBKPuqVGFeNnQ+svlaFWdA/49rmtKjnmjqWOZEuJbyWJ5TvcHv3jTb Fvsn8ZE16rKSX0l76+eutvZOJcwXPdeEOA2y0r8eI1FQ5yFZB0nUzF+l3mIGtbHtF2Ok W6BuTGbY5FoZLOhYbh5QDdhgySAbVdg4e5Rz1iPCwIbf0TR/hJmYKMq3TfhI7kRwj0OE 34e26kpycrSPY2/WDWksspam2L+TyIpl7Wa/oA1uoeXsC2NwZg32iWeZde00uXB1QyFY sH/i8T5R5ktv+QzJB5AZz3Ri7rxLMnoFIVT87b2V+svrqg4qyMhYfNAINehPePG0Vlnm fNEw== X-Gm-Message-State: ALoCoQlenGNNHix7w60gu1NafKIQCOkPOL+uyodb/+YWYcizBQ4s+FEaWS1D74KvZUK4qOz9J2SQ X-Received: by 10.194.104.137 with SMTP id ge9mr10893911wjb.57.1443712110976; Thu, 01 Oct 2015 08:08:30 -0700 (PDT) Received: from avi.cloudius ([37.142.229.250]) by smtp.googlemail.com with ESMTPSA id w1sm6571205wjz.37.2015.10.01.08.08.28 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Oct 2015 08:08:29 -0700 (PDT) To: Stephen Hemminger References: <20151001113828-mutt-send-email-mst@redhat.com> <560CF44A.60102@scylladb.com> <20151001120027-mutt-send-email-mst@redhat.com> <560CFB66.5050904@scylladb.com> <20151001124211-mutt-send-email-mst@redhat.com> <560D0413.5080401@scylladb.com> <20151001131754-mutt-send-email-mst@redhat.com> <560D0FE2.7010905@scylladb.com> <20151001135054-mutt-send-email-mst@redhat.com> <560D1705.30300@scylladb.com> <20151001142640-mutt-send-email-mst@redhat.com> <560D19C3.4060206@scylladb.com> <20151001080100.00eda700@urahara> From: Avi Kivity Message-ID: <560D4C6C.1030700@scylladb.com> Date: Thu, 1 Oct 2015 18:08:28 +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: <20151001080100.00eda700@urahara> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" , "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 15:08:31 -0000 On 10/01/2015 06:01 PM, Stephen Hemminger wrote: > On Thu, 1 Oct 2015 14:32:19 +0300 > Avi Kivity wrote: > >> On 10/01/2015 02:27 PM, Michael S. Tsirkin wrote: >>> On Thu, Oct 01, 2015 at 02:20:37PM +0300, Avi Kivity wrote: >>>> People will just use out of tree drivers (dpdk has several already). It's a >>>> pain, but nowhere near what you are proposing. >>> What's the issue with that? >> Out of tree drivers have to be compiled on the target system (cannot >> ship a binary package), and occasionally break. >> >> dkms helps with that, as do distributions that promise binary >> compatibility, but it is still a pain, compared to just shipping a >> userspace package. >> >>> We already agreed this kernel >>> is going to be tainted, and unsupportable. >> Yes. So your only motivation in rejecting the patch is to get the >> author to write the ring translation patch and port it to all relevant >> drivers instead? > The per-driver ring method is what netmap did. > The problem with that is that it forces infrastructure into already > complex network driver. It never was accepted. There were also still > security issues like time of check/time of use with the ring. There would have to be two rings, with the driver picking up descriptors from the software ring, translating virtual addresses, and pushing them into the hardware ring. I'm not familiar enough with the truly high performance dpdk applications to estimate the performance impact. Seastar/scylla gets a huge benefit from dpdk, but is still nowhere near line rate.