Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp449329imm; Fri, 1 Jun 2018 04:00:33 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKyt+KbfemMZVSHumgLqMmrQsNgFtlgLJLGL02lOS4PNd739tb4KPWRVOrl+z3+LzmR7vlI X-Received: by 2002:a62:9d58:: with SMTP id i85-v6mr10415810pfd.76.1527850833820; Fri, 01 Jun 2018 04:00:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527850833; cv=none; d=google.com; s=arc-20160816; b=ptmWAt2RdiRGuhXKWRS4Rxp97i/QRGMzdp0I0DTPd9qACu8c8az9ypcf3+rBrSELP2 upi+N/RyShriykV0n/4qC5JtK4uIDSW9Zf4cL53RP+hOfmXQ7pUW2hbAfJxLFXzLothU pI6XEEMGZgvBURBntvB4PQbpy0fWjsIZntvL6POaK3GYYhQFnp/BZsYvZV/T56hcooUy LEDF013Enlxn6hgbwJmjuevQol7Ox8EL/coyZMlcJrfS8x0VKbLMDC5bELKtAqATT/WI 8bLYAjmXJl0+EQbxdRZv1uy1Qr65uKHm18Vu5rV809rGy1IBpG0jfeBRT5bT9H9EVdHf icQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:to:from :arc-authentication-results; bh=CdlhRi1b9ovC1mY33A3IsX6R1akASULK0w4oyNuoDAI=; b=A2wzbDPitZ/mBSkpC8kwHCy6gQXOkcwq0RzNghwWjrqDMdAfS9IPeZUqK54z8vOtR9 CPxGPt2YI6guvyaxnBiZlFfg5Keh0NzLtEyObJbt/FggigMIITGmLSDRS6WfjlpmABmG NQ1O0cJs5MrXCWGMGi232bHw5IQK5Be0uLAUEjoDs5FXOkD27WiNVf1hOGMKV2TlxSoy PXkn4ofviyhr4RniS5DXvHwRr0pUxAJCXtw0T/Dknrxq0wBNQGz8nHAdPftTOBihmKo0 4Kr8ewq6UJDfiO9sR31Kt0oyPuTi+74LISj3CowBY7jN5pzU+/KQfaUdrYKssluDcek2 /f0w== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x20-v6si38779616pln.235.2018.06.01.04.00.19; Fri, 01 Jun 2018 04:00:33 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751417AbeFAK7m (ORCPT + 99 others); Fri, 1 Jun 2018 06:59:42 -0400 Received: from mga14.intel.com ([192.55.52.115]:59343 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750795AbeFAK7j (ORCPT ); Fri, 1 Jun 2018 06:59:39 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Jun 2018 03:59:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,465,1520924400"; d="scan'208";a="46488982" Received: from debian.sh.intel.com ([10.67.104.203]) by orsmga006.jf.intel.com with ESMTP; 01 Jun 2018 03:59:37 -0700 From: Tiwei Bie To: mst@redhat.com, jasowang@redhat.com, stefanha@redhat.com, cohuck@redhat.com, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, virtio-dev@lists.oasis-open.org Subject: [PATCH v2] virtio: update the comments for transport features Date: Fri, 1 Jun 2018 18:59:50 +0800 Message-Id: <20180601105950.10632-1-tiwei.bie@intel.com> X-Mailer: git-send-email 2.17.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The existing comments for transport features are out dated. 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 -- 2.17.0