Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp467009imm; Fri, 1 Jun 2018 04:18:17 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL2LqreutjRVHpZdZ/KTBN67T0SOCdLtxm6rz49mqyRSxlbqUqA6dvMHUNixs+z+zS0z9pm X-Received: by 2002:a17:902:24c7:: with SMTP id l7-v6mr10773811plg.170.1527851897784; Fri, 01 Jun 2018 04:18:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527851897; cv=none; d=google.com; s=arc-20160816; b=YRK9hFdFX5MGdOT2EaKLCP2Q5spky0Rf+PWRP31Jc1HOF5sT716xylVgLiuL3iOeEz y0965cePNKKqJG7rLjcltrljqUT1yVJDT+UX57uErvj6szaH5Rt0no6kHGKjvivirOd4 BBwkpeFrFVoolBA5EaOz8uNq7wXjCalcrKEazVcRpOLJymLH6nv59jFAV08V1RkB2euT jHEHdTbhmFVdKBifuyGXYRsis/bYOb+TonPHJ1e8igoOBUhi3hwInvDO38dK3dZDbIZu uxbMxHTYH3D4+yhzrydyCx506x6sBI9nTlZSTbpdDzs91qdNewti6seUXYneAXcNvByA EVGg== 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=mihUWOQDcxcJJvIXcJucl06HQyLORoSkVSjIDN0lIeA=; b=x0i5tNy2z7K+HVY/HCXU4kuju1eyBJPB3lhVahSYmsAnJvDvznA9no9dhyyrPOT7Yg qupYUXglx5KwtVxgFh1AJe5fiyyaF1T0fZJ97Pt4TtmpmSg4qoVHB7LTMzX33ZABOAYo JU/Jg9xH3LQwxeuW/mcumzG994flHbvtlWNJHVICZOJN/LqLeKmHAS7XL0ZHplR2/glh xtIovQkluuZgcfguC6+/T6ziyHqeZuPIdOMZaE5muHgPt+AMyhL44w26CK2/yMGGDOZp QRUPnOAl4sFmuzrixFahheLSYTzF1BTR/baWTVItHo7C+7eAZcFDQmSbseAU0p+ZNvKV bc5A== 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 n5-v6si3511738pgu.688.2018.06.01.04.18.03; Fri, 01 Jun 2018 04:18:17 -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 S1751852AbeFALQ5 (ORCPT + 99 others); Fri, 1 Jun 2018 07:16:57 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:39022 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751823AbeFALQx (ORCPT ); Fri, 1 Jun 2018 07:16:53 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 65F52401EF1C; Fri, 1 Jun 2018 11:16:52 +0000 (UTC) Received: from gondolin (ovpn-117-66.ams2.redhat.com [10.36.117.66]) by smtp.corp.redhat.com (Postfix) with ESMTP id EC08E2166BB2; Fri, 1 Jun 2018 11:16:50 +0000 (UTC) Date: Fri, 1 Jun 2018 13:16:47 +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: [PATCH v2] virtio: update the comments for transport features Message-ID: <20180601131647.5d02da18.cohuck@redhat.com> In-Reply-To: <20180601105950.10632-1-tiwei.bie@intel.com> References: <20180601105950.10632-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.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Fri, 01 Jun 2018 11:16:52 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Fri, 01 Jun 2018 11:16:52 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.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:59:50 +0800 Tiwei Bie wrote: > The existing comments for transport features are out dated. s/out dated/outdated/ > So update them to address the latest changes in the spec. > > 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 > > v2: > - Improve the comments (Cornelia); > - Improve the commit message; > > 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..449132c76b1c 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. */ > +/* > + * Virtio feature bits VIRTIO_TRANSPORT_F_START through > + * VIRTIO_TRANSPORT_F_END are reserved for the transport > + * being 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 > Reviewed-by: Cornelia Huck