Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp438704imm; Fri, 1 Jun 2018 03:47:29 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKXo0h12e9/nmr+EorT+cEDZly8lDofX1ErW1x1JV9ZKqz+GTaIFidt8RQQrWwEy3xrc/AT X-Received: by 2002:a17:902:b417:: with SMTP id x23-v6mr10826033plr.388.1527850049179; Fri, 01 Jun 2018 03:47:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527850049; cv=none; d=google.com; s=arc-20160816; b=pRlqKsDihJrqnbQ3KMZVpv/gC7x1hGgusdQIOmNXHLnn8FTOAwOuA6nC3d+UmQhvo/ UCqgYwd8cXmJ1cD8xrA2+lV4JRHUXGkfnIArUZprBkdrOr9w6wz5uNBoyMCZYLll0JCV 8ei2cJyozIUVc7rSfXYAmJoPPsyQy6HAu3Qc4ljIkzyq/7jUM45Tf5bpJMRYZgRoE5ko rB7fiwEOu/n+TBvm/erQvFhcoL12sXX/4+8log1fPtp0XDjy94VyPDnIYmhv3qj0UCtr BGlz91r6GcEsF4ygRrMtyhFvFX46DhptecN1Sdk4T9NuAfSsxZlI8/QxOId2U7RT9S8C vTGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=zfpssVZTSyXVB6t1Z4rqBtUHKJuqVRAyRcbdznfu7kw=; b=g6FmdBh/YGOk/f/O2+Yv6ns/4W+eaG2VFRGMYYCWDRJbDKje+PdFenNQRiEyIpfa8u Vq/FrY102FIQM8H9VUdo0ljLAa57D7DbmqMytLwBotiKZWNAIEVeEHcWlJEozjsJuX/F gQzJ576CUkc+KF2bB/1iIBJAINc05tHhqhAeSW2jZ4YK5BtT3CJE6lIHutGJwC1JTxIr a3PgiQZ3yJp0QajjisuxgmCG99pYM1HM4F3ryWyETyJ4IvvsfsDb997ju79tEkwSWOK2 /JbwPaSweoIPN8Z20HRo0+F/dFBYq3sSIZLKv3cNKdhKF7LhN6dbjh15hfmGAbge7p+Q cZqg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b26-v6si14684661pgw.394.2018.06.01.03.47.14; Fri, 01 Jun 2018 03:47:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751624AbeFAKqD (ORCPT + 99 others); Fri, 1 Jun 2018 06:46:03 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:47852 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751432AbeFAKqC (ORCPT ); Fri, 1 Jun 2018 06:46:02 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7C0B440BC056; Fri, 1 Jun 2018 10:46:01 +0000 (UTC) Received: from gondolin (ovpn-117-66.ams2.redhat.com [10.36.117.66]) by smtp.corp.redhat.com (Postfix) with ESMTP id A821F112D185; Fri, 1 Jun 2018 10:45:55 +0000 (UTC) Date: Fri, 1 Jun 2018 12:45:52 +0200 From: Cornelia Huck To: Tiwei Bie Cc: mst@redhat.com, jasowang@redhat.com, stefanha@redhat.com, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, virtio-dev@lists.oasis-open.org Subject: Re: [virtio-dev] [PATCH] virtio: update the comments for transport features Message-ID: <20180601124552.6a188454.cohuck@redhat.com> In-Reply-To: <20180601102217.21628-1-tiwei.bie@intel.com> References: <20180601102217.21628-1-tiwei.bie@intel.com> Organization: Red Hat GmbH MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Fri, 01 Jun 2018 10:46:01 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Fri, 01 Jun 2018 10:46:01 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'cohuck@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 1 Jun 2018 18:22:17 +0800 Tiwei Bie wrote: > Suggested-by: Michael S. Tsirkin > Signed-off-by: Tiwei Bie > --- > This patch is generated on top of below patch: > https://lists.oasis-open.org/archives/virtio-dev/201805/msg00212.html > > include/uapi/linux/virtio_config.h | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > > diff --git a/include/uapi/linux/virtio_config.h b/include/uapi/linux/virtio_config.h > index b7c1f4e7d59e..479affd903e9 100644 > --- a/include/uapi/linux/virtio_config.h > +++ b/include/uapi/linux/virtio_config.h > @@ -45,9 +45,12 @@ > /* We've given up on this device. */ > #define VIRTIO_CONFIG_S_FAILED 0x80 > > -/* Some virtio feature bits (currently bits 28 through 32) are reserved for the > - * transport being used (eg. virtio_ring), the rest are per-device feature > - * bits. */ > +/* > + * Some virtio feature bits (currently bits VIRTIO_TRANSPORT_F_START > + * through VIRTIO_TRANSPORT_F_END) are reserved for the transport being It will always be bits up to VIRTIO_TRANSPORT_F_END, no? So you can drop the "currently"? Or reword as "Virtio feature bits VIRTIO_TRANSPORT_F_START through VIRTIO_TRANSPORT_F_END are reserved..."? > + * used (e.g. virtio_ring, virtio_pci etc.), the rest are per-device > + * feature bits. > + */ > #define VIRTIO_TRANSPORT_F_START 28 > #define VIRTIO_TRANSPORT_F_END 38 >