]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitf11d868e4817d28ff86ff64c42c9d1b1f508ef4a
treeed43045b841521eb9c9fedc08d603df89a77cf6f
parent1cc24e2e7a01d5bcce39747efa63787172942035
[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