From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] app/test: fix refcnt_mbuf_ring size Date: Thu, 21 Jul 2016 23:51:55 +0200 Message-ID: <1804393.79fuGYMh5H@xps13> References: <1468821354-23612-1-git-send-email-jerin.jacob@caviumnetworks.com> <1b08ca23-42ab-a7f5-0f45-6512388da275@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: Olivier Matz , dev@dpdk.org To: Jerin Jacob 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) In-Reply-To: <1b08ca23-42ab-a7f5-0f45-6512388da275@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > 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