aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-dpdk/odp_system_info.c
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2021-03-04 11:42:04 +0200
committerMatias Elo <matias.elo@nokia.com>2021-03-12 09:29:31 +0200
commitd31e96781f22aae1414c06226ca15b6270e4c4a7 (patch)
tree85893aef970e473b5f2acbccf83837b6a54c3162 /platform/linux-dpdk/odp_system_info.c
parent0d59329c6c5a2a7387930513c82b80e6543549bf (diff)
linux-dpdk: config: sync packet config defines with linux-generic
Sync packet config define names and values with linux-generic to enable LTO code reuse. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
Diffstat (limited to 'platform/linux-dpdk/odp_system_info.c')
-rw-r--r--platform/linux-dpdk/odp_system_info.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/platform/linux-dpdk/odp_system_info.c b/platform/linux-dpdk/odp_system_info.c
index fce76d15a..b6a723fd8 100644
--- a/platform/linux-dpdk/odp_system_info.c
+++ b/platform/linux-dpdk/odp_system_info.c
@@ -24,6 +24,7 @@
#include <odp_config_internal.h>
#include <odp/api/align.h>
#include <odp/api/cpu.h>
+#include <odp_packet_internal.h>
#include <errno.h>
#include <pthread.h>
#include <sched.h>
@@ -521,9 +522,9 @@ void odp_sys_config_print(void)
ODP_PRINT("ODP_CONFIG_BUFFER_ALIGN_MAX: %i\n", ODP_CONFIG_BUFFER_ALIGN_MAX);
ODP_PRINT("CONFIG_PACKET_HEADROOM: %i\n", CONFIG_PACKET_HEADROOM);
ODP_PRINT("CONFIG_PACKET_TAILROOM: %i\n", CONFIG_PACKET_TAILROOM);
- ODP_PRINT("CONFIG_PACKET_MAX_SEGS: %i\n", CONFIG_PACKET_MAX_SEGS);
+ ODP_PRINT("CONFIG_PACKET_SEG_SIZE: %i\n", CONFIG_PACKET_SEG_SIZE);
ODP_PRINT("CONFIG_PACKET_SEG_LEN_MIN: %i\n", CONFIG_PACKET_SEG_LEN_MIN);
- ODP_PRINT("CONFIG_PACKET_SEG_LEN_MAX: %i\n", CONFIG_PACKET_SEG_LEN_MAX);
+ ODP_PRINT("CONFIG_PACKET_MAX_SEG_LEN: %i\n", CONFIG_PACKET_MAX_SEG_LEN);
ODP_PRINT("ODP_CONFIG_SHM_BLOCKS: %i\n", ODP_CONFIG_SHM_BLOCKS);
ODP_PRINT("CONFIG_BURST_SIZE: %i\n", CONFIG_BURST_SIZE);
ODP_PRINT("CONFIG_POOL_MAX_NUM: %i\n", CONFIG_POOL_MAX_NUM);