iscsi_tgt: print net framework name during startup
Change-Id: I5ae4d6605fcc1b5777fff6a73f2edcb9851ce805 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
8cbf609982
commit
31bb40dcf9
@ -45,6 +45,7 @@
|
|||||||
#include "spdk/event.h"
|
#include "spdk/event.h"
|
||||||
#include "iscsi/iscsi.h"
|
#include "iscsi/iscsi.h"
|
||||||
#include "spdk/log.h"
|
#include "spdk/log.h"
|
||||||
|
#include "spdk/net.h"
|
||||||
|
|
||||||
uint64_t g_flush_timeout;
|
uint64_t g_flush_timeout;
|
||||||
|
|
||||||
@ -199,6 +200,7 @@ main(int argc, char **argv)
|
|||||||
spdk_app_init(&opts);
|
spdk_app_init(&opts);
|
||||||
|
|
||||||
printf("Total cores available: %d\n", rte_lcore_count());
|
printf("Total cores available: %d\n", rte_lcore_count());
|
||||||
|
printf("Using net framework %s\n", spdk_net_framework_get_name());
|
||||||
/* Blocks until the application is exiting */
|
/* Blocks until the application is exiting */
|
||||||
rc = spdk_app_start(spdk_startup, NULL, NULL);
|
rc = spdk_app_start(spdk_startup, NULL, NULL);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user