summaryrefslogtreecommitdiffstats
path: root/vpp/app
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2016-01-20 09:11:55 -0500
committerGerrit Code Review <gerrit@fd.io>2016-01-21 12:33:07 +0000
commitbfdedbd5a3ba7e6fdc036d212253aa55c9062211 (patch)
tree63cf45fd5839e377ef757946be8bdcaa90dbc2a4 /vpp/app
parent08ff7e00bf0e7cf93a732e98a026a76a4349fd41 (diff)
PowerPC64-be arch support. Qemu ("qppc") platform support.
Change-Id: Ib0a05f9d1b08bacef09f6d7c101391737031ee0d Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'vpp/app')
-rw-r--r--vpp/app/version.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/vpp/app/version.c b/vpp/app/version.c
index 8a91c85b..afd1e4a3 100644
--- a/vpp/app/version.c
+++ b/vpp/app/version.c
@@ -14,7 +14,10 @@
*/
#include <vlib/vlib.h>
#include <app/version.h>
+
+#if DPDK > 0
#include <rte_version.h>
+#endif /* DPDK */
static char * vpe_version_string =
"vpp v" VPP_BUILD_VER
@@ -47,7 +50,9 @@ show_vpe_version_command_fn (vlib_main_t * vm,
if (unformat (input, "verbose")){
vlib_cli_output (vm, "%s", vpe_dir_string);
vlib_cli_output (vm, "%s", vpe_compiler);
+#if DPDK > 0
vlib_cli_output (vm, "DPDK version is %s", rte_version());
+#endif
}
return 0;
}