Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1695992imu; Sat, 8 Dec 2018 05:29:46 -0800 (PST) X-Google-Smtp-Source: AFSGD/WVdSGqqIRaupKvMPHJTw6xYCSYS+6F1XjjQkv9PG6xdsUXNwy0kdDawZTr6MsoIP8C040i X-Received: by 2002:a63:2b01:: with SMTP id r1mr5100388pgr.432.1544275786820; Sat, 08 Dec 2018 05:29:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544275786; cv=none; d=google.com; s=arc-20160816; b=PSSYXdoVzyZdpeke+sKma1Z6y3ukD5Vvb1+B6/KLpDX3zuhuDXcX96DU/y0CsQpHJO zqitc94jzsIWZ5YSd+5T89DQryPkxxJukzGkhGGHKyVnrK8KTbYx8W8E7BgW7hdz1S0D L9yAeZTBK7gqOJhyTNI5hYEfjhk2BDIKfzJuIgJcpTJuA74Zw9qVLFQp/Z9i9Js9KGEN M/u88m6QcDqfnQ5zWHsE9l89jHeRPyB6raGLJzsfah8jPFzGJG0v2WkyryhBxUV2G5Yi 4vzSyOOO2e8zDlmhl1SpX4KHuIf8PvKGDS47P0lr/OuHx5nS7jjI7Q/WkTii4QlVKEWf 0gCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=O8vDeqn0BqYypBYscuRt2r8tWZHcuD33ZxxXdTxE7OU=; b=mbLGxkNj/gs3uRMIFwEDUn2kPlURM7uBHDoFNT5c18rV2BxbbMkpZeUUplMKuY42oK mb/ZWo1hEozhnAjZdcWl85+S19WEisdJJUHgKbsZ8B7dghpJqAqeWiESrMRnj+Xy20jh yOnUHtccjbK4C0LqQuTcyRUbO9yPOKfFy7WGMEREC9iPBBEDfPFHkb27tpBqe3Jh3ExZ sgVCiCC2kSTvVG+/zm154kp0kCavI1e6WAhNv8GwKSalF3NqO644J8euFqyYgBySLkon 9Uyn24qaBv2SBuq/QtAhCQuctTIBEXTl2CA7t2d+5fG2AVwBzEham6QV5//V8IjIL0ko kz9g== 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 y17si5388100pll.10.2018.12.08.05.29.28; Sat, 08 Dec 2018 05:29:46 -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 S1726159AbeLHN2w (ORCPT + 99 others); Sat, 8 Dec 2018 08:28:52 -0500 Received: from mga05.intel.com ([192.55.52.43]:4529 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726121AbeLHN2w (ORCPT ); Sat, 8 Dec 2018 08:28:52 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Dec 2018 05:28:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,330,1539673200"; d="scan'208";a="124140398" Received: from btwcube1.sh.intel.com (HELO dpdk-tbie) ([10.67.104.173]) by fmsmga002.fm.intel.com with ESMTP; 08 Dec 2018 05:28:50 -0800 Date: Sat, 8 Dec 2018 21:26:57 +0800 From: Tiwei Bie To: "Michael S. Tsirkin" Cc: jasowang@redhat.com, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, virtio-dev@lists.oasis-open.org, wexu@redhat.com, jfreimann@redhat.com, maxime.coquelin@redhat.com Subject: Re: [RFC 0/3] virtio_ring: define flags as shifts consistently Message-ID: <20181208132656.GA29772@dpdk-tbie> References: <20181207084842.13133-1-tiwei.bie@intel.com> <20181207131058-mutt-send-email-mst@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20181207131058-mutt-send-email-mst@kernel.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 07, 2018 at 01:11:42PM -0500, Michael S. Tsirkin wrote: > On Fri, Dec 07, 2018 at 04:48:39PM +0800, Tiwei Bie wrote: > > This is a follow up of the discussion in this thread: > > https://patchwork.ozlabs.org/patch/1001015/#2042353 > > How was this tested? I'd suggest building virtio > before and after the changes, stripped binary > should be exactly the same. Sure, I will do the test with scripts/objdiff. > > > > Tiwei Bie (3): > > virtio_ring: define flags as shifts consistently > > virtio_ring: add VIRTIO_RING_NO_LEGACY > > virtio_ring: use new vring flags > > > > drivers/virtio/virtio_ring.c | 100 ++++++++++++++++++------------- > > include/uapi/linux/virtio_ring.h | 61 +++++++++++++------ > > 2 files changed, 103 insertions(+), 58 deletions(-) > > > > -- > > 2.17.1