From patchwork Thu Oct 16 16:04:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Balasubramanian Manoharan X-Patchwork-Id: 38832 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f72.google.com (mail-ee0-f72.google.com [74.125.83.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 04282202DB for ; Thu, 16 Oct 2014 16:04:36 +0000 (UTC) Received: by mail-ee0-f72.google.com with SMTP id e51sf2230528eek.7 for ; Thu, 16 Oct 2014 09:04:36 -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:from:to:date:message-id:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=FbFNg9VMO0LU/qgSEotZhM3qF4rl+3TM0syb8+0szTU=; b=bGx0Fv+4y6aUTJ3WyxsU+bqbkqumInmfvMirfQw4rz4empYSgAqHqOfHil7nFcynni MEtbamxq4lBs9YldZAacV+Zi5sbbsrE/h3PcVFO0cat2UPQtoUXwRusyIPnq3vaYuWuG VFii9iCyXue4oGeT0HHXVG3HzBIJSg29Z3QYd7I4dYbyI0sFmuI9Xd6kWM49CPnfpQZ2 0iUP/YJ98vz7tZ44Lt9lTF2GmJjtWdVXficdNBzydnCSHZ4jiok6D0/7TKNt8X0VWgmJ u0n7w9eiwR1AZdj96/msAsjrInUdErGAS435czsNcgStFRYR205FeTkKnsCxNVIcZdQY GyxA== X-Gm-Message-State: ALoCoQnG7ILzHCRVVbgwRQBvlQX2jyZ9kiY4DHFuDLs+gWm1EgAAhGeLGEMqQQxi1Q+uhBxdTc2l X-Received: by 10.112.225.135 with SMTP id rk7mr447395lbc.6.1413475476089; Thu, 16 Oct 2014 09:04:36 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.18.131 with SMTP id w3ls193654lad.79.gmail; Thu, 16 Oct 2014 09:04:35 -0700 (PDT) X-Received: by 10.152.243.39 with SMTP id wv7mr2650625lac.48.1413475475952; Thu, 16 Oct 2014 09:04:35 -0700 (PDT) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com [209.85.215.52]) by mx.google.com with ESMTPS id jz7si34831174lbc.49.2014.10.16.09.04.35 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 Oct 2014 09:04:35 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) client-ip=209.85.215.52; Received: by mail-la0-f52.google.com with SMTP id hz20so3081698lab.25 for ; Thu, 16 Oct 2014 09:04:35 -0700 (PDT) X-Received: by 10.152.29.8 with SMTP id f8mr2703048lah.56.1413475475418; Thu, 16 Oct 2014 09:04:35 -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.84.229 with SMTP id c5csp67775lbz; Thu, 16 Oct 2014 09:04:34 -0700 (PDT) X-Received: by 10.140.19.9 with SMTP id 9mr3445508qgg.46.1413475474140; Thu, 16 Oct 2014 09:04:34 -0700 (PDT) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id l9si41102460qae.53.2014.10.16.09.04.33 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 16 Oct 2014 09:04:34 -0700 (PDT) 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 1XenXT-0005M5-QM; Thu, 16 Oct 2014 16:04:31 +0000 Received: from mail-yk0-f175.google.com ([209.85.160.175]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XenXN-0005HR-9x for lng-odp@lists.linaro.org; Thu, 16 Oct 2014 16:04:25 +0000 Received: by mail-yk0-f175.google.com with SMTP id 19so1262367ykq.34 for ; Thu, 16 Oct 2014 09:04:20 -0700 (PDT) X-Received: by 10.236.1.197 with SMTP id 45mr2976930yhd.88.1413475459944; Thu, 16 Oct 2014 09:04:19 -0700 (PDT) Received: from bala-PowerEdge-T110-II.caveonetworks.com ([111.93.218.67]) by mx.google.com with ESMTPSA id t77sm7650092yho.4.2014.10.16.09.04.18 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 Oct 2014 09:04:19 -0700 (PDT) From: Balasubramanian Manoharan To: lng-odp@lists.linaro.org Date: Thu, 16 Oct 2014 21:34:00 +0530 Message-Id: <1413475440-14165-1-git-send-email-bala.manoharan@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Topics: Architecture Classification patch Subject: [lng-odp] [PATCH ARCH] Classification API Minor Format changes 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.52 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 Signed-off-by: Balasubramanian Manoharan --- Removes struct definition from platform specific opaque handles Corrects variable definition in odp_pktio_pmr_match_set_cos function classification_design.dox | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/classification_design.dox b/classification_design.dox index 58d55a1..7d19ea7 100644 --- a/classification_design.dox +++ b/classification_design.dox @@ -518,7 +518,7 @@ The following data structures SHOULD be implemented to support the definition of #define ODP_PMR_INVAL ((odp_pmr_t)NULL) -typedef struct odp_pmr_s *odp_pmr_t; +typedef uint32_t odp_pmr_t; @endverbatim @subsection terms Terms @@ -765,7 +765,7 @@ typedef struct odp_pmr_match_t { /** An opaque handle to a composite packet match rule-set */ -typedef struct odp_pmr_set_s *odp_pmr_set_t; +typedef uint32_t odp_pmr_set_t; @endverbatim The above structure is used with the following APIs to implement table-based PMRs: @@ -830,7 +830,7 @@ This routine destroys a PMR match set previously created by odp_pmr_match_set_cr * @return Success or ODP_PARAMETER_ERROR */ -int odp_pktio_pmr_match_set_cos(odp_pmr_t pmr_id, odp_pktio_t src_pktio, +int odp_pktio_pmr_match_set_cos(odp_pmr_set_t pmr_set_id, odp_pktio_t src_pktio, odp_cos_t dst_cos); @endverbatim