diff mbox

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

Message ID 1435716730-30445-1-git-send-email-bill.fischofer@linaro.org
State New
Headers show

Commit Message

Bill Fischofer July 1, 2015, 2:12 a.m. UTC
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
---
 platform/linux-generic/include/odp/plat/classification_types.h | 2 ++
 1 file changed, 2 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..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