Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1282894imm; Tue, 22 May 2018 01:18:33 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoV7C6XrMw5KRsFjspcuju29frD8euhoxm0L4ORsvAHJQn0Lt4PLvY+A6L+iSDs+JhJrtED X-Received: by 2002:a63:6196:: with SMTP id v144-v6mr18628197pgb.264.1526977113725; Tue, 22 May 2018 01:18:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526977113; cv=none; d=google.com; s=arc-20160816; b=oOBLeme7H508aSVVUekmbbgoekGA63hcwLaWInG5CdZ58CTlTjuCeKi9rFttp7XJ3d SRsU6AIeOao6lbwdJ8eJiVteRJabSofhiQHrjLXwiGMOBpxSwVXrLv/NU5ejh27FW/v/ 9CUQ1EeU6ZveXfw5uUfm6coH45geMa6m9ANzawtho1sZxP3H+G4ThzriNWb4jW/RLdev pIuxBe5nulwbWk0WbD7NYMsZ4cdaYaWsXzJZ4Ky3ewdgb5uAOMF99rkxHjSTC8HtZ2Ov hjK0c9uTbJ2s0lPTZTSTsTUqpO0AFHpBJfWuAlF868EdAHZO6gkYAzSM5Fs+HDuILOL4 Y2cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=ihRzaAiRhvu36C0gfIo32HN20aKluc6tU2X52QyDW9M=; b=QtLoG5a15s/zbMO/RI1cDC/JG3ImcGMxi6U30l2sMvYT01OswzO2lTvs6NjoLe75Nj 2Y2Q+cCC2EBZaHpPsSQ8DyCcjRWxkqI1a6uom5ZOjR3PIVYFlNU+uTpv7HKX7X2ryGZS 3cEmRvR/3bsghgHxuOEaUrIMZjPrvIpU5Zkzr0CMhZvQibN1S6GArnOi2w2JPQLCw7Dn ZSTmUczk8/J/cUkRLTaxbvwA5j9PFYc4I9brlBFESnIAIM8bxZhh38CR8qJnY8be7cKG T59PM8YjbHDn8OOgsktCW8kEdcOB3HYgIjYwBFFWv2sF05uZNvEUiRJb4iyCw/tJpofM XFew== 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 f7-v6si12791359pgc.320.2018.05.22.01.18.19; Tue, 22 May 2018 01:18: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 S1751547AbeEVIRc (ORCPT + 99 others); Tue, 22 May 2018 04:17:32 -0400 Received: from mga05.intel.com ([192.55.52.43]:23530 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751512AbeEVIR0 (ORCPT ); Tue, 22 May 2018 04:17:26 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 May 2018 01:17:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,429,1520924400"; d="scan'208";a="51200185" Received: from debian.sh.intel.com ([10.67.104.203]) by FMSMGA003.fm.intel.com with ESMTP; 22 May 2018 01:17:23 -0700 From: Tiwei Bie To: mst@redhat.com, jasowang@redhat.com, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Cc: wexu@redhat.com, jfreimann@redhat.com, tiwei.bie@intel.com Subject: [RFC v5 5/5] virtio_ring: enable packed ring Date: Tue, 22 May 2018 16:16:48 +0800 Message-Id: <20180522081648.14768-6-tiwei.bie@intel.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180522081648.14768-1-tiwei.bie@intel.com> References: <20180522081648.14768-1-tiwei.bie@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Tiwei Bie --- drivers/virtio/virtio_ring.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index 1ee52a89cb04..355dfef4f1eb 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -1956,6 +1956,8 @@ void vring_transport_features(struct virtio_device *vdev) break; case VIRTIO_F_IOMMU_PLATFORM: break; + case VIRTIO_F_RING_PACKED: + break; default: /* We don't understand this bit. */ __virtio_clear_bit(vdev, i); -- 2.17.0