iscsi_tgt: Remove use of rte_lcore
Change-Id: I533a004e1c28247a19a893f970e273e3219ad702 Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/363604 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: John Meneghini <johnm@netapp.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
0d6f812c8f
commit
9139304ac2
@ -33,9 +33,6 @@
|
||||
|
||||
#include "spdk/stdinc.h"
|
||||
|
||||
#include <rte_config.h>
|
||||
#include <rte_lcore.h>
|
||||
|
||||
#include "spdk/env.h"
|
||||
#include "spdk/event.h"
|
||||
#include "iscsi/iscsi.h"
|
||||
@ -184,7 +181,7 @@ main(int argc, char **argv)
|
||||
opts.usr1_handler = spdk_sigusr1;
|
||||
spdk_app_init(&opts);
|
||||
|
||||
printf("Total cores available: %d\n", rte_lcore_count());
|
||||
printf("Total cores available: %u\n", spdk_env_get_core_count());
|
||||
printf("Using net framework %s\n", spdk_net_framework_get_name());
|
||||
/* Blocks until the application is exiting */
|
||||
app_rc = spdk_app_start(spdk_startup, NULL, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user