From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id D84F35A1F for ; Thu, 21 Jul 2016 23:51:56 +0200 (CEST) Received: by mail-wm0-f52.google.com with SMTP id f65so36049339wmi.0 for ; Thu, 21 Jul 2016 14:51:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=KZMvMYrcPphEVUJyAf+5BVswSTqtK4KKERNttu2SVUc=; b=gavrn7HKl5AgV0XEB14XgPRvv64PwdNVK6gLXReMkfkH2AJkYMpOWOj0bvmOhEhWub qE92Z9jJ42Xe8ZMgdRgomWL4yPFgGYCH79ZjuWlBmXv0VjwjkydnwOH/sWoArCbR1ssy 5zXqCNZU0WvpyjD+nW6gx2/Q8T1twgtLOTV8G7rXHW17ANkppyp8MMBguc/RVIKhJ+Vk 4prpZvaTK3RbNqgYM6W+IoYNjeh6NAGINiUBg5lwoQA12upm2xVAM5IuLTaq/d7uYYgA PYj0Gk8WviJqGj3av2YIFcxO8KyLaQcCLKnzm/dvDjp3iQShDEPgI/7Q66hZhRjPpx2r 1otA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=KZMvMYrcPphEVUJyAf+5BVswSTqtK4KKERNttu2SVUc=; b=k7n+2VYlK7vQ8AYTW/9IHJnAQ60JfMCLTttLyGrKog17+djQCpF72/F2oQxZ+cYMkR dUWDmWiSGZnLO9+7YaaOIm8l6FDU1ClqpK576y/N7JLB7qbe9krHEWtIDAm4acdvI37L iG4O07CRAWF0pUdfWw4Eg2TI4r8fNCR0R7tqDwofNywlW6MRDILr7w4gnpHqS+BEtE4j WsEqeXGdpmVQKek8oVS+5r2UPyrMIOGRp+og7ckIdebMndXMTfq/dbmwb4tHxnnzFbV6 JvyPqZP3p1Ag5eLVmZVf+oG7gOWRy0HaI6EHIe8BoFNXV2SpXTeSaA0KCdc0fp2ZSQ9F mqrg== X-Gm-Message-State: AEkoousSF1aSXdAxu22CldtCLAGaGJ+aKr92yHqmjGombsrgZPKQbk98WW3DBU3Mj7VJPCv2 X-Received: by 10.28.154.21 with SMTP id c21mr690506wme.63.1469137916689; Thu, 21 Jul 2016 14:51:56 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id b203sm7497964wmh.20.2016.07.21.14.51.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jul 2016 14:51:55 -0700 (PDT) From: Thomas Monjalon To: Jerin Jacob Cc: Olivier Matz , dev@dpdk.org Date: Thu, 21 Jul 2016 23:51:55 +0200 Message-ID: <1804393.79fuGYMh5H@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1b08ca23-42ab-a7f5-0f45-6512388da275@6wind.com> References: <1468821354-23612-1-git-send-email-jerin.jacob@caviumnetworks.com> <1b08ca23-42ab-a7f5-0f45-6512388da275@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] app/test: fix refcnt_mbuf_ring size X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2016 21:51:57 -0000 > > rte_ring_create expects the size of the ring to > > be a power of 2. REFCNT_RING_SIZE value is not > > power of 2 in-case if RTE_MAX_LCORE == 96. > > Fix it by aligning the size to next power of 2 value. > > > > Fixes: af75078f ("first public release") > > > > Signed-off-by: Jerin Jacob > > Acked-by: Olivier Matz Applied, thanks