From patchwork Sun Sep 6 02:50:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 53157 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by patches.linaro.org (Postfix) with ESMTPS id 9180520A78 for ; Sun, 6 Sep 2015 02:51:17 +0000 (UTC) Received: by wicgb1 with SMTP id gb1sf15655427wic.3 for ; Sat, 05 Sep 2015 19:51:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to: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=eKY9s7Y4iMYWRGgr6jWK3nOJhB4fR2/7DFFxi24aYGA=; b=SGqE6ZzhqghA3sZ5P5acIQ/xEQdb0CITyaQ1ifGAf7+jpf2HiaxrIzQxtti0b0lI9k spu0YNDtTBHTPv+l4yNju3jwfnxwHDowxacHtAZ3Oc2iWfLNVLCECqksF3DP1IOo1Dgb 3SP4Q9aZaZaTdIle+bhwd9z0ldNKDUPxHYknx17Fju9PcN1n8qLoNlBeQ5OwmTXVZq3Z HgVBzoSprx4KkTwIJv7isaMCP+gklSo1LWBdEVWwbg2LBaFKmq3Yy9OrK1vD9CIMzl/l JQZoouSMIilWyqehvcvKP9WoQhXV0SFVFQYd+QbsMS6YXOe0+ifYHi9fjzP/cRYLcyNB OBUQ== X-Gm-Message-State: ALoCoQldR7KHm7YNem8HKVo/eJ1eFpxFpuk7On6LcLQNdtboG3uIGnBffrdcEvhL81WepSRvaw18 X-Received: by 10.112.16.200 with SMTP id i8mr3123266lbd.20.1441507876851; Sat, 05 Sep 2015 19:51:16 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.29.170 with SMTP id l10ls483133lah.82.gmail; Sat, 05 Sep 2015 19:51:16 -0700 (PDT) X-Received: by 10.112.171.167 with SMTP id av7mr10981592lbc.48.1441507876432; Sat, 05 Sep 2015 19:51:16 -0700 (PDT) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id bb6si6773921lbc.153.2015.09.05.19.51.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Sep 2015 19:51:15 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by lagj9 with SMTP id j9so34209788lag.2 for ; Sat, 05 Sep 2015 19:51:15 -0700 (PDT) X-Received: by 10.152.18.133 with SMTP id w5mr725272lad.72.1441507875888; Sat, 05 Sep 2015 19:51:15 -0700 (PDT) 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.164.42 with SMTP id yn10csp771928lbb; Sat, 5 Sep 2015 19:51:15 -0700 (PDT) X-Received: by 10.50.114.166 with SMTP id jh6mr740448igb.47.1441507874673; Sat, 05 Sep 2015 19:51:14 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id z73si7059637ioi.36.2015.09.05.19.51.13; Sat, 05 Sep 2015 19:51:14 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Received: by lists.linaro.org (Postfix, from userid 109) id 8CE5061CAB; Sun, 6 Sep 2015 02:51:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id A7C9F61CBE; Sun, 6 Sep 2015 02:50:36 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id EF91D61BAF; Sun, 6 Sep 2015 02:50:31 +0000 (UTC) Received: from mail-ob0-f170.google.com (mail-ob0-f170.google.com [209.85.214.170]) by lists.linaro.org (Postfix) with ESMTPS id 086E361A35 for ; Sun, 6 Sep 2015 02:50:31 +0000 (UTC) Received: by obbbh8 with SMTP id bh8so42081071obb.0 for ; Sat, 05 Sep 2015 19:50:30 -0700 (PDT) X-Received: by 10.60.98.40 with SMTP id ef8mr9997979oeb.7.1441507830549; Sat, 05 Sep 2015 19:50:30 -0700 (PDT) Received: from Ubuntu15.localdomain (cpe-24-28-70-239.austin.res.rr.com. [24.28.70.239]) by smtp.gmail.com with ESMTPSA id k187sm4558263oia.18.2015.09.05.19.50.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 05 Sep 2015 19:50:30 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Sat, 5 Sep 2015 21:50:20 -0500 Message-Id: <1441507824-16437-2-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1441507824-16437-1-git-send-email-bill.fischofer@linaro.org> References: <1441507824-16437-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCH 1/5] api: config: add config option for max ordered locks per queue X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 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" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: bill.fischofer@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.215.43 as permitted sender) smtp.mailfrom=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 Specify implementation-defined maximum number of ordered locks that are available per ordered queue. Signed-off-by: Bill Fischofer --- include/odp/api/config.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/odp/api/config.h b/include/odp/api/config.h index 302eaf5..f417b8b 100644 --- a/include/odp/api/config.h +++ b/include/odp/api/config.h @@ -39,6 +39,11 @@ extern "C" { #define ODP_CONFIG_QUEUES 1024 /** + * Maximum number of ordered locks per queue + */ +#define ODP_CONFIG_MAX_ORDERED_LOCKS_PER_QUEUE 2 + +/** * Number of scheduling priorities */ #define ODP_CONFIG_SCHED_PRIOS 8