From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 82A262BAF; Sat, 1 Jul 2017 13:25:46 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id EEE6B209BB; Sat, 1 Jul 2017 07:25:45 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Sat, 01 Jul 2017 07:25:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=55AoPgfmNWhqpA5 epaQdTgelCgboBeg2LXApypKh+d8=; b=l4gtlHrwXTa4nVIBuPUEqbdmJ+2YZ4/ zeSLO25YL8JCr+cOfktVEUQ8iSAUQZwDtrm2syKzmq0ik8mO7x6Ocss2mABvd7JJ RyIl2lrCLGDV06l+4eChus68vsYZyw/4ZZdTUxd/ZLZeNByXqt2DJZwAquZ1v5Vz mPpdNbZD7feM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=55AoPgfmNWhqpA5epaQdTgelCgboBeg2LXApypKh+d8=; b=bQFmViEy F3UNVaZ8xsCxGDAdEgJjZIUtBpXZ9AfLc7WZugtnz1n7fak3vWwGaySbMme5jOVQ mOlYCPQbtmB3gwmlib/sLI327GwShM8c3eaBVqqYF8wNh7zuW6muUkghE9G9MxWM 9q7DwYw1IaRtp+Pbz1C0tkkh+wXGHN86PMyDQa+5bcip32ZEgSVbR1fnNLBgyj8p w8ziqdWgXjoHKqzhEjgegxc6SjkVJ5lupGWH17axvBjCCqgMY9R/DKhlr6sKx3WO ej9kU/xZa4d84aadswJs/qsB9CnmiL1/2qlUnVN5FVWD5PIZtNAalkvg1++SkMrD OPnmPNGrIo635Q== X-ME-Sender: X-Sasl-enc: VK2K5ANEc+hN6zoXRKx+JNJj3iXZrYnf615sLeIel4oK 1498908345 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id A85642474F; Sat, 1 Jul 2017 07:25:45 -0400 (EDT) From: Thomas Monjalon To: Daniel Verkamp , Olivier Matz Cc: dev@dpdk.org, stable@dpdk.org Date: Sat, 01 Jul 2017 13:25:44 +0200 Message-ID: <2142730.5CIpsl7KM1@xps> In-Reply-To: <4057935.qMb1xRYjf6@xps> References: <20170602200337.50743-1-daniel.verkamp@intel.com> <20170630133602.63d4f9ca@platinum> <4057935.qMb1xRYjf6@xps> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v2] ring: use aligned memzone allocation X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jul 2017 11:25:46 -0000 01/07/2017 13:14, Thomas Monjalon: > 30/06/2017 13:36, Olivier Matz: > > On Fri, 2 Jun 2017 13:12:13 -0700, Daniel Verkamp wrote: > > > rte_memzone_reserve() provides cache line alignment, but > > > struct rte_ring may require more than cache line alignment: on x86-64, > > > it needs 128-byte alignment due to PROD_ALIGN and CONS_ALIGN, which are > > > 128 bytes, but cache line size is 64 bytes. > > > > > > Fixes runtime warnings with UBSan enabled. > > > > > > Fixes: d9f0d3a1ffd4 ("ring: remove split cacheline build setting") > > > > > > Signed-off-by: Daniel Verkamp > > > > Acked-by: Olivier Matz > > Applied, thanks and Cc stable@dpdk.org ;)