Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp27492rdb; Thu, 1 Feb 2024 00:34:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IG4r25I2gNVDl0FsqxAjOf3qM7DlYhjco67ddkCg/y0aS3BtW2syL1/KRBDJZ4l7ftz3NNU X-Received: by 2002:a50:ef15:0:b0:55f:6a87:8033 with SMTP id m21-20020a50ef15000000b0055f6a878033mr2731642eds.31.1706776474396; Thu, 01 Feb 2024 00:34:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706776474; cv=pass; d=google.com; s=arc-20160816; b=sD6XYjCNz8ZADsExk3aXN/WYmy5hZi03ozER8paq3NWIXyo2MzVKdASV8DmzDB5qOx Dw6hjFXs9bHSFfOmgvMwU5N0PyUwcQ1CxVcOFS1Y0LYEQ0oYHXqLClh0wSsSwMvMQBhL RelA8KTceqlO5VL5PtTDxkPX9/RM9KMnA0dZ4b3ofO0HZldRudjReRkyCGrrzPgRp+Yz JQzZtGjzik5K2kzzi3fYQ5VzrZzs1dvayi0UeKetNCFRKS9wovVpSV7y97Uas+ZRw1x8 AXcsf7fDpw+B2N+FyOF/3XVuYHYvrHyP8OQmsgvnzzZU5CD4Qz0tbiq9j/duftmuvyg/ Mmkg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:cc:references :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=OYK8S+LjMCgdqhWYpWjOljaHLoXUwlbTdfPhsWuw+so=; fh=4QRVPZtW0fu4hNPdmFzwCCY5Wz5M7GoOG5MURJs5L8A=; b=FCrrsJHSWhfAAx6SZ3PJecn8KmPsqSTEGFxvqJscIhhXLiC3JrD1wARcD/Iq8mXAoq vrKLm5EQeTNavn2/uQ9MAFqNvhoFvurhBJLgIAcmj1vHyf3ZwQuWn5gbrB9hWblAbyMe bRQ+aYfZ14XqjLttfjLDR7XnZfcN4Ndg8QyTlYvO7vgCA9bC0jrg05c7s4fV5RJ2AXWw EiP1D5sE2u2O/FJyVHXIeeqlWueNjdo2KjImSSC6G4fLg2p9lE5xVPh+O6ne6CPZ1Dtv x4C3saZBbGBzvdotPi8TbEqKxLUnPruDUdFxIJEi/obfFvXvAmT23JidfRUr84M002ou Uyjg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UyO75H65; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-47780-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47780-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com X-Forwarded-Encrypted: i=1; AJvYcCXdd8Vg/5J1BMXK29/8A7LBDUEmLzIz2SZDWbtlS3sGzZIqesdx7TEjwgLcuCAaCxtVMAdmcVQ8mP8zSRwU+3Rg4m/hkUpm6O7ktQe/gA== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h3-20020a056402280300b0055fb76c23d2si376684ede.497.2024.02.01.00.34.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 00:34:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47780-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UyO75H65; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-47780-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47780-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id F29231F270F2 for ; Thu, 1 Feb 2024 08:34:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8080C15A4A2; Thu, 1 Feb 2024 08:34:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="UyO75H65" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 298E43B793 for ; Thu, 1 Feb 2024 08:34:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706776464; cv=none; b=OhhvVZZUfCcnSxpTfExkgMQm8HV7EC+d1xbNf1zWK0fuvPEV8nKLCsSvnec6FVFSPuu1dOyQhcVKhFPf90IwZ25IG812KzJsCn1y0SXY4S259S1BAij2tYY1J3Kc83E8Zg8Y/PUWIiJkyzXkUoTxweeYI+xkfuAJyhgKocqz+6o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706776464; c=relaxed/simple; bh=4rWQ7FoMnBf1oqOMRT8cZn4yVaN12qcq7ju/q36konc=; h=Message-ID:Date:MIME-Version:Subject:To:References:Cc:From: In-Reply-To:Content-Type; b=cpVlSRcaNPxk+h65BrCEOCshCJZVfxnbq2+he4M1Vk4/44X/gJwBGKrRaWgaDDZwjkIYr+TTDrOTAmDbs1dmGuV+oOMnKhBT52a00pDpSVdjsNomQyLWQw+wi4w0HxGoR/SSgG92N+1RkUrmfFNSPFY5F43dedKlJnkXdL8+jlw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=UyO75H65; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1706776462; 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:autocrypt:autocrypt; bh=OYK8S+LjMCgdqhWYpWjOljaHLoXUwlbTdfPhsWuw+so=; b=UyO75H65IMmuBZAiGSJMGAicACmAvwwNTt3BGOjrwcPNXI6Pc2E//CMdj8Aj960NTtvc8c Npnqg64CowXapof1ytdFz1+6u/VQHh51fPTLst+VTbgFiZCGMAhC8wWT4VaduJN14uxIqK lKacvpM/etseDwy+J0AWkx4jB4IQ9xc= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-684-CTlGdymGNxayEsunjBsfjw-1; Thu, 01 Feb 2024 03:34:19 -0500 X-MC-Unique: CTlGdymGNxayEsunjBsfjw-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A0ED8185A785; Thu, 1 Feb 2024 08:34:18 +0000 (UTC) Received: from [10.39.208.27] (unknown [10.39.208.27]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C72872166B33; Thu, 1 Feb 2024 08:34:16 +0000 (UTC) Message-ID: Date: Thu, 1 Feb 2024 09:34:11 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 0/3] vduse: add support for networking devices Content-Language: en-US To: jasowang@redhat.com References: <20240109111025.1320976-1-maxime.coquelin@redhat.com> Cc: xuanzhuo@linux.alibaba.com, xieyongji@bytedance.com, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, david.marchand@redhat.com, lulu@redhat.com, mst@redhat.com From: Maxime Coquelin Autocrypt: addr=maxime.coquelin@redhat.com; keydata= xsFNBFOEQQIBEADjNLYZZqghYuWv1nlLisptPJp+TSxE/KuP7x47e1Gr5/oMDJ1OKNG8rlNg kLgBQUki3voWhUbMb69ybqdMUHOl21DGCj0BTU3lXwapYXOAnsh8q6RRM+deUpasyT+Jvf3a gU35dgZcomRh5HPmKMU4KfeA38cVUebsFec1HuJAWzOb/UdtQkYyZR4rbzw8SbsOemtMtwOx YdXodneQD7KuRU9IhJKiEfipwqk2pufm2VSGl570l5ANyWMA/XADNhcEXhpkZ1Iwj3TWO7XR uH4xfvPl8nBsLo/EbEI7fbuUULcAnHfowQslPUm6/yaGv6cT5160SPXT1t8U9QDO6aTSo59N jH519JS8oeKZB1n1eLDslCfBpIpWkW8ZElGkOGWAN0vmpLfdyiqBNNyS3eGAfMkJ6b1A24un /TKc6j2QxM0QK4yZGfAxDxtvDv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B1Ce08xsJDcwyOPIH6O3tccZuriHgvqKP yKz/Ble76+NFlTK1mpUlfM7PVhD5XzrDUEHWRTeTJSvJ8TIPL4uyfzhjHhlkCU0mw7Pscyxn DE8G0UYMEaNgaZap8dcGMYH/96EfE5s/nTX0M6MXV0yots7U2BDb4soLCxLOJz4tAFDtNFtA wLBhXRSvWhdBJZiig/9CG3dXmKfi2H+wdUCSvEFHRpgo7GK8/Kh3vGhgKmnnxhl8ACBaGy9n fxjSxjSO6rj4/MeenmlJw1yebzkX8ZmaSi8BHe+n6jTGEFNrbiOdWpJgc5yHIZZnwXaW54QT UhhSjDL1rV2B4F28w30jYmlRmm2RdN7iCZfbyP3dvFQTzQ4ySquuPkIGcOOHrvZzxbRjzMx1 Mwqu3GQ= In-Reply-To: <20240109111025.1320976-1-maxime.coquelin@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.6 Hi Jason, It looks like all patches got acked by you. Any blocker to queue the series for next release? Thanks, Maxime On 1/9/24 12:10, 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, > so while Jason rework is done, a patch is added to fail init > if control queue feature is requested.(tested also with DPDK > v23.11). > > > Changes in v7: > ============== > - Fail init only if VIRTIO_NET_F_CTRL_VQ is requested. > - Convert to use BIT_ULL() macro > - Rebased > > Changes in v6: > ============== > - Remove SELinux support from the series, will be handled > in a dedicated one. > - Require CAP_NET_ADMIN for Net devices creation (Jason). > - Fail init if control queue features are requested for > Net device type (Jason). > - Rebased on latest master. > > Changes in v5: > ============== > - Move control queue disablement patch before Net > devices enablement (Jason). > - Unify operations LSM hooks into a single hook. > - Rebase on latest master. > > Maxime Coquelin (3): > vduse: validate block features only with block devices > vduse: Temporarily fail if control queue feature requested > vduse: enable Virtio-net device type > > drivers/vdpa/vdpa_user/vduse_dev.c | 24 ++++++++++++++++++++---- > 1 file changed, 20 insertions(+), 4 deletions(-) >