Add DPDK version in "show version verbose" output
Change-Id: I14693b81ecc0358683fd4dbfea41d0afc479ad51
Signed-off-by: Damjan Marion <damarion@cisco.com>
diff --git a/vpp/app/version.c b/vpp/app/version.c
index 9949b13..8a91c85 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 @@
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;
}