]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
qla2xxx: Change scsi host lookup method.
authorQuinn Tran <quinn.tran@cavium.com>
Wed, 15 Mar 2017 16:48:54 +0000 (09:48 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 19 Mar 2017 00:28:37 +0000 (17:28 -0700)
commit482c9dc79204bb83c3433a59680c787a0b98c000
tree45280a831e7e958679769b616244ced62fbfbccf
parentc423437e3ff41b8ca551ab6621baf11538dbfe9d
qla2xxx: Change scsi host lookup method.

For target mode, when new scsi command arrive, driver first performs
a look up of the SCSI Host. The current look up method is based on
the ALPA portion of the NPort ID. For Cisco switch, the ALPA can
not be used as the index. Instead, the new search method is based
on the full value of the Nport_ID via btree lib.

Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/scsi/qla2xxx/Kconfig
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_gbl.h
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_mbx.c
drivers/scsi/qla2xxx/qla_os.c
drivers/scsi/qla2xxx/qla_target.c