diff mbox

[RFC,1/2] linux-generic: classification: add odp_cls_context_t type definitions

Message ID 1435240349-29763-2-git-send-email-bill.fischofer@linaro.org
State New
Headers show

Commit Message

Bill Fischofer June 25, 2015, 1:52 p.m. UTC
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
---
 platform/linux-generic/include/odp/plat/classification_types.h | 3 +++
 1 file changed, 3 insertions(+)
diff mbox

Patch

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