iscsistart: allow any rec/iscsid.conf setting as arg

This patch allows users to pass in any record/iscsid.conf
setting as a parameter to iscsistart.

iscsistart --param $NAME=$VALUE ....

example:

iscsistart --param node.session.timeo.replacement_timeout=30 \
	--param node.session.err_timeo.lu_reset_timeout=120 ....
iscsistart: support params in offload/ibft mode

This adds param support when using offload ibft boot.
It also allows you to override the hard coded ping
and retry defaults.
iscsi tools: never use hdr digest with iser

iSER does not support header digests, so always turn
them off when iSER is used.
iscsi tools: update iscsi_if.h for host event

Patch from: Vikas Chaudhary <vikas.chaudhary@qlogic.com>

[added code to print link up/down message by Mike Christie]
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
iscsi tools: added ping support

From: Vikas Chaudhary <vikas.chaudhary@qlogic.com>

Added ping support for network connection diagnostics.

[cleaned up output by Mike Christie]
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
iscsi tools: update documents for ping command

update README and man page for ping command.

Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
iscsi tools: Add support to display a host's CHAP list and delete

Drivers like qla4xxx store the CHAP info in a table that is
managed at the host level. This patch allows you to see
and delete the CHAP entries on the host.

Patch from: Nilesh Javali <nilesh.javali@qlogic.com>

[lots of bug fixes by Mike Christie]
Signed-off-by: Nilesh Javali <nilesh.javali@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
iscsi tools: update documents for CHAP command

Signed-off-by: Nilesh Javali <nilesh.javali@qlogic.com>
iscsi tools: fix conn state compilation warnings

Fix compilatin warnings from krecv_conn_state's int state use.
iscsi tools: allow default to have different transort names

For compat reasons we need to allow default to have different
transport names. Before we added iface support, the default
iface supported iser and tcp.
iscsiadm: print ping status string

When a ping fails print more useful info.
iscsi tools: remove un-necessary print message

remove print message that printing wrong info to user

Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
iscsi tools: fix hostname with port handling

If you pass iscsiadm a hostname:port then it will not parse the port
out of the argument. You then end up with a hostname as "hostname:port"
with the default port.
iscsi tools: have iscsid/iscsiadm load modules as needed

Instead of having the init scripts load all the modules
this patch has iscsiadm/iscsistart/iscsid load the module
in the iface.transport_name field when the module is
requested.
iscsi tools: have iscsiadm load offload modules

This has iscsiadm load the offload modules that do not
have pci tables (bnx2i, cxgb3i, cxgb4i) when
iscsiadm -m iface
is run.
init: update red hat init script for module changes

This has the red hat init script use iscsiadm to
load the proper drivers. The call to iscsiadm -m iface
is needed to setup the default iface bindings and load
the offload drivers.
iscsi tools: create def ifaces on demand

This has iscsiadm/iscsid create the def ifaces when they are first
read.
iscsi tools: iscsiadm modprobe support

Lots of distros do not have libkmod yet, so here is
/sbin/modprobe support.
iscsi tools: remove class version check

This patch removes the check for the transport class version.
We have not used it, and instead have checked for kernel
functionality on a per operation basis.
iscsi tools: remove unused len variable

len is not used in cfg_get_string_param so remove it.