*/
#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
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;
}