From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vlad Zolotarov Subject: Re: Having troubles binding an SR-IOV VF to uio_pci_generic on Amazon instance Date: Wed, 30 Sep 2015 15:16:04 +0300 Message-ID: <560BD284.7040505@cloudius-systems.com> References: <20150927123914-mutt-send-email-mst@redhat.com> <560ABF25.9030300@cloudius-systems.com> <20150929235122-mutt-send-email-mst@redhat.com> <20150929144616.4e70b44c@urahara> <20150930004714-mutt-send-email-mst@redhat.com> <560BBB62.3050502@cloudius-systems.com> <20150930134533-mutt-send-email-mst@redhat.com> <560BC6C9.4020505@cloudius-systems.com> <20150930143927-mutt-send-email-mst@redhat.com> <560BCD2F.5060505@cloudius-systems.com> <20150930150115-mutt-send-email-mst@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" To: "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 1D3408DAA for ; Wed, 30 Sep 2015 14:16:06 +0200 (CEST) Received: by wicfx3 with SMTP id fx3so58712237wic.0 for ; Wed, 30 Sep 2015 05:16:06 -0700 (PDT) In-Reply-To: <20150930150115-mutt-send-email-mst@redhat.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 09/30/15 15:03, Michael S. Tsirkin wrote: > On Wed, Sep 30, 2015 at 02:53:19PM +0300, Vlad Zolotarov wrote: >> >> On 09/30/15 14:41, Michael S. Tsirkin wrote: >>> On Wed, Sep 30, 2015 at 02:26:01PM +0300, Vlad Zolotarov wrote: >>>> The whole idea is to bypass kernel. Especially for networking... >>> ... on dumb hardware that doesn't support doing that securely. >> On a very capable HW that supports whatever security requirements needed >> (e.g. 82599 Intel's SR-IOV VF devices). > Network card type is irrelevant as long as you do not have an IOMMU, > otherwise you would just use e.g. VFIO. Sorry, but I don't follow your logic here - Amazon EC2 environment is a example where there *is* iommu but it's not virtualized and thus VFIO is useless and there is an option to use directly assigned SR-IOV networking device there where using the kernel drivers impose a performance impact compared to user space UIO-based user space kernel bypass mode of usage. How is it irrelevant? Could u, pls, clarify your point? > >>> Colour me unimpressed. >>>