Received: by 10.192.165.148 with SMTP id m20csp273123imm; Tue, 24 Apr 2018 22:17:56 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/BpzO3YKFzX+E/p2cDuMhXtn59NoyAh3z7ZA/4EAcOjcSYSLrh22Bbkgp2/ZevhWQw89ak X-Received: by 10.167.128.141 with SMTP id v13mr26332578pff.147.1524633476197; Tue, 24 Apr 2018 22:17:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524633476; cv=none; d=google.com; s=arc-20160816; b=kxeK/K31im0qtSp8gVJJaOk2siiGM7riDDNbHGH2j2Wn04Pka0xRqo4Fm9ayiptXup PKN9tT6IqwAv7GpYGCzsVDe/cU2mDpvecWRpWagKesl+XgQ4BrZRDyTZr6aRFiI+GTi6 33ZsDadtPuJXADnnJTCtrzJQSfdDppvdee5DZlIafSkgMRs9k/oQDkvNhFh7xy+drh3M 3zHvENBYQTIO2RYWew/JEo9dekp9oXNCOj5Y0y7HQa1wVLUgAvRU6RX/ooduf2InW3eY TfWSLXRZVSyYDdaQ77d7Vnp6WuckJvB0X/PBoPGg0cQjKYVltKJ0tmQVgcpUTh53QuNX 78xA== 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=aPQthncJnUEuBBMRNyAHBVbr9Q2glEdrRWySG8o7mHE=; b=R1u1a/zwRSagQY1UdCUHPKJLdzJY0gMsyAF+AUACcrCh7qSaeD8KR8df5o37nRiPum DrYzM/8y/XTWbZQUA+9LN4Kr6gG74xKyL07PyPokzHHORpc5cy46KmR3jWGODqR5OUjV p4kmJjwivMt8RH33srBF65NX2/3/qOYKq1IvhL7OJWGy1JhZDSdbl2FJq0wrObXl+3rp ZyWk7HqYHjmM2qlFj2BklmRCUv6RAAP2nUaobPvCNoeATmSSZkbEtxgR7C0/UFBG+ZAg LkQP+NzgzpwJjQYZuzMSP76JkqAdRQ4yg4pRbZl0w1ba9FhDmuDUyVnkYO2sWuwnUxS8 CPvQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b189si13080304pgc.357.2018.04.24.22.17.41; Tue, 24 Apr 2018 22:17:56 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751461AbeDYFQY (ORCPT + 99 others); Wed, 25 Apr 2018 01:16:24 -0400 Received: from mga06.intel.com ([134.134.136.31]:64024 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751302AbeDYFP3 (ORCPT ); Wed, 25 Apr 2018 01:15:29 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Apr 2018 22:15:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,325,1520924400"; d="scan'208";a="223170593" Received: from debian.sh.intel.com ([10.67.104.164]) by fmsmga006.fm.intel.com with ESMTP; 24 Apr 2018 22:15:27 -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 v3 5/5] virtio_ring: enable packed ring Date: Wed, 25 Apr 2018 13:15:50 +0800 Message-Id: <20180425051550.24342-6-tiwei.bie@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180425051550.24342-1-tiwei.bie@intel.com> References: <20180425051550.24342-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 b1039c2985b9..9a3d13e1e2ba 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -1873,6 +1873,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.11.0