From patchwork Sat Sep 12 04:10:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 53506 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by patches.linaro.org (Postfix) with ESMTPS id 4759822B26 for ; Sat, 12 Sep 2015 04:11:14 +0000 (UTC) Received: by lbcao8 with SMTP id ao8sf30539300lbc.1 for ; Fri, 11 Sep 2015 21:11:12 -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=go7j71gdXr1cUFGxe2EXycjZXdttRvQvxyl7SrHXudfX63jqTqY0334R56mbQ5K7Zc afDYfshraVD5hYugEGnrSxrZHP2MPXjiU9K2saldht466TWufwGDxH2VY2+X5/b6LYXo 3uxxlv8pJWPOdfASudQW7OlwC/kMiAUQRgpABY+AnVQKbNeoAh8c4XSIVdojPEtYfwo6 2Cwbn/WzQy/MjU+Ngr4I1+tzEzs5uTOJ69LCV6bgu6y2ulNhjALR+XDtLXOZPqXa/r3n +ouoKYloM2P7m4hqNmXVnnNKljqxdGlpXgAgbN8Kyf/YbrA7xsapHmjKIrBoDRwi6ibz FzUw== X-Gm-Message-State: ALoCoQmYVJSldh4g+Te9WxhGPQvb6XKZ7Q4syvMi8M/PcFovRPas10p4AiOQGYC5bgzHwDU+3uy5 X-Received: by 10.180.10.202 with SMTP id k10mr424125wib.2.1442031072949; Fri, 11 Sep 2015 21:11:12 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.20.229 with SMTP id q5ls338348lae.17.gmail; Fri, 11 Sep 2015 21:11:12 -0700 (PDT) X-Received: by 10.112.156.137 with SMTP id we9mr2038775lbb.110.1442031072640; Fri, 11 Sep 2015 21:11:12 -0700 (PDT) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id g6si2145120lae.163.2015.09.11.21.11.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Sep 2015 21:11:12 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by lagj9 with SMTP id j9so59740083lag.2 for ; Fri, 11 Sep 2015 21:11:12 -0700 (PDT) X-Received: by 10.152.22.133 with SMTP id d5mr2034570laf.112.1442031072481; Fri, 11 Sep 2015 21:11:12 -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.59.35 with SMTP id w3csp27415lbq; Fri, 11 Sep 2015 21:11:11 -0700 (PDT) X-Received: by 10.140.201.66 with SMTP id w63mr3889097qha.36.1442031071444; Fri, 11 Sep 2015 21:11:11 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 132si2937884qht.113.2015.09.11.21.11.10; Fri, 11 Sep 2015 21:11:11 -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 B64D962C3F; Sat, 12 Sep 2015 04:11:10 +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 0E7B862C2E; Sat, 12 Sep 2015 04:10:34 +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 8A17562C29; Sat, 12 Sep 2015 04:10:28 +0000 (UTC) Received: from mail-ob0-f174.google.com (mail-ob0-f174.google.com [209.85.214.174]) by lists.linaro.org (Postfix) with ESMTPS id CE49062C22 for ; Sat, 12 Sep 2015 04:10:27 +0000 (UTC) Received: by obbbh8 with SMTP id bh8so75175368obb.0 for ; Fri, 11 Sep 2015 21:10:27 -0700 (PDT) X-Received: by 10.182.96.100 with SMTP id dr4mr1951958obb.49.1442031027341; Fri, 11 Sep 2015 21:10:27 -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 m133sm1745821oif.8.2015.09.11.21.10.26 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 11 Sep 2015 21:10:26 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Fri, 11 Sep 2015 23:10:16 -0500 Message-Id: <1442031020-1907-2-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1442031020-1907-1-git-send-email-bill.fischofer@linaro.org> References: <1442031020-1907-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCHv2 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.54 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