Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1706928imm; Wed, 16 May 2018 01:41:00 -0700 (PDT) X-Google-Smtp-Source: AB8JxZocTMry66OEa0y8Yub2/acilC7XeXIK+wE+OpV03Dr43byoTXIQbBg7BH1eubkfGfCh94qv X-Received: by 2002:a17:902:7d94:: with SMTP id a20-v6mr12850656plm.123.1526460060609; Wed, 16 May 2018 01:41:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526460060; cv=none; d=google.com; s=arc-20160816; b=unF23N+Q+4DP6bcx4qX/7TvYrhhXtxSHan4H0U3kgqmwr2ob1GmoTRs1wc5MP8lGVl JP2mW8MH7RFp4wfkR6GAeNFMNG8eH7x+YXr45ZaPpM5IwoCuR8gjrQNTCNfyVb+g4c+F dihl8a2I5Wi0GRVVpN/s+jEWjz/fYP0U3i4zydPMiIh5cU7FPzborblBAkKO1fxq7KDh KPO9MfE+X4JpEi6rJE1TsnbG3u6qI+JcftJyuonAstzTan+2/mRpwo13WQ86O7jTG8zU IGXz4OGa7vQ67Zeqe+KdUHUEokCPWqA0WxxSZjG/ql5iVuuGlljar+XtMD7V9+ywJQR3 KAtw== 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=0FWbcR5sMQUh/3fp2NdvnWPHl502b4Gj6EvbyHKWmL4=; b=CRMPjF/U+tXeba7uX7+bDkuhFBbmD6b0A7w72VohfvnemdGlfUMSpGLWo/fPB1j34H ibHm+vKKaOCiK7j+HXQsDJi/IMKFkF7Es5YybjBXIB//sFD2gNjPnOf3Uu6LsngF5Bld lDIIyPA6/aYHzhzWfynhZuOsYZYZolfCzHmpWjJrFXdNlurWa8a/xNmcd0BxJEfLtyPY rCwKIlHcvl0oK2P9A/V9oYYv46LC9HvCWU6sctknaRAXi3v+Nv5nGPy5qi6PR0NGcTTo I5oAn/7Lu89UVpxk8rFgLEw8hWmkOstEN7vZhghdBpYSUL6eOm4qw1ce6kkK7cGmc6MW agtA== 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 b9-v6si1910719plb.522.2018.05.16.01.40.46; Wed, 16 May 2018 01:41:00 -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 S1752547AbeEPIjV (ORCPT + 99 others); Wed, 16 May 2018 04:39:21 -0400 Received: from mga03.intel.com ([134.134.136.65]:30628 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752490AbeEPIhm (ORCPT ); Wed, 16 May 2018 04:37:42 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 May 2018 01:37:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,404,1520924400"; d="scan'208";a="41347788" Received: from debian.sh.intel.com ([10.67.104.203]) by orsmga007.jf.intel.com with ESMTP; 16 May 2018 01:37:40 -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 v4 5/5] virtio_ring: enable packed ring Date: Wed, 16 May 2018 16:37:37 +0800 Message-Id: <20180516083737.26504-6-tiwei.bie@intel.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180516083737.26504-1-tiwei.bie@intel.com> References: <20180516083737.26504-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 de3839f3621a..b158692263b0 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -1940,6 +1940,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