From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 956A1A09F6; Fri, 18 Dec 2020 10:54:01 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DC8E6CA8D; Fri, 18 Dec 2020 10:53:59 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id 9B67ACA49 for ; Fri, 18 Dec 2020 10:53:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1608285236; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=4TWUzoG/jESJDEUgbc88FoyyVfjwQvCz1lsS5ytseJM=; b=aCRGc8+zopauCtRchJSJR44hYppyFuY7UGZkEay3E+mMlSgMrGy72m3deitl8JlJCDApNF SqpR1qzecnvunAJMtswlMzLpGDoibIJpD/HRc4M3UidA8yNjGoOUMGtPAW22k6tuXcVhHH X9iDMTTjolRTvHIRBq7XFwDUBmII//E= Received: from mail-vk1-f198.google.com (mail-vk1-f198.google.com [209.85.221.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-515-B0zyfnyRPwakfzvJYOmufw-1; Fri, 18 Dec 2020 04:53:53 -0500 X-MC-Unique: B0zyfnyRPwakfzvJYOmufw-1 Received: by mail-vk1-f198.google.com with SMTP id i2so855054vka.6 for ; Fri, 18 Dec 2020 01:53:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4TWUzoG/jESJDEUgbc88FoyyVfjwQvCz1lsS5ytseJM=; b=BA0YwsaBBod8sMuuNOszCxx3F0GG/EN759gGsE45IKHg7zyZLyFHtAArIgpRzKfmek /ZlJmVhU0uK7p9e4TD/Eg8D6jkp9UZ8Vcy01sX81vvSuFXLBtxteaRjjR+rKUMr2SHAu lhxp735Qex/zOrdedkS68NO2kDKSll1juMXSdgNIJGQjQu0styYrtiD8R9trxSwVaMHg qmhzpB3KZEXprfeK21RgvVWDvOE3xnVzX9AzpwPjMh1/qv49CLzuKbU7rLdnWXbVZV7x QQv08WBaokqzyIjpK6ZCCKECQH3wmD0vQoJy7kMjKDcbQpLwamIdCVj0BWejUY3iofg+ bjPg== X-Gm-Message-State: AOAM530llR5tH6zoI/RMyhOZCriCHMGvTKAdkVHrBY5vVIWqd6sVUWyL jSZeO04Hkygq39aUKoKoj3RJ+N+xpsVSqc51CmiesRUU/iRBRLPuhId/UMZti2PjJzpSS5vgi/C ovIWn2ELdByfaPQxVu/k= X-Received: by 2002:ab0:29c1:: with SMTP id i1mr2721244uaq.41.1608285232568; Fri, 18 Dec 2020 01:53:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJytgjWBc/Ei/pFVDVj7Gkwnf9m9WZ9+ur9ouYJnqemiLu+/JOER8PtwEc4iEGp6LpGFSj3BjPipZppRr6F5Q5U= X-Received: by 2002:ab0:29c1:: with SMTP id i1mr2721225uaq.41.1608285232321; Fri, 18 Dec 2020 01:53:52 -0800 (PST) MIME-Version: 1.0 References: <20201218074736.93999-1-chenbo.xia@intel.com> In-Reply-To: <20201218074736.93999-1-chenbo.xia@intel.com> From: David Marchand Date: Fri, 18 Dec 2020 10:53:41 +0100 Message-ID: To: Chenbo Xia Cc: dev , Thomas Monjalon , Stephen Hemminger , "Liang, Cunming" , xiuchun.lu@intel.com, miao.li@intel.com, Jingjing Wu Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH 0/8] Introduce emudev library and iavf emudev driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Dec 18, 2020 at 9:02 AM Chenbo Xia wrote: > > This series introduces a new device abstraction called emudev for emulated > devices. A new library (librte_emudev) is implemented. The first emudev > driver is also introduced, which emulates Intel Adaptive Virtual Function > (iavf) as a software network device. > > This series has a dependency on librte_vfio_user patch series: > http://patchwork.dpdk.org/cover/85389/ > > Background & Motivation > ----------------------- > The disaggregated/multi-process QEMU is using VFIO-over-socket/vfio-user > as the main transport mechanism to disaggregate IO services from QEMU. > Therefore, librte_vfio_user is introduced in DPDK to accommodate > emulated devices for high performance I/O. Although vfio-user library > provides possibility of emulating devices in DPDK, DPDK does not have > a device abstraction for emulated devices. A good device abstraction will > be useful for applications or high performance data path driver. With > this consideration, emudev library is designed and implemented. It also > make it possbile to keep modular design on emulated devices by implementing > data path related logic in a standalone driver (e.g., an ethdev driver) > and keeps the unrelated logic in the emudev driver. Since you mention performance, how does it compare to vhost-user/virtio? -- David Marchand