diff options
Diffstat (limited to 'platform/linux-generic/include/odp_name_table_internal.h')
-rw-r--r-- | platform/linux-generic/include/odp_name_table_internal.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/platform/linux-generic/include/odp_name_table_internal.h b/platform/linux-generic/include/odp_name_table_internal.h index 9101acfa8..4d329c907 100644 --- a/platform/linux-generic/include/odp_name_table_internal.h +++ b/platform/linux-generic/include/odp_name_table_internal.h @@ -1,9 +1,6 @@ -/* Copyright 2015 EZchip Semiconductor Ltd. All Rights Reserved. - * - * Copyright (c) 2015-2018, Linaro Limited - * All rights reserved. - * - * SPDX-License-Identifier: BSD-3-Clause +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright (c) 2015 EZchip Semiconductor Ltd. + * Copyright (c) 2015-2018 Linaro Limited */ #ifndef ODP_INT_NAME_TABLE_H_ @@ -13,6 +10,7 @@ extern "C" { #endif +#include <odp/api/traffic_mngr.h> #include <stdint.h> typedef enum { @@ -34,7 +32,7 @@ typedef enum { typedef uint32_t _odp_int_name_t; #define ODP_INVALID_NAME 0 -#define _ODP_INT_NAME_LEN 32 +#define _ODP_INT_NAME_LEN (ODP_TM_NAME_LEN - 1) _odp_int_name_t _odp_int_name_tbl_add(const char *name, uint8_t name_kind, |