[SCSI] iscsi class, iscsi_tcp/iser: add host arg to session creation
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 21 May 2008 20:53:56 +0000 (15:53 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jul 2008 13:22:15 +0000 (08:22 -0500)
commit40753caa364bfba60ebd5e2a8bdf366ef175d03c
treeed43045b841521eb9c9fedc08d603df89a77cf6f
parentd54d48b80fb523ce1b1a644e4876b08835ad757f
[SCSI] iscsi class, iscsi_tcp/iser: add host arg to session creation

iscsi offload (bnx2i and qla4xx) allocate a scsi host per hba,
so the session creation path needs a shost/host_no argument.
Software iscsi/iser will follow the same behabior as before
where it allcoates a host per session, but in the future iser
will probably look more like bnx2i where the host's parent is
the hardware (rnic for iser and for bnx2i it is the nic), because
it does not use a socket layer like how iscsi_tcp does.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/infiniband/ulp/iser/iscsi_iser.c
drivers/scsi/iscsi_tcp.c
drivers/scsi/scsi_transport_iscsi.c
include/scsi/iscsi_if.h
include/scsi/libiscsi.h
include/scsi/scsi_transport_iscsi.h