summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Barach <openvpp@barachs.net>2015-12-16 13:53:11 +0000
committerGerrit Code Review <gerrit@projectrotterdam.info>2015-12-16 13:53:11 +0000
commitf1e39bdcac527b94744ce09b678439a59dcbb47b (patch)
treef5f31dea69d33c450e68bab204ea06afe9db5135
parent806afd651e4ea601f6c9e0f1a3f84372f11fa8bb (diff)
parentcbc342e7dc0f17a4d25e4fae82187cad98140d0e (diff)
Merge "Add DPDK version in "show version verbose" output"
-rw-r--r--vpp/app/version.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vpp/app/version.c b/vpp/app/version.c
index 9949b1388ec..8a91c85b283 100644
--- a/vpp/app/version.c
+++ b/vpp/app/version.c
@@ -14,6 +14,7 @@
*/
#include <vlib/vlib.h>
#include <app/version.h>
+#include <rte_version.h>
static char * vpe_version_string =
"vpp v" VPP_BUILD_VER
@@ -46,6 +47,7 @@ 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);
+ vlib_cli_output (vm, "DPDK version is %s", rte_version());
}
return 0;
}