Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp10411651pxu; Wed, 30 Dec 2020 01:46:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJwB62SYtZeHfdT/47LiV2oqJT4e508fuNcGux+KYj9qCryKbHCzqRFwAKxf0876Mv7JMPgx X-Received: by 2002:a17:906:f9da:: with SMTP id lj26mr47759502ejb.467.1609321576859; Wed, 30 Dec 2020 01:46:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609321576; cv=none; d=google.com; s=arc-20160816; b=GbWWzQSVCUd8306gtVhbTjTU1kcXLez2o8bOTmwdCEJxfjq7NEVAZWOBMvpBf0WMp3 yf4gBN5Yo1yp2Eu5iTatfdJku1FRKgoRFM8SXhFakibmIeDqIngE/YdRx3pk25CL+lf8 QUU5nJ4IMywy90c2ynrTYYGHynj3OulqwU73bpiNkAAc8XtBkPu006pIyzjWwObv8Rhr IAeKiN6eL9GTztqdQXplBpqptquCnWRrcfoM2cSbKUcCI2DlSwR2vv7FXCP1VA7mcA6a jqOWBkQktX5PIo0SisP28n958M0oc2tfRE+cdQgCb17jwBie0V96xLjcIxwScRDx5/3C X1Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:dkim-signature:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=T+aNJlqaQjEa7ixZd49BALMpmAXvQ08gOshCZHVK8wk=; b=yKjj0rOKlXadJvS7tAFrrzwLcvbTveMP7GxzEjHahoFPoNt3rg44WaySNnvdmsvnZa 6tfTQDUEuZvSabzZzFfe9j4U0FqDrIgEu7MKpc6AdHprc23MTmN9euiYW7MzmFrF0PEJ gbGSie/DHklKUpHnEKByeHoJ1UAgpDaRUc85lNHB36QrznbUzBYhCgI/dHNxfQdp6Az4 nus+z3VnCP5c9odkaSjD8rC/NZDwuuanjEu9ub0dKGRmAZXXkJyLHD4NTnaclBZa8yPc O+t/5+KMp6ppFEaFuFjbsTP12/u5jR0m+KmY2fUjBoJhDovjNpmN81SjDZn6uU3ykYp1 Q2uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=JvWpAQBN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id si15si21709596ejb.394.2020.12.30.01.45.55; Wed, 30 Dec 2020 01:46:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=JvWpAQBN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726423AbgL3Jp1 (ORCPT + 99 others); Wed, 30 Dec 2020 04:45:27 -0500 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:10094 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726203AbgL3Jp0 (ORCPT ); Wed, 30 Dec 2020 04:45:26 -0500 Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Wed, 30 Dec 2020 01:44:46 -0800 Received: from mtl-vdi-166.wap.labs.mlnx (172.20.145.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 30 Dec 2020 09:44:23 +0000 Date: Wed, 30 Dec 2020 11:44:19 +0200 From: Eli Cohen To: Jason Wang CC: , , , , , , , , , , , Subject: Re: [PATCH 07/21] vdpa: multiple address spaces support Message-ID: <20201230094419.GA5241@mtl-vdi-166.wap.labs.mlnx> References: <20201216064818.48239-1-jasowang@redhat.com> <20201216064818.48239-8-jasowang@redhat.com> <20201229072832.GA195479@mtl-vdi-166.wap.labs.mlnx> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: User-Agent: Mutt/1.9.5 (bf161cf53efb) (2018-04-13) X-Originating-IP: [172.20.145.6] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1609321486; bh=T+aNJlqaQjEa7ixZd49BALMpmAXvQ08gOshCZHVK8wk=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:Content-Transfer-Encoding: In-Reply-To:User-Agent:X-Originating-IP:X-ClientProxiedBy; b=JvWpAQBNoX9k7KYlTy49CChU3oIracyLFt9BYagykfw2FaKWDLM5YUVEQ6iIYjUCr Wynwc02+9A7HdwMCA9zF/gPzdZEU0KRa5D3CaL55FkEyR6PUMstbHA2zHuvpd67keo zKdk+Yimd52B2MuRh9hX++nD8a4W9V0dHXl1Zlq54iDFYNx3RiM9mlBZ6z59rgDAh8 JaIpCk43jwiOdszgVBWwc40HWKUkjJqY1zgN0k7wPUb1vsUDcE4kfyouQZE6bu+/3g 2sZ6aXhU7YJurbiclqNQK1c5Lg3rRnxCuwa76t2owEjMFI16Qq+V/4TROdXBfa0vPl ZI5ASd2VtHo7A== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 30, 2020 at 12:04:30PM +0800, Jason Wang wrote: >=20 > On 2020/12/29 =E4=B8=8B=E5=8D=883:28, Eli Cohen wrote: > > > @@ -43,6 +43,8 @@ struct vdpa_vq_state { > > > * @index: device index > > > * @features_valid: were features initialized? for legacy guests > > > * @nvqs: the number of virtqueues > > > + * @ngroups: the number of virtqueue groups > > > + * @nas: the number of address spaces > > I am not sure these can be categorised as part of the state of the VQ. > > It's more of a property so maybe we can have a callback to get the > > properties of the VQ? >=20 >=20 > Or maybe there's a misunderstanding of the patch. >=20 Yes, I misinterpreted the hunk. No issue here. > Those two attributes belongs to vdpa_device instead of vdpa_vq_state > actually. >=20 > Thanks >=20