diff options
author | Balasubramanian Manoharan <bala.manoharan@linaro.org> | 2015-12-16 14:58:52 +0530 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2015-12-29 14:07:52 +0300 |
commit | 7b9d15e9e5fac00cc4d93f96cf8c20dbb9483c58 (patch) | |
tree | 8da545b761b4c3ba58c1b7466fa76d58d590fe67 /include/odp/api/classification.h | |
parent | fab0012c9b73d8774a8e736c70934bdcc4a2ca2b (diff) |
api/linux-generic: classification: rename odp_drop_e to odp_cls_drop_t
Changes drop policy enum name from odp_drop_e to odp_cls_drop_t
Signed-off-by: Balasubramanian Manoharan <bala.manoharan@linaro.org>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'include/odp/api/classification.h')
-rw-r--r-- | include/odp/api/classification.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/odp/api/classification.h b/include/odp/api/classification.h index 4db5bf06e..c9493c2e2 100644 --- a/include/odp/api/classification.h +++ b/include/odp/api/classification.h @@ -65,7 +65,7 @@ extern "C" { typedef enum odp_cls_drop { ODP_COS_DROP_POOL, /**< Follow buffer pool drop policy */ ODP_COS_DROP_NEVER, /**< Never drop, ignoring buffer pool policy */ -} odp_drop_e; +} odp_cls_drop_t; /** * Packet header field enumeration @@ -95,7 +95,7 @@ typedef enum odp_cos_hdr_flow_fields { typedef struct odp_cls_cos_param { odp_queue_t queue; /**< Queue associated with CoS */ odp_pool_t pool; /**< Pool associated with CoS */ - odp_drop_e drop_policy; /**< Drop policy associated with CoS */ + odp_cls_drop_t drop_policy; /**< Drop policy associated with CoS */ } odp_cls_cos_param_t; /** @@ -170,7 +170,7 @@ odp_queue_t odp_cos_queue(odp_cos_t cos_id); * * @note Optional. */ -int odp_cos_drop_set(odp_cos_t cos_id, odp_drop_e drop_policy); +int odp_cos_drop_set(odp_cos_t cos_id, odp_cls_drop_t drop_policy); /** * Get the drop policy configured for a specific class-of-service instance. @@ -180,7 +180,7 @@ int odp_cos_drop_set(odp_cos_t cos_id, odp_drop_e drop_policy); * @retval Drop policy configured with the given * class-of-service */ -odp_drop_e odp_cos_drop(odp_cos_t cos_id); +odp_cls_drop_t odp_cos_drop(odp_cos_t cos_id); /** * Request to override per-port class of service |