Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1953961iog; Thu, 16 Jun 2022 18:24:08 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v0hdneiPTFpHeSIwtdhkDNwRGuE5eAe7GXVi1CT9zGaG2QKe4UmEQ8VUw1nGCHFNUlfJTP X-Received: by 2002:a17:906:7297:b0:712:56de:3c43 with SMTP id b23-20020a170906729700b0071256de3c43mr6822853ejl.549.1655429048714; Thu, 16 Jun 2022 18:24:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655429048; cv=none; d=google.com; s=arc-20160816; b=JzV/Plw18/Htj8V+NW2hiBmo/ljZU7ete/jjmTv6KVXZfbib7IdtGbGKMYB27V8RMG gLHj3/zBFhXx4RG+MQKmoGew4EKNF1RMx8F2QTQsmYNMEgaQL4+3g689U6lrgYU1S6JR 7d6WAlqiAxT6lmntYnfhYsJNYobgoXwa4NzNMQ0azZF/WtaT1ZzsZHIDz0H9wRryIaC5 eELHzQz1HfH9u/nbf7AMnfkNNZfBwFFpxaaoJjYmuo/ffPZM8XCllV9REEhSZs7ohrFP NAkM6vDCr0k+JkvJhhywnpsRYj9WD/hovvDrMSkAxLHCzhj6TdbW1oDn8JfeC7NaCuJz 3V1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=qj6jImPewXvPaBqVDCu6KZmly2mSua8Ga/tEmjDhDBg=; b=b/BhXRVK9LBrn5GdvXsPNJfDQT6/iYk9VQIumlI3xHDf7uOw5+5wP4qrkGxvCeKTE4 7WXS3/jvCNMZpDaUo9X0IGW9xsof6Mb6Cvy7W2qtmMmiz8BqdnzfQBjxu0EXrAjmQMHV B8qqECsocLw5cie/NwWr+Cx3FTXhPfo8utXAUT4SiFigOhLIFTa+jwV4GUNjJOyyRTr2 G8FbJ28h0lBSceOhvOh6SYBAqKsPmuNJhtDO0KyCWKCnmv+I63M0JAZt+s7FrQ+ZJmFp shcXwYOpgLC/tXn8/gI1gGGrnuILmxdVafSYu/9QimYqZ3QydYVmHjm0WT9zhSJ7tG+/ vNOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="L/X8cVsy"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r30-20020a50c01e000000b0042ddac25209si4411204edb.92.2022.06.16.18.23.43; Thu, 16 Jun 2022 18:24:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="L/X8cVsy"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379458AbiFQBPi (ORCPT + 99 others); Thu, 16 Jun 2022 21:15:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379466AbiFQBPg (ORCPT ); Thu, 16 Jun 2022 21:15:36 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DB6B96162E for ; Thu, 16 Jun 2022 18:15:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1655428534; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qj6jImPewXvPaBqVDCu6KZmly2mSua8Ga/tEmjDhDBg=; b=L/X8cVsyM/uwQn3/aEL5dbDB3t1xZsFjM/jQlTUHWehC3mctC9H5cT4En8Zt9Vdg0QB5Ua jPrp0f/kFJkNDMcd78vK7neTqSNikwZIxI8y8vb2TbcZDqiqNPNN4MHpiOyJ/u/h1jZb2H itm7rSXKrq9MKoh9nefBImT0W7/pF1Q= Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-557-XMmEZ8X-MBKqjrq5d-5lmA-1; Thu, 16 Jun 2022 21:15:33 -0400 X-MC-Unique: XMmEZ8X-MBKqjrq5d-5lmA-1 Received: by mail-lf1-f69.google.com with SMTP id d37-20020a0565123d2500b0047c62294e85so1574874lfv.4 for ; Thu, 16 Jun 2022 18:15:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=qj6jImPewXvPaBqVDCu6KZmly2mSua8Ga/tEmjDhDBg=; b=iotmQw7dt0hRMvmxsCtjQnpKgXc3B94VJ9AM/r8cu2fjW5HTgSMCpEtKbNiVweokGL K78a8yaOjSIDg2jQ5gyIKSM349wVzVgjTdFY+wxVYZpYOkb5nYXVmf3fRWiTEhM6cipg 0SXSwn+vWkV3+3uJMpdN4OZtJIAbbFuvOV6q0tpHkCD6sCW+Hz66Jal9ubuVQudGf4L3 uuftQzxM2+oeAVzt6+EkVXC3mVPNjFsuYj7fxPjScLuxbr7+sbWMuX5SQGAi/1o8IgWM sJzkRT54oqWU6fyqjPSSy1hw3QAVqiwnM+MjUxtfyTC0SzuEMG542oTV28XARbxtcObm WHzg== X-Gm-Message-State: AJIora8BpoIo7JhHufVJKHpDO2NCQECz6YXRpDNmsTr8Tk/CUT8mwhQh SKTV/paQbPZTqURdWQLQUdqpGR9xrClra1Pf+YWipaa+tJ1ckmSnW9aNttVhGptS9prekR0+WdC jpY9RRVbxFP8++kgiE23cJXGH0m7SX47Yf18BmdJW X-Received: by 2002:a05:6512:a8f:b0:479:63e5:d59f with SMTP id m15-20020a0565120a8f00b0047963e5d59fmr4266511lfu.124.1655428531124; Thu, 16 Jun 2022 18:15:31 -0700 (PDT) X-Received: by 2002:a05:6512:a8f:b0:479:63e5:d59f with SMTP id m15-20020a0565120a8f00b0047963e5d59fmr4266484lfu.124.1655428530874; Thu, 16 Jun 2022 18:15:30 -0700 (PDT) MIME-Version: 1.0 References: <20220526124338.36247-1-eperezma@redhat.com> <20220527065442-mutt-send-email-mst@kernel.org> In-Reply-To: From: Jason Wang Date: Fri, 17 Jun 2022 09:15:19 +0800 Message-ID: Subject: Re: [PATCH v4 0/4] Implement vdpasim stop operation To: Parav Pandit Cc: "Michael S. Tsirkin" , =?UTF-8?Q?Eugenio_P=C3=A9rez?= , "kvm@vger.kernel.org" , "virtualization@lists.linux-foundation.org" , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , "martinh@xilinx.com" , Stefano Garzarella , "martinpo@xilinx.com" , "lvivier@redhat.com" , "pabloc@xilinx.com" , Eli Cohen , Dan Carpenter , Xie Yongji , Christophe JAILLET , Zhang Min , Wu Zongyong , "lulu@redhat.com" , Zhu Lingshan , "Piotr.Uminski@intel.com" , Si-Wei Liu , "ecree.xilinx@gmail.com" , "gautam.dawar@amd.com" , "habetsm.xilinx@gmail.com" , "tanuj.kamde@amd.com" , "hanand@xilinx.com" , "dinang@xilinx.com" , Longpeng Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 17, 2022 at 3:36 AM Parav Pandit wrote: > > > > From: Jason Wang > > Sent: Tuesday, June 14, 2022 9:29 PM > > > > Well, it's an example of how vDPA is implemented. I think we agree that= for > > vDPA, vendors have the flexibility to implement their perferrable datap= ath. > > > Yes for the vdpa level and for the virtio level. > > > > > > > I remember few months back, you acked in the weekly meeting that TC h= as > > approved the AQ direction. > > > And we are still in this circle of debating the AQ. > > > > I think not. Just to make sure we are on the same page, the proposal he= re is > > for vDPA, and hope it can provide forward compatibility to virtio. So i= n the > > context of vDPA, admin virtqueue is not a must. > In context of vdpa over virtio, an efficient transport interface is neede= d. > If AQ is not much any other interface such as hundreds to thousands of re= gisters is not must either. > > AQ is one interface proposed with multiple benefits. > I haven=E2=80=99t seen any other alternatives that delivers all the benef= its. > Only one I have seen is synchronous config registers. > > If you let vendors progress, handful of sensible interfaces can exist, ea= ch with different characteristics. > How would we proceed from here? I'm pretty fine with having admin virtqueue in the virtio spec. If you remember, I've even submitted a proposal to use admin virtqueue as a transport last year. Let's just proceed in the virtio-dev list. Thanks