Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1803948imu; Wed, 21 Nov 2018 02:08:16 -0800 (PST) X-Google-Smtp-Source: AFSGD/XwIkXyiB3tGWGBLX/lnyA9XSYkSYMGoFSbd0ZSHJk5pZKXO6unMSoFgZ5Okbl2WtzWtGLS X-Received: by 2002:a17:902:29ab:: with SMTP id h40mr6097723plb.238.1542794896355; Wed, 21 Nov 2018 02:08:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542794896; cv=none; d=google.com; s=arc-20160816; b=GvbGfmmiQEJTgm1XoQ/xggJ14cE8SJhrt1Az1uXkvQSa2p5HHOFuOuJhuAKK8zwIS/ MhP/Uqq2qhyGqV3070kbBNzQWT7fzZIgeC4BGC+4WQrLVS1mX5CJ5G0E1P1Ei1VR+mve zhK8GsIxmsi7RpxvnmDlW2UuQ+qH9rD9icRciwGH48apunrnHabnkujHnOBvBuAsj18A IdiuYht+6s1lZS9wE+QeT2HBcF57vFC84+Y7z5ZwsngW1foxx1xzYURHEsUjasNFUfrL HFAMqJxO/36ELLrtWRjs5Jf4Hz3UwBicQfY3n3Slm6xJ4kms7NWpQFI1dlH3E16nrJfT wmVw== 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; bh=j9GZUsbYKAvP+qG1XdsvAtGC3GcrVnpHifD6+KuCFqk=; b=OHcndcQikJ6TFmlGkq9/ZBQg94Bn5Bp/Uj+5Ugee6dWSXDfUipMNr6Ybxp+OZ0KIxE 5UX4PWb6Y5pL6DJOSJPJGMjvOG5rrkFBuqVdJt6yBtX1qZRTGAwYIq3W1SV+Kc/me8wq skzUI5hlXc+pE0UQQkpRtU7PDBg8eheDvps0cq+VKoQO7JrpcuMoBDEf3+zVUSjrH2s+ rYD5aQjNb4YtmJjfBAZAv9t21l0u7qU93/CI7so8iPZSUvnIsQ6OgrHFVKmOkhvMqpg2 q4qjCRynmmpxWgqAiBuMoTUVV/tpaIQw3Zp0VbHSjAGzpGYQmChbQoDgfZit1hLouhJQ Nscg== 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 h1-v6si48097419pld.332.2018.11.21.02.08.01; Wed, 21 Nov 2018 02:08:16 -0800 (PST) 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 S1729949AbeKUUjm (ORCPT + 99 others); Wed, 21 Nov 2018 15:39:42 -0500 Received: from mga18.intel.com ([134.134.136.126]:14789 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729792AbeKUUjl (ORCPT ); Wed, 21 Nov 2018 15:39:41 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Nov 2018 02:05:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,260,1539673200"; d="scan'208";a="275727131" Received: from btwcube1.sh.intel.com ([10.67.104.173]) by orsmga005.jf.intel.com with ESMTP; 21 Nov 2018 02:05:50 -0800 From: Tiwei Bie To: mst@redhat.com, jasowang@redhat.com, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, virtio-dev@lists.oasis-open.org Cc: wexu@redhat.com, jfreimann@redhat.com, maxime.coquelin@redhat.com, tiwei.bie@intel.com Subject: [PATCH net-next v3 13/13] virtio_ring: advertize packed ring layout Date: Wed, 21 Nov 2018 18:03:30 +0800 Message-Id: <20181121100330.24846-14-tiwei.bie@intel.com> X-Mailer: git-send-email 2.14.5 In-Reply-To: <20181121100330.24846-1-tiwei.bie@intel.com> References: <20181121100330.24846-1-tiwei.bie@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Advertize the packed ring layout support. 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 40e4d3798d16..cd7e755484e3 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -2211,6 +2211,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.14.5