Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp17559116rwd; Tue, 27 Jun 2023 04:55:56 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4zWD3Pq0koCfrixwAP5eVNCMzgVrOmjlRr5KnHGqs0+8LAYHwl/SZqFm3G3slNnCgaXnQD X-Received: by 2002:a17:903:1205:b0:1ac:85b0:1bd8 with SMTP id l5-20020a170903120500b001ac85b01bd8mr15209405plh.34.1687866956428; Tue, 27 Jun 2023 04:55:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687866956; cv=none; d=google.com; s=arc-20160816; b=A6k+eiaLH5qrTQ1XART/6c5RqqWRHOGewNYfyPxIFnK20ITBFVDp14c88utIQ9Sbuq HYuNtcuqFpQhw4D/SA3azHIEmgL0QGHXZpeBX9hOyw/NZ+KWDkAvFGQtvYFVlL9v0/mE gkkijUpgp+e+Jl0KRzqQbqrOrW4vEbt581TkfnawdDNWEhV053dD/ZIEEcyvEPtwifxV yXxMKrxjcmAs1p8WU4x/7og5etPhpzE4Xu3RtIjEOqCU1lkH9Wrlbb6HybHTKDOH3ara GsKIWdU4a8kWGnbt0v3DHFqBhbMj32Kt566HxEtd+2ASVTZ4pVHEwl0zBuePWSRKZlE9 MMGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Tdurvxft1YKsdJG5IOcbskrBx73tXYW6QLBL2YhfQC0=; fh=S1rZK6DPg0mAED4KjNm0cP4EEY87q6FXHFEeosELg0E=; b=ZmyK9ekfMw5Sq3q1q1hDvRqUz/OdyUH7PqFG3MjWgrV6qa4T+s/3bmHebe2rLAjKFC gOb1kTfcH74tUvtQNkzOCB+tM1OIujBIXTGCVyCexnfgKR7UMtNVpK/QJEGuukD2Rhf6 YcaapxhrkGGDlthHOD4wYUOyEQrbQDV56H8nlLsJV+gtWCck9NB2Du98wul0hp9wlHpo +4IofaYxXQBtkatMtNsLQvy7LaugAcepdcYy42TJ8nCf2sfP1faWnyj7kbWv4LM+av6n Xy6XREK3plqtCutgcIRT3Eqf6gQ2//tp0QXL5XU7RxCXd0n5rs4HaPL+Eun33inmKIwe 5Y/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=CxQ8vuDQ; 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 n12-20020a170903110c00b001b3be4fadbfsi7352817plh.159.2023.06.27.04.55.43; Tue, 27 Jun 2023 04:55:56 -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=CxQ8vuDQ; 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 S230169AbjF0LiJ (ORCPT + 99 others); Tue, 27 Jun 2023 07:38:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231182AbjF0LiG (ORCPT ); Tue, 27 Jun 2023 07:38:06 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CC3310FB for ; Tue, 27 Jun 2023 04:37:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1687865842; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Tdurvxft1YKsdJG5IOcbskrBx73tXYW6QLBL2YhfQC0=; b=CxQ8vuDQ+CNg2Jd/OzleKRY/CLcN2lLy04oug9Q3yUd/Soqu4nUekZUke8KRdr5NoxJw0C nBT2Xz8B+zGHtf98j9OTt3dP4FSi8Tr+xEmZ1eTroZduJSPkjRImYspAuFZN0EDd2dqq95 M2RaS/dKsupGdTawLo9aBmBYBv+OaMQ= 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-590-KcYV-GFPMhK3r4fVNxggkg-1; Tue, 27 Jun 2023 07:37:19 -0400 X-MC-Unique: KcYV-GFPMhK3r4fVNxggkg-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A0A781C06EE7; Tue, 27 Jun 2023 11:37:18 +0000 (UTC) Received: from max-t490s.redhat.com (unknown [10.39.208.28]) by smtp.corp.redhat.com (Postfix) with ESMTP id 55BA7F5CD0; Tue, 27 Jun 2023 11:37:15 +0000 (UTC) From: Maxime Coquelin To: xieyongji@bytedance.com, jasowang@redhat.com, mst@redhat.com, david.marchand@redhat.com, lulu@redhat.com Cc: linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, xuanzhuo@linux.alibaba.com, eperezma@redhat.com, Maxime Coquelin Subject: [PATCH v1 0/2] vduse: add support for networking devices Date: Tue, 27 Jun 2023 13:36:50 +0200 Message-ID: <20230627113652.65283-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,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 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/ 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