aboutsummaryrefslogtreecommitdiffstats
path: root/vlib
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2016-02-25 23:17:38 +0100
committerDamjan Marion <damarion@cisco.com>2016-02-26 13:17:30 +0100
commite936bbe5945ca3c0f522f6c0abdfbdaa407bcb84 (patch)
tree28ccdd0be90ff9236fc57cf058a42d378ddbb250 /vlib
parent7f620976e2cb900fa5e0dccdbb769e3cc208841d (diff)
Add support for native vpp_lite (non-dpdk) platform
Change-Id: Icaa71957f67b923bc9795baa78c7495055615672 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vlib')
-rw-r--r--vlib/vlib/threads.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vlib/vlib/threads.c b/vlib/vlib/threads.c
index 72102561d25..1f3c141b040 100644
--- a/vlib/vlib/threads.c
+++ b/vlib/vlib/threads.c
@@ -1142,6 +1142,7 @@ show_threads_fn (vlib_main_t * vm,
w->registration ? w->registration->name : "",
w->lwp);
+#if DPDK==1
int lcore = w->dpdk_lcore_id;
if (lcore > -1)
{
@@ -1165,7 +1166,7 @@ show_threads_fn (vlib_main_t * vm,
line = format(line, "unknown");
}
}
-
+#endif
vlib_cli_output(vm, "%v", line);
vec_free(line);
}