Message ID | 1435240349-29763-2-git-send-email-bill.fischofer@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCKPF76X5YCBBRMPWCWAKGQEBYBA7YA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AFC76228FD for <linaro@patches.linaro.org>; Thu, 25 Jun 2015 13:53:10 +0000 (UTC) Received: by laar3 with SMTP id r3sf19323079laa.1 for <linaro@patches.linaro.org>; Thu, 25 Jun 2015 06:53:09 -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=GAkwQT5MIA9o1wvrHnHXo1EyWbEaKphTDB9T6Qf9IQc=; b=m8X84ZwVecKRS4xXTQDqLlyrBqjRGzHJd/uhP7qySx7uV6vgtkvoaAadN3RsDpPSEq Z0wFlsgzmoGlu/XONuFyg5eeJzaxW84j0i5wChq3q1dXuMdgsVZIOUquhY6L3ezTM57T ML5pOrBKUOOy6WNGddbHo9l0/4nFFF1XnqmwiE0DHG5ryYSNQr7FGChFaEM/WXkJoySm fOPXB3kR9C9uBLDq91MUlUQiIkErYks8hZKro9yhm1zgafERJLO5W41H5YbvcXoLSubz Z50d/Lw9iA+NQB5beDOrePQ2Vtr7owkbJUtO0HUlNjuHyT2GF7/4yle3jvNf6PCAxaqM C5HQ== X-Gm-Message-State: ALoCoQmTLfOtrKwNM7RvV/ZtNakDLKFb8OFhEkMQ9V9Kc9U63N2qho8Tix3bDYhXNmQjH+4gSaTM X-Received: by 10.194.158.134 with SMTP id wu6mr37072459wjb.6.1435240389608; Thu, 25 Jun 2015 06:53:09 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.43.228 with SMTP id z4ls361266lal.90.gmail; Thu, 25 Jun 2015 06:53:09 -0700 (PDT) X-Received: by 10.152.43.110 with SMTP id v14mr4123444lal.4.1435240389445; Thu, 25 Jun 2015 06:53:09 -0700 (PDT) Received: from mail-lb0-f170.google.com (mail-lb0-f170.google.com. [209.85.217.170]) by mx.google.com with ESMTPS id cq2si24730395lad.126.2015.06.25.06.53.09 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Jun 2015 06:53:09 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.170 as permitted sender) client-ip=209.85.217.170; Received: by lbbwc1 with SMTP id wc1so45985381lbb.2 for <patchwork-forward@linaro.org>; Thu, 25 Jun 2015 06:53:09 -0700 (PDT) X-Received: by 10.152.179.234 with SMTP id dj10mr38490240lac.73.1435240389019; Thu, 25 Jun 2015 06:53:09 -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 hn6csp622815lbb; Thu, 25 Jun 2015 06:53:08 -0700 (PDT) X-Received: by 10.55.21.211 with SMTP id 80mr96119852qkv.11.1435240387645; Thu, 25 Jun 2015 06:53:07 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id j63si29374228qgd.48.2015.06.25.06.53.06; Thu, 25 Jun 2015 06:53:07 -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 450FD61DD5; Thu, 25 Jun 2015 13:53:06 +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 4DB7D61DA0; Thu, 25 Jun 2015 13:52:44 +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 3E1E261D1D; Thu, 25 Jun 2015 13:52:38 +0000 (UTC) Received: from mail-oi0-f43.google.com (mail-oi0-f43.google.com [209.85.218.43]) by lists.linaro.org (Postfix) with ESMTPS id 6D2C661D1D for <lng-odp@lists.linaro.org>; Thu, 25 Jun 2015 13:52:37 +0000 (UTC) Received: by oiax193 with SMTP id x193so52852463oia.2 for <lng-odp@lists.linaro.org>; Thu, 25 Jun 2015 06:52:37 -0700 (PDT) X-Received: by 10.202.58.215 with SMTP id h206mr37121860oia.23.1435240356965; Thu, 25 Jun 2015 06:52:36 -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 w187sm3764344oiw.12.2015.06.25.06.52.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 Jun 2015 06:52:36 -0700 (PDT) From: Bill Fischofer <bill.fischofer@linaro.org> To: lng-odp@lists.linaro.org Date: Thu, 25 Jun 2015 08:52:28 -0500 Message-Id: <1435240349-29763-2-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1435240349-29763-1-git-send-email-bill.fischofer@linaro.org> References: <1435240349-29763-1-git-send-email-bill.fischofer@linaro.org> X-Topics: Classification patch Subject: [lng-odp] [RFC PATCH 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: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <https://lists.linaro.org/mailman/listinfo/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" <lng-odp-bounces@lists.linaro.org> 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.217.170 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 |
diff --git a/platform/linux-generic/include/odp/plat/classification_types.h b/platform/linux-generic/include/odp/plat/classification_types.h index 767da7d..2de4d8e 100644 --- a/platform/linux-generic/include/odp/plat/classification_types.h +++ b/platform/linux-generic/include/odp/plat/classification_types.h @@ -23,9 +23,12 @@ 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_CLS_CONTEXT_INVALID _odp_cast_scalar(odp_clx_context_t, ~0) + #define ODP_COS_INVALID _odp_cast_scalar(odp_cos_t, ~0) #define ODP_COS_NAME_LEN 32
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> --- platform/linux-generic/include/odp/plat/classification_types.h | 3 +++ 1 file changed, 3 insertions(+)