summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/Kconfig
diff options
context:
space:
mode:
authorQuinn Tran <quinn.tran@cavium.com>2017-03-15 09:48:54 -0700
committerNicholas Bellinger <nab@linux-iscsi.org>2017-03-18 17:28:37 -0700
commit482c9dc79204bb83c3433a59680c787a0b98c000 (patch)
tree45280a831e7e958679769b616244ced62fbfbccf /drivers/scsi/qla2xxx/Kconfig
parentc423437e3ff41b8ca551ab6621baf11538dbfe9d (diff)
downloadop-kernel-dev-482c9dc79204bb83c3433a59680c787a0b98c000.zip
op-kernel-dev-482c9dc79204bb83c3433a59680c787a0b98c000.tar.gz
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>
Diffstat (limited to 'drivers/scsi/qla2xxx/Kconfig')
-rw-r--r--drivers/scsi/qla2xxx/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/Kconfig b/drivers/scsi/qla2xxx/Kconfig
index 67c0d5a..de95293 100644
--- a/drivers/scsi/qla2xxx/Kconfig
+++ b/drivers/scsi/qla2xxx/Kconfig
@@ -3,6 +3,7 @@ config SCSI_QLA_FC
depends on PCI && SCSI
depends on SCSI_FC_ATTRS
select FW_LOADER
+ select BTREE
---help---
This qla2xxx driver supports all QLogic Fibre Channel
PCI and PCIe host adapters.
OpenPOWER on IntegriCloud