From patchwork Tue Feb 24 19:27:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 44991 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 02B0D2029F for ; Tue, 24 Feb 2015 19:28:34 +0000 (UTC) Received: by labge10 with SMTP id ge10sf18679226lab.3 for ; Tue, 24 Feb 2015 11:28:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=fqmahqfrm06dMd1WoqmyGIGhrLKlx4HXDuq4fXUvFd4=; b=NmaqVTlWAAAh75d2G/tGYIks7kMjkry6tfXV73Hayb5s79zO6MXWZRCudns1m8s1Qv su3qTIdKHnT0NnwjOr9ogOsObW5h6qi45oh16GGM9Ue51kTy+CCJ6zRcBgIh48vhyPse tuoOutf/ZLAy8ux4nbnwzVmSgXKbR0SGbWmUFwh/HGQvuxhNHm53cgXZ8drUh2y1ch9V NsNS4V6Bib0xxeEdU3FAu4x5knmPF/Z81lOLcFzZkhdA/gB8ZfdN+tRP/s4ixjgjJDID hx81CcsB4N05tISClipgrnuzDUCnkZ0e15IcdgTIE4kEAvw8y9seJ1MMTzkOeT8PEdAU W6mg== X-Gm-Message-State: ALoCoQlZC83QLTAcdjC8mdjJXCQrfg2r+6/5cyzv7/M7k1y7f7q8QdpQUQrI/OaQaRgHNIy2M/5x X-Received: by 10.112.40.81 with SMTP id v17mr27237lbk.5.1424806112252; Tue, 24 Feb 2015 11:28:32 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.7.208 with SMTP id l16ls651830laa.66.gmail; Tue, 24 Feb 2015 11:28:32 -0800 (PST) X-Received: by 10.112.97.106 with SMTP id dz10mr15685038lbb.4.1424806112088; Tue, 24 Feb 2015 11:28:32 -0800 (PST) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPS id ay10si29119130lab.8.2015.02.24.11.28.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Feb 2015 11:28:31 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by lbjb6 with SMTP id b6so27094699lbj.12 for ; Tue, 24 Feb 2015 11:28:31 -0800 (PST) X-Received: by 10.152.206.70 with SMTP id lm6mr4949759lac.35.1424806111788; Tue, 24 Feb 2015 11:28:31 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp2126525lbj; Tue, 24 Feb 2015 11:28:31 -0800 (PST) X-Received: by 10.140.144.147 with SMTP id 141mr38969081qhq.91.1424806108944; Tue, 24 Feb 2015 11:28:28 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id c6si40082424qgf.105.2015.02.24.11.28.27 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 24 Feb 2015 11:28:28 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YQL9d-0003Bu-RI; Tue, 24 Feb 2015 19:28:25 +0000 Received: from mail-qa0-f52.google.com ([209.85.216.52]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YQL9M-00036s-9A for lng-odp@lists.linaro.org; Tue, 24 Feb 2015 19:28:08 +0000 Received: by mail-qa0-f52.google.com with SMTP id v10so28614877qac.11 for ; Tue, 24 Feb 2015 11:28:03 -0800 (PST) X-Received: by 10.140.48.133 with SMTP id o5mr38654670qga.8.1424806083043; Tue, 24 Feb 2015 11:28:03 -0800 (PST) Received: from mike-desktop.?.holmesfamily.ws (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by mx.google.com with ESMTPSA id 68sm30076533qgz.8.2015.02.24.11.28.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Feb 2015 11:28:02 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Tue, 24 Feb 2015 14:27:52 -0500 Message-Id: <1424806074-26864-2-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1424806074-26864-1-git-send-email-mike.holmes@linaro.org> References: <1424806074-26864-1-git-send-email-mike.holmes@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH v3 2/4] api: config: increase ODP_SHM_NUM_BLOCKS X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mike.holmes@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Systems in use require ODP_SHM_NUM_BLOCKS=64 and this value should be related to ODP_CONFIG_POOLS which is 16, define ODP_SHM_NUM_BLOCKS as (ODP_CONFIG_POOLS * 4) Signed-off-by: Mike Holmes Reviewed-by: Bill Fischofer --- include/odp/api/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/odp/api/config.h b/include/odp/api/config.h index 8989fed..b3e8438 100644 --- a/include/odp/api/config.h +++ b/include/odp/api/config.h @@ -125,7 +125,7 @@ extern "C" { * * This the the number of separate SHM areas that can be reserved concurrently */ -#define ODP_SHM_NUM_BLOCKS 32 +#define ODP_SHM_NUM_BLOCKS (ODP_CONFIG_POOLS * 4) /** * @}