Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp25799020rwd; Mon, 3 Jul 2023 00:52:39 -0700 (PDT) X-Google-Smtp-Source: APBJJlEe/iDtomZKsnZwB0EwUOHU5unJdA9WtgjKRHXtwcXIMOWcnJJNQyYanmlZ8BdWD2Ku4fAH X-Received: by 2002:a17:903:2281:b0:1b8:76c4:6e79 with SMTP id b1-20020a170903228100b001b876c46e79mr10305582plh.17.1688370758907; Mon, 03 Jul 2023 00:52:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688370758; cv=none; d=google.com; s=arc-20160816; b=I32DGmFLpl3hDqnSQ0sUXVhgiRESZIK+oXeCw67fXX+mY3+z1HxypRqqlm0w3cAuZE 8rSuyf7z7VSLQn4T1rVW3IQCNEcqzelMmkTJf2Y/2/qny7LitG0Oc5iFwzB/awCwids6 EK/LniM9hguIvZej73sAmrIRZ34QrFjeCJAWz1vS5vTdbRa0eBnPMLFSekTaLPKk5fCB SdtPTHy72IlJz3rBlAACcga5HhIBjZ9i7UBG5S2ITaLvdal2sDVRvVslcNdlkQvr/QMr uuj4qUgYkg0iiYzmf4etSLN7AnHlTULVw2/LU94gMQmiFLFvZLRu+KAq8EuwQ4XbztUq nkEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=+izZ056qkx9wA4inyIESYge9LDOiXeBR8mNGux+wGrY=; fh=qe4elJlviV2/adSHgjOESNIu63I3Bkggm2BPLIVilvU=; b=vwrIWLnhBnh7vzDweuGgRpb0xKFrqvELevSdYao2RICQET4WJFoP+tgS4WenosJti8 KUdCzLBhJu5Pj7Ly/n9+T8DfTcGh4mDqb8bt9a92pm5aEPHGpTAL25bkJIfm8UmMQ6vj vfX/cqC/jQKTFaMas3AxR2rHDz3o2fbA/gHvnkneVDEKzQchGThl1dDMc/2iL/B/zKb2 OLas1USk1UiSYfyED/jhYqxSJGBqvXV2czvmaHHTrhIMkJvFWr30YLJqWIzZDbBr0aRH pY7C/whUqDvVxHLoibou85rb+0wu4qZMACDipeEHhbOtP2uw5Un98IkyHHOIJqMWv1Dz 4Bqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=P3oNtMuB; 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 f11-20020a170902ce8b00b001b694ecf48esi10993647plg.100.2023.07.03.00.52.25; Mon, 03 Jul 2023 00:52:38 -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=P3oNtMuB; 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 S229814AbjGCHoq (ORCPT + 99 others); Mon, 3 Jul 2023 03:44:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229597AbjGCHop (ORCPT ); Mon, 3 Jul 2023 03:44:45 -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 ESMTPS id ABD67C1 for ; Mon, 3 Jul 2023 00:43:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1688370237; 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=+izZ056qkx9wA4inyIESYge9LDOiXeBR8mNGux+wGrY=; b=P3oNtMuBn8BryPEUfLLUrjmx6u5lRpkoCLV6rykUGyuSnYxuu8tOk5rXkDF0BwYqoh2hni xVL9EBL2WW1rphykHkt7hqGNszS2fYPjR5DFO7LNRE1d1hK9+RAxwyorGigE25hNMUBq6s u5Ol/TYIdV/Y+Te9jJIhS7r1kOFH+Ak= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-523-yUKSl3uqMPq6z5xBHPWbzQ-1; Mon, 03 Jul 2023 03:43:54 -0400 X-MC-Unique: yUKSl3uqMPq6z5xBHPWbzQ-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 1C8573806707; Mon, 3 Jul 2023 07:43:54 +0000 (UTC) Received: from [10.39.208.21] (unknown [10.39.208.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BA0544087C6A; Mon, 3 Jul 2023 07:43:51 +0000 (UTC) Message-ID: <571e2fbc-ea6a-d231-79f0-37529e05eb98@redhat.com> Date: Mon, 3 Jul 2023 09:43:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v1 0/2] vduse: add support for networking devices To: Jason Wang , "Michael S. Tsirkin" Cc: xieyongji@bytedance.com, david.marchand@redhat.com, lulu@redhat.com, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, xuanzhuo@linux.alibaba.com, eperezma@redhat.com References: <20230627113652.65283-1-maxime.coquelin@redhat.com> <20230702093530-mutt-send-email-mst@kernel.org> Content-Language: en-US From: Maxime Coquelin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 7/3/23 08:44, Jason Wang wrote: > On Sun, Jul 2, 2023 at 9:37 PM Michael S. Tsirkin wrote: >> >> On Tue, Jun 27, 2023 at 01:36:50PM +0200, Maxime Coquelin wrote: >>> This small series enables virtio-net device type in VDUSE. >>> With it, basic operation have been tested, both with >>> virtio-vdpa and vhost-vdpa using DPDK Vhost library series >>> adding VDUSE support using split rings layout (merged in >>> DPDK v23.07-rc1). >>> >>> Control queue support (and so multiqueue) has also been >>> tested, but requires a Kernel series from Jason Wang >>> relaxing control queue polling [1] to function reliably. >>> >>> [1]: https://lore.kernel.org/lkml/CACGkMEtgrxN3PPwsDo4oOsnsSLJfEmBEZ0WvjGRr3whU+QasUg@mail.gmail.com/T/ >> >> Jason promised to post a new version of that patch. >> Right Jason? > > Yes. > >> For now let's make sure CVQ feature flag is off? > > We can do that and relax on top of my patch. I agree? Do you prefer a features negotiation, or failing init (like done for VERSION_1) if the VDUSE application advertises CVQ? Thanks, Maxime > Thanks > >> >>> RFC -> v1 changes: >>> ================== >>> - Fail device init if it does not support VERSION_1 (Jason) >>> >>> Maxime Coquelin (2): >>> vduse: validate block features only with block devices >>> vduse: enable Virtio-net device type >>> >>> drivers/vdpa/vdpa_user/vduse_dev.c | 15 +++++++++++---- >>> 1 file changed, 11 insertions(+), 4 deletions(-) >>> >>> -- >>> 2.41.0 >> >