From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 6357D288C; Fri, 25 Jan 2019 13:48:30 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 76F8DA12F8; Fri, 25 Jan 2019 12:48:29 +0000 (UTC) Received: from localhost (unknown [10.40.205.110]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 143825B6B0; Fri, 25 Jan 2019 12:48:22 +0000 (UTC) Date: Fri, 25 Jan 2019 13:48:21 +0100 From: Jens Freimann To: Ilya Maximets Cc: dev@dpdk.org, Maxime Coquelin , "Michael S . Tsirkin" , Tiwei Bie , Zhihong Wang , stable@dpdk.org Message-ID: <20190125124821.mo2gqgrygmnrjwab@jenstp.localdomain> References: <20190124165902.24178-1-i.maximets@samsung.com> <20190124165902.24178-4-i.maximets@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20190124165902.24178-4-i.maximets@samsung.com> User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Fri, 25 Jan 2019 12:48:29 +0000 (UTC) Subject: Re: [dpdk-dev] [PATCH 3/3] net/virtio: add missing read barrier for packed dequeue X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2019 12:48:30 -0000 On Thu, Jan 24, 2019 at 07:59:02PM +0300, Ilya Maximets wrote: >Read barrier is required between reading the flags (desc_is_used) >and the content of descriptor to ensure the ordering. >Otherwise, speculative read of desc.id could be reordered with >reading of the desc.flags. > >Fixes: a76290c8f1cf ("net/virtio: implement Rx path for packed queues") >Cc: stable@dpdk.org I don't thing cc stable is required as a76290c8f1cf is only in v19.02-rc1 and newer. regards, Jens