From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E87A4C433DF for ; Tue, 20 Oct 2020 02:28:17 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 39CA0222E9 for ; Tue, 20 Oct 2020 02:28:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=bytedance-com.20150623.gappssmtp.com header.i=@bytedance-com.20150623.gappssmtp.com header.b="nNsasBq9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 39CA0222E9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=bytedance.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 64DCE6B005C; Mon, 19 Oct 2020 22:28:16 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5FE1D6B0062; Mon, 19 Oct 2020 22:28:16 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4EC7D6B0068; Mon, 19 Oct 2020 22:28:16 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0229.hostedemail.com [216.40.44.229]) by kanga.kvack.org (Postfix) with ESMTP id 1E10D6B005C for ; Mon, 19 Oct 2020 22:28:16 -0400 (EDT) Received: from smtpin24.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 988BF181AEF09 for ; Tue, 20 Oct 2020 02:28:15 +0000 (UTC) X-FDA: 77390719350.24.army04_49133032723c Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin24.hostedemail.com (Postfix) with ESMTP id 777501A4A5 for ; Tue, 20 Oct 2020 02:28:15 +0000 (UTC) X-HE-Tag: army04_49133032723c X-Filterd-Recvd-Size: 5289 Received: from mail-ej1-f67.google.com (mail-ej1-f67.google.com [209.85.218.67]) by imf26.hostedemail.com (Postfix) with ESMTP for ; Tue, 20 Oct 2020 02:28:15 +0000 (UTC) Received: by mail-ej1-f67.google.com with SMTP id e22so408485ejr.4 for ; Mon, 19 Oct 2020 19:28:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uhHszSZTYn5KLRcXjhfqGNME+dhUQUZi5VrUXHuLjF4=; b=nNsasBq9xjvEtOn4hqF85DQ2w5VVEREfnkgoe5Lr41DhD72obko22ELRCuFwCz0m5n A2gkzV86Chzu/LJbfDXxoSmFHKO1W/AnvUwrFWgIRTw+cB60J1LoNAFIbT/sm+x+g0Fs 8w+9GqOsa8ncDBwquHvAhriUsIPY4ml7nQaq0ieSFsuc3ekKl72e9YCC3anRhFtqjn5f tmt3WBwqsnT+3a6OEJXmAWGdhYb4OMgwCO1S8hoct5Nar1fEMJgpfT/aQPDgZfH9Y9fK mvmHUw8i1oSzsw8Flx7V+vCFtxjp7wtznhRZ8O49f3m/+kYlwmh3Fp4Nwwet+WyS9r1x zsXA== 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=uhHszSZTYn5KLRcXjhfqGNME+dhUQUZi5VrUXHuLjF4=; b=HLS4UDp4gx1j440zpMIec6+nXVf5fofV5ZRoFDcg8Rq8gIM7y0Vd68JMEm8/yMU3xl DByYzx6qNyjh+OOX6P4C3RSJj235F70+448+Fw8etnvO1mne+eM6UKyoolkMpwN0yFWL wVt23Uad1ZsfqhzG73Ick8+wu7mmHKN9qj1Ysk2DNNFfh/A6tfag4QJY2U/pNdB4WWnh pGz7SfJn3y6+5EmBiDaCp8v5iJyQypXVvcUpHKbNXZ+XPvZYgEoDWs43GwprJeo8RSTm zYNj+ULTl1skL96x74YLmX/fWFFq9ybMCIhvuD+47TdaNAoaLlbR6sS3bNWxdgbL36sr AI1Q== X-Gm-Message-State: AOAM531iFVR/2ePdFC8cZ86MShPaPHLcioFkS+jpAYMv6MhrF3ZsLAGO qPgIVOE6MroBiD5TFgBTOCUC90lnSFbEOgVsTEkc X-Google-Smtp-Source: ABdhPJzAQXwaYmruVZQOOYs+xSyAggV78kXUmG6x6Nd/Ecgiw1BrOnC50yTt/oAGHD2ogYfWQCqnVIXPQOdSWvIgzPs= X-Received: by 2002:a17:907:2089:: with SMTP id pv9mr876158ejb.427.1603160893676; Mon, 19 Oct 2020 19:28:13 -0700 (PDT) MIME-Version: 1.0 References: <20201019145623.671-1-xieyongji@bytedance.com> <20201019130815-mutt-send-email-mst@kernel.org> <192da6ad-2660-896a-bc94-d30fbd38873d@redhat.com> In-Reply-To: <192da6ad-2660-896a-bc94-d30fbd38873d@redhat.com> From: =?UTF-8?B?6LCi5rC45ZCJ?= Date: Tue, 20 Oct 2020 10:28:02 +0800 Message-ID: Subject: Re: [External] Re: [RFC 0/4] Introduce VDUSE - vDPA Device in Userspace To: Jason Wang Cc: "Michael S. Tsirkin" , akpm@linux-foundation.org, linux-mm@kvack.org, virtualization@lists.linux-foundation.org Content-Type: multipart/alternative; boundary="00000000000095fe4d05b210fbdc" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: --00000000000095fe4d05b210fbdc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Oct 20, 2020 at 10:21 AM Jason Wang wrote: > > On 2020/10/20 =E4=B8=8A=E5=8D=8810:18, =E8=B0=A2=E6=B0=B8=E5=90=89 wrote: > > > > > > > > How does this driver compare with vhost-user-blk (which doesn't > > need kernel support)? > > > > > > We want to implement a block device rather than a virtio-blk > > dataplane. And with this driver's help, the vhost-user-blk process > > could provide storage service to all APPs in the host. > > > > Thanks, > > Yongji > > > I guess the point is that, with the help of VDUSE, besides vhost-vDPA > for VM, you can have a kernel virtio interface through virtio-vdpa which > can not be done in vhost-user-blk. > Exactly correct! Thanks, Yongji --00000000000095fe4d05b210fbdc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Tue, Oct 20, 2020 at 10:21 AM Jaso= n Wang <jasowang@redhat.com&g= t; wrote:

On 2020/10/20 =E4=B8=8A=E5=8D=8810:18, =E8=B0=A2=E6=B0=B8=E5=90=89 wrote: >
>
>
>=C2=A0 =C2=A0 =C2=A0How does this driver compare with vhost-user-blk (w= hich doesn't
>=C2=A0 =C2=A0 =C2=A0need kernel support)?
>
>
> We want to implement a block device rather than a virtio-blk
> dataplane. And with this driver's help, the vhost-user-blk process=
> could provide storage service to all APPs in the host.
>
> Thanks,
> Yongji


I guess the point is that, with the help of VDUSE, besides vhost-vDPA
for VM, you can have a kernel virtio interface through virtio-vdpa which can not be done in vhost-user-blk.
=C2=A0
Exactly correct!=C2=A0
=C2=A0
=C2=A0Thanks,
Yongji
--00000000000095fe4d05b210fbdc--