aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include-abi
diff options
context:
space:
mode:
authorStanislaw Kardach <skardach@marvell.com>2020-08-03 10:41:01 +0200
committerMatias Elo <matias.elo@nokia.com>2020-09-03 12:34:25 +0300
commit5705dc1fc799763e99c2a3873905260cac276597 (patch)
tree7d27758bb9f05333270eee83333f029565b0010a /platform/linux-generic/include-abi
parentf702e657c79b5407651d8b8a1072a5f8b8d11287 (diff)
api: packet: define ODP_NUM_PACKET_COLORS value
The number of colors should be strictly defined in the spec since the number of spec colors is limited to 3. Signed-off-by: Stanislaw Kardach <skardach@marvell.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com> Reviewed-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jerin Jacob <jerinj@marvell.com> Reviewed-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Diffstat (limited to 'platform/linux-generic/include-abi')
-rw-r--r--platform/linux-generic/include-abi/odp/api/abi/packet.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/platform/linux-generic/include-abi/odp/api/abi/packet.h b/platform/linux-generic/include-abi/odp/api/abi/packet.h
index 0967f1ec6..15f186b41 100644
--- a/platform/linux-generic/include-abi/odp/api/abi/packet.h
+++ b/platform/linux-generic/include-abi/odp/api/abi/packet.h
@@ -77,8 +77,6 @@ typedef enum {
ODP_PACKET_ALL_COLORS = 3,
} odp_packet_color_t;
-#define ODP_NUM_PACKET_COLORS 3
-
typedef struct odp_packet_parse_result_flag_t {
union {
uint64_t all;