diff options
author | Matias Elo <matias.elo@nokia.com> | 2024-06-05 13:51:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-05 13:51:39 +0300 |
commit | 616034b9c9c789923f7ebe7f1c6d014c4ce8a5d2 (patch) | |
tree | dd1b579c93404d2d98b78944bbdf8313ec499bee /platform/linux-generic/include/odp_name_table_internal.h | |
parent | 8063101c4fac56e16c5a2bb9843f2fd9c5acbfd7 (diff) | |
parent | 87913e636da621d47a8d3bc91fbe131abc09c294 (diff) |
Merge ODP v1.45.0.0HEADv1.45.0.0_DPDK_22.11master
Merge ODP linux-generic v1.45.0.0 into linux-dpdk.
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, |