diff options
author | Damjan Marion <damarion@cisco.com> | 2015-12-16 04:55:24 +0100 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2015-12-16 10:01:02 +0100 |
commit | cbc342e7dc0f17a4d25e4fae82187cad98140d0e (patch) | |
tree | 2f9da60d21b8867886ea3c66234e4cd9d62f2ed8 /vpp/app/version.c | |
parent | bce6b6a6bfbedb4209a7f20c65ebcb018e0432ff (diff) |
Add DPDK version in "show version verbose" output
Change-Id: I14693b81ecc0358683fd4dbfea41d0afc479ad51
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vpp/app/version.c')
-rw-r--r-- | vpp/app/version.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vpp/app/version.c b/vpp/app/version.c index 9949b138..8a91c85b 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; } |