From patchwork Mon Feb 23 14:18:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Balasubramanian Manoharan X-Patchwork-Id: 44901 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 ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 822CE21570 for ; Mon, 23 Feb 2015 14:19:02 +0000 (UTC) Received: by lbiw7 with SMTP id w7sf12396915lbi.0 for ; Mon, 23 Feb 2015 06:19:01 -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: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=OdI/63l7VRvB6Dn27A1fTPuvdKCFxqeWXiU/iP7SeVo=; b=jIQnqRDC/sqoGaEb3BggHmC5muGbZtKe9yj0k1btVDh1LxM0xaRywRWtHlmFmJGNVb EdpKArQl8EluEpcqiODYKZ5YHdFuDPPYT8s52/Q0NQN5JHHXADwXF9l1VQ7JzVp3WoC9 HzgW/sS3UoZQQYqYRiUgcTCZtTKBCyCbbdrwslgq1cteQbUxCYFPM3PnT1n4gwdPhV7w ErlZHjxlAdwbBeDXwSbkNAGtHEkjQPwZFOi4+VxlNuZJ+v76ooOUCD3WnupRtTpcusa6 4KI6Mq/QY7y04B0Ki6dbSDGkpHXYfHEn31fsJyDuy2dKHVsSB16/AAUAXC2RySPquOFa 03qA== X-Gm-Message-State: ALoCoQldZIMH+dQ5/SYHERCe/sv3nlRovD3t0789+vJDAdKkDw+b+jew9YOq0aJ8zwZotfSlYppn X-Received: by 10.180.80.35 with SMTP id o3mr1356218wix.0.1424701141454; Mon, 23 Feb 2015 06:19:01 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.10.132 with SMTP id i4ls508186lab.25.gmail; Mon, 23 Feb 2015 06:19:01 -0800 (PST) X-Received: by 10.152.23.233 with SMTP id p9mr10019864laf.123.1424701141113; Mon, 23 Feb 2015 06:19:01 -0800 (PST) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id oa1si23794407lbb.100.2015.02.23.06.19.00 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Feb 2015 06:19:00 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by labhz20 with SMTP id hz20so18598545lab.0 for ; Mon, 23 Feb 2015 06:19:00 -0800 (PST) X-Received: by 10.112.135.196 with SMTP id pu4mr9799356lbb.41.1424701140829; Mon, 23 Feb 2015 06:19:00 -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 h5csp1291900lbj; Mon, 23 Feb 2015 06:19:00 -0800 (PST) X-Received: by 10.236.14.101 with SMTP id c65mr9682881yhc.159.1424701139441; Mon, 23 Feb 2015 06:18:59 -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 d4si18989232qaw.51.2015.02.23.06.18.55 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 23 Feb 2015 06:18:59 -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 1YPtqX-0006J0-IC; Mon, 23 Feb 2015 14:18:53 +0000 Received: from mail-pa0-f47.google.com ([209.85.220.47]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YPtqS-0006Im-8c for lng-odp@lists.linaro.org; Mon, 23 Feb 2015 14:18:48 +0000 Received: by padfa1 with SMTP id fa1so27893135pad.2 for ; Mon, 23 Feb 2015 06:18:42 -0800 (PST) X-Received: by 10.70.126.167 with SMTP id mz7mr19253553pdb.109.1424701122779; Mon, 23 Feb 2015 06:18:42 -0800 (PST) Received: from manoharan-Vostro-2520.domain.name ([117.222.157.194]) by mx.google.com with ESMTPSA id c9sm34602514pdo.13.2015.02.23.06.18.40 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 23 Feb 2015 06:18:42 -0800 (PST) From: bala.manoharan@linaro.org To: lng-odp@lists.linaro.org Date: Mon, 23 Feb 2015 19:48:32 +0530 Message-Id: <1424701112-23557-1-git-send-email-bala.manoharan@linaro.org> X-Mailer: git-send-email 2.0.1.472.g6f92e5f X-Topics: Classification patch Subject: [lng-odp] [PATCH v1] linux-generic: classification: Add documentation for missing macros 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: bala.manoharan@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.44 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 From: Balasubramanian Manoharan Adds documentation for ODP_PMR_INVAL and ODP_PMR_SET_INVAL macros https://bugs.linaro.org/show_bug.cgi?id=1208 Signed-off-by: Balasubramanian Manoharan Reviewed-by: Bill Fischofer --- include/odp/api/classification.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/odp/api/classification.h b/include/odp/api/classification.h index 8758fb5..7db3645 100644 --- a/include/odp/api/classification.h +++ b/include/odp/api/classification.h @@ -48,6 +48,18 @@ extern "C" { */ /** + * @def ODP_PMR_INVAL + * Invalid odp_pmr_t value. + * This value is returned from odp_pmr_create_match() and + * odp_pmr_create_range() functions on failure. + */ + +/** + * @def ODP_PMR_SET_INVAL + * Invalid odp_pmr_set_t value. + */ + +/** * Class-of-service packet drop policies */ typedef enum odp_cos_drop {