env: print SPDK version during init

Change-Id: I738b4e28065797c9df7b0bc27ec0aee8c9f4f257
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/402381
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
Daniel Verkamp 2018-03-02 14:33:19 -07:00 committed by Jim Harris
parent fe6b3de126
commit 53d5499e32

View File

@ -35,6 +35,8 @@
#include "env_internal.h"
#include "spdk/version.h"
#include <rte_config.h>
#include <rte_eal.h>
@ -289,7 +291,7 @@ int spdk_env_init(const struct spdk_env_opts *opts)
return -1;
}
printf("Starting %s initialization...\n", rte_version());
printf("Starting %s / %s initialization...\n", SPDK_VERSION_STRING, rte_version());
printf("[ DPDK EAL parameters: ");
for (i = 0; i < eal_cmdline_argcount; i++) {
printf("%s ", eal_cmdline[i]);