From patchwork Wed Jul 1 02:12:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 50501 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C0FC7218E4 for ; Wed, 1 Jul 2015 02:12:27 +0000 (UTC) Received: by lbbui3 with SMTP id ui3sf1885753lbb.2 for ; Tue, 30 Jun 2015 19:12:26 -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: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=VA5jmgBgSMOchY8if/xPqEd+Qn+EQ2jVlQpovApajQg=; b=LS9XAsL653exl5Ejnnh5mFqNhPkplBBuE64S2fxnIRb0ZSDZCFU3f6gwZ78P2Edicj U/9QrPUmvwdMGTxuIg0Gm/1wV1jcH/xNSFFLRW4gXEFwnQ7V0YUUmgZ0KuP6y4TcTMI5 5jaBi8RDVlAjPOOVZMBJVDUwPCquP3V9izXerFGtVqYUlEX99e4T7+zvfvVZdAP/SqDL i/vGKtLDn7nKxpQxP1EimwZPKKHBwempG7IOy+uWWo23FWU/qwJqisrtCKFgAEoUKScA 0DJB4Z192t06fNZ71Vmle92vb8Hclf2mmnlKY7H83MB2W1Rho8Lp2WM0EoO5KOuYuCi2 lEqA== X-Gm-Message-State: ALoCoQlDcMb7xit7+IvSzIISOxPWCKWydeugHJj9QRwYlvPyGEJiuG2WtteG0UNdwfsneKGwA8sK X-Received: by 10.152.22.71 with SMTP id b7mr15714492laf.3.1435716746934; Tue, 30 Jun 2015 19:12:26 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.116.7 with SMTP id js7ls113236lab.34.gmail; Tue, 30 Jun 2015 19:12:26 -0700 (PDT) X-Received: by 10.112.35.229 with SMTP id l5mr18653728lbj.0.1435716746410; Tue, 30 Jun 2015 19:12:26 -0700 (PDT) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id yo1si284970lbb.167.2015.06.30.19.12.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Jun 2015 19:12:26 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by lagh6 with SMTP id h6so31442700lag.2 for ; Tue, 30 Jun 2015 19:12:26 -0700 (PDT) X-Received: by 10.152.7.7 with SMTP id f7mr22794186laa.106.1435716746279; Tue, 30 Jun 2015 19:12:26 -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.108.230 with SMTP id hn6csp282276lbb; Tue, 30 Jun 2015 19:12:25 -0700 (PDT) X-Received: by 10.55.23.215 with SMTP id 84mr49379290qkx.102.1435716744979; Tue, 30 Jun 2015 19:12:24 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id i78si496411qkh.68.2015.06.30.19.12.23; Tue, 30 Jun 2015 19:12:24 -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 57DA461F22; Wed, 1 Jul 2015 02:12:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from ip-10-142-244-252.ec2.internal (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 3633861E59; Wed, 1 Jul 2015 02:12:20 +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 C90B561D96; Wed, 1 Jul 2015 02:12:17 +0000 (UTC) Received: from mail-oi0-f47.google.com (mail-oi0-f47.google.com [209.85.218.47]) by lists.linaro.org (Postfix) with ESMTPS id 0F56861D96 for ; Wed, 1 Jul 2015 02:12:15 +0000 (UTC) Received: by oiyy130 with SMTP id y130so21849187oiy.0 for ; Tue, 30 Jun 2015 19:12:15 -0700 (PDT) X-Received: by 10.202.18.21 with SMTP id 21mr21716793ois.10.1435716734972; Tue, 30 Jun 2015 19:12:14 -0700 (PDT) Received: from localhost.localdomain (cpe-24-28-70-239.austin.res.rr.com. [24.28.70.239]) by mx.google.com with ESMTPSA id y131sm251679oig.28.2015.06.30.19.12.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 30 Jun 2015 19:12:14 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Tue, 30 Jun 2015 21:12:09 -0500 Message-Id: <1435716730-30445-1-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.4 X-Topics: Classification patch Subject: [lng-odp] [RFC PATCHv2 1/2] linux-generic: classification: add odp_cls_context_t type definitions 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.45 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: Bill Fischofer --- platform/linux-generic/include/odp/plat/classification_types.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/linux-generic/include/odp/plat/classification_types.h b/platform/linux-generic/include/odp/plat/classification_types.h index 767da7d..1008a3c 100644 --- a/platform/linux-generic/include/odp/plat/classification_types.h +++ b/platform/linux-generic/include/odp/plat/classification_types.h @@ -23,9 +23,11 @@ extern "C" { * @{ */ +typedef ODP_HANDLE_T(odp_cls_context_t); typedef ODP_HANDLE_T(odp_cos_t); typedef ODP_HANDLE_T(odp_flowsig_t); +#define ODP_CLX_CONTEXT_INVALID _odp_cast_scalar(odp_cls_context_t, ~0) #define ODP_COS_INVALID _odp_cast_scalar(odp_cos_t, ~0) #define ODP_COS_NAME_LEN 32