From patchwork Wed Oct 28 11:39:36 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 55665 Delivered-To: patch@linaro.org Received: by 10.112.61.134 with SMTP id p6csp63884lbr; Wed, 28 Oct 2015 04:40:19 -0700 (PDT) X-Received: by 10.55.15.204 with SMTP id 73mr6628910qkp.60.1446032418987; Wed, 28 Oct 2015 04:40:18 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 32si41691121qgy.36.2015.10.28.04.40.18; Wed, 28 Oct 2015 04:40:18 -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; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dkim=neutral (body hash did not verify) header.i=@linaro_org.20150623.gappssmtp.com Received: by lists.linaro.org (Postfix, from userid 109) id 755DE61E14; Wed, 28 Oct 2015 11:40:18 +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.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,T_DKIM_INVALID,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 76D5561993; Wed, 28 Oct 2015 11:39:51 +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 4654161993; Wed, 28 Oct 2015 11:39:48 +0000 (UTC) Received: from mail-ob0-f176.google.com (mail-ob0-f176.google.com [209.85.214.176]) by lists.linaro.org (Postfix) with ESMTPS id 3B98361993 for ; Wed, 28 Oct 2015 11:39:42 +0000 (UTC) Received: by obbza9 with SMTP id za9so3456765obb.1 for ; Wed, 28 Oct 2015 04:39:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro_org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=I1qhhpXtBiGnZ6+GPF47koQEg5pgWEpucM4W5DZdR9c=; b=uGdbkL9Cef9S3AE6V/KT0X4Li3hvSSpev59lUclnqWdjLQ0AJcSNwYkztnPbB2G+Qg G1goRDOl62Dt4d22YY8ZTfDSu0cWnOEctha84zeWnRK4Hbc7kZu1/cWt1CNKZKvkIYKn ko232JdNhNoAlbP94m5LK7vJf6ELOT7FWz60tAPSJPdLP9VrO6lTW7/5x3eikNDYqXd2 bs1nSlf+PdAokGwpxpWzHy7YBAlt8L0FmmdC7lqOIEZ0eV6Dhe/Tp9F9suT1qF+J5E+G iiaJ9nUA17pPDiXg2GJCZB9OfAAlwqTWgIWVxDRjmD1Q19GaVkh7AfKv0iGSvk+30iFi kNdQ== 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:in-reply-to :references; bh=I1qhhpXtBiGnZ6+GPF47koQEg5pgWEpucM4W5DZdR9c=; b=Kw5q5RUTyTrWccSQZU4oX/MD6E8nnLSW3O5eWL9+3IKCFC90qg0tDDZn7VBLc0aQpT yk+M81faE2F2VIb+OdDpx9NAw5JDTZyY+1ZurITLszM1bDAU2XzvbbYybhqupgFR5WPR ShG0qrVpIjK6zPD7CFa6db4FpUwABV79CVHNBR5TZYrFrbmoaR0U54rg3kMvN2Sk8ye2 CTJf5vL9vxaKnbUBM9foomOy0THu3Wt1+D8qT0HCTeJ2PWxyKHKxdM0cvrYYbBcPWngc icKKI8qpapgTfmpSkhB6LO/N5EVijKO0krqZ9YltieRoRupVT30fhJpeGU3nFEjiEV9v rHRg== X-Gm-Message-State: ALoCoQnuwq6DRbQ1rKGHyxxewJBSZdywFidzUsiPA2YJ3EhDphiJQs9/CdVemh0RZ13Ruu83WLNd X-Received: by 10.182.246.5 with SMTP id xs5mr1133916obc.73.1446032381764; Wed, 28 Oct 2015 04:39:41 -0700 (PDT) Received: from Ubuntu15.localdomain (cpe-66-68-129-43.austin.res.rr.com. [66.68.129.43]) by smtp.gmail.com with ESMTPSA id ik9sm19698326obc.1.2015.10.28.04.39.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 28 Oct 2015 04:39:41 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Wed, 28 Oct 2015 06:39:36 -0500 Message-Id: <1446032376-4994-2-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1446032376-4994-1-git-send-email-bill.fischofer@linaro.org> References: <1446032376-4994-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCHv3 2/2] api: config: add usage note about defines X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" 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" Signed-off-by: Bill Fischofer --- include/odp/api/config.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/include/odp/api/config.h b/include/odp/api/config.h index ed27ed5..c9879d6 100644 --- a/include/odp/api/config.h +++ b/include/odp/api/config.h @@ -20,6 +20,14 @@ extern "C" { /** @defgroup odp_config ODP CONFIG * Platform-specific configuration limits. + * + * @note The API calls defined for ODP configuration limits are the + * normative means of accessing platform-specific configuration limits. + * Platforms MAY in addition include \#defines for these limits for + * internal use in dimensioning arrays, however there is no guarantee + * that applications using such \#defines will be portable across all + * ODP implementations. Applications SHOULD expect that over time such + * \#defines will be deprecated and removed. * @{ */ @@ -43,11 +51,6 @@ int odp_config_queues(void); int odp_config_max_ordered_locks_per_queue(void); /** - * Maximum number of ordered locks per queue - */ -#define ODP_CONFIG_MAX_ORDERED_LOCKS_PER_QUEUE 2 - -/** * Number of scheduling priorities * @return The number of scheduling priorities supported by this platform */