numam-spdk/lib/iscsi
Jim Harris df7cf89394 iscsi, vhost, nvmf: allow running without config file
If the default config file does not exist, keep the
app's config_file options field as NULL, so that the
app code will not fail when trying to open a non-existent
file.

Also leverage the recent iSCSI and NVMe-oF refactoring,
to just skip trying to read config file parameters if no
config file exists (or the requisite section in the config
file is not present).  vhost already handled this so it did
not need to be modified.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Ic32f0a7a8ce85322a8effd537b62d14732d7b82e

Reviewed-on: https://review.gerrithub.io/385497
Reviewed-by: <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-11-03 18:42:53 -04:00
..
acceptor.c iscsi: login poller per portal and portal cache 2017-10-06 17:00:45 -04:00
acceptor.h iscsi: login poller per portal and portal cache 2017-10-06 17:00:45 -04:00
conn.c iscsi: wait with spdk_app_stop until poller is unregistered 2017-10-18 12:32:28 -04:00
conn.h iscsi: login poller per portal and portal cache 2017-10-06 17:00:45 -04:00
init_grp.c iscsi: turn <add/delete name&mask of IG> into functions 2017-11-03 14:08:47 -04:00
init_grp.h iscsi: delete spdk_iscsi_init_grp_destroy_by_tag() 2017-11-03 14:08:47 -04:00
iscsi_rpc.c iscsi: turn <add/delete name&mask of IG> into functions 2017-11-03 14:08:47 -04:00
iscsi_subsystem.c iscsi, vhost, nvmf: allow running without config file 2017-11-03 18:42:53 -04:00
iscsi.c iscsi: remove global data members for non-configurable parameters 2017-11-03 12:18:02 -04:00
iscsi.h iscsi: remove global data members for non-configurable parameters 2017-11-03 12:18:02 -04:00
Makefile util: add CRC32 utility functions 2017-08-02 19:47:35 -04:00
md5.c include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
md5.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
param.c iscsi: remove global data members for non-configurable parameters 2017-11-03 12:18:02 -04:00
param.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
portal_grp.c iscsi: login poller per portal and portal cache 2017-10-06 17:00:45 -04:00
portal_grp.h iscsi: login poller per portal and portal cache 2017-10-06 17:00:45 -04:00
task.c scsi: Remove cb_event. It is no longer necessary. 2017-06-22 10:47:31 -04:00
task.h iscsi: change iscsi_bhs_scsi_req variable names. 2017-07-18 13:14:16 -04:00
tgt_node.c iscsi and ut/iscsi: deny initiator grp w/ empty netmask 2017-11-03 14:08:47 -04:00
tgt_node.h iscsi: delete spdk_iscsi_find_init_grp() function. 2017-10-16 19:27:35 -04:00