aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include
diff options
context:
space:
mode:
Diffstat (limited to 'platform/linux-generic/include')
-rw-r--r--platform/linux-generic/include/odp_name_table_internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/linux-generic/include/odp_name_table_internal.h b/platform/linux-generic/include/odp_name_table_internal.h
index 40ae40d01..4d329c907 100644
--- a/platform/linux-generic/include/odp_name_table_internal.h
+++ b/platform/linux-generic/include/odp_name_table_internal.h
@@ -10,6 +10,7 @@
extern "C" {
#endif
+#include <odp/api/traffic_mngr.h>
#include <stdint.h>
typedef enum {
@@ -31,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,