android_kernel_motorola_sm6225/drivers/scsi/qla2xxx
Nicholas Bellinger 49a47f2caf qla2xxx: Configure NPIV fc_vport via tcm_qla2xxx_npiv_make_lport
This patch changes qla2xxx qlt_lport_register() code to accept
target_lport_ptr + npiv_wwpn + npiv_wwnn parameters, and updates
tcm_qla2xxx to use the new tcm_qla2xxx_lport_register_npiv_cb()
callback for invoking fc_vport_create() from configfs context
via tcm_qla2xxx_npiv_make_lport() code.

In order for this to work, the qlt_lport_register() callback is
now called without holding qla_tgt_mutex, as the fc_vport creation
process will call qlt_vport_create() -> qlt_add_target(), which
already expects to acquire it.

It enforces /sys/kernel/config/target/qla2xxx_npiv/$NPIV_WWPN
naming in the following format:

     $PHYSICAL_WWPN@$NPIV_WWPN:$NPIV_WWNN

and assumes the $PHYSICAL_WWPN in question has already had been
configured for target mode in non NPIV mode.

Finally, it updates existing tcm_qla2xxx_lport_register_cb() logic
to setup the non NPIV assignments that have now been moved out of
qlt_lport_register() code.

Cc: Sawan Chandak <sawan.chandak@qlogic.com>
Cc: Quinn Tran <quinn.tran@qlogic.com>
Cc: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2014-01-19 02:22:12 +00:00
..
Kconfig [SCSI] qla2xxx: Update firmware link in Kconfig file. 2013-05-10 07:47:53 -07:00
Makefile [SCSI] qla2xxx: Add support for ISP8044. 2013-09-03 07:28:00 -07:00
qla_attr.c qla2xxx: Enhancements to enable NPIV support for QLOGIC ISPs with TCM/LIO. 2014-01-19 02:22:10 +00:00
qla_bsg.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2013-09-06 09:36:28 -07:00
qla_bsg.h [SCSI] qla2xxx: Enhancements to support ISPFx00. 2013-04-11 15:42:04 -07:00
qla_dbg.c [SCSI] qla2xxx: Fix request queue null dereference. 2013-10-23 14:09:18 +01:00
qla_dbg.h [SCSI] qla2xxx: Update the copyright information. 2013-02-22 12:49:22 +00:00
qla_def.h qla2xxx: Enhancements to enable NPIV support for QLOGIC ISPs with TCM/LIO. 2014-01-19 02:22:10 +00:00
qla_devtbl.h
qla_dfs.c [SCSI] qla2xxx: Update the copyright information. 2013-02-22 12:49:22 +00:00
qla_fw.h [SCSI] qla2xxx: Add support for ISP8044. 2013-09-03 07:28:00 -07:00
qla_gbl.h [SCSI] qla2xxx: Notify ISPFX00 firmware when driver is unloaded or system is shut down. 2013-09-03 07:28:03 -07:00
qla_gs.c [SCSI] qla2xxx: Add missing FCP statistics to sysfs interface. 2013-09-03 07:28:04 -07:00
qla_init.c [SCSI] qla2xxx: Add missing FCP statistics to sysfs interface. 2013-09-03 07:28:04 -07:00
qla_inline.h [SCSI] qla2xxx: Add support for ISP8044. 2013-09-03 07:28:00 -07:00
qla_iocb.c [SCSI] qla2xxx: Add missing FCP statistics to sysfs interface. 2013-09-03 07:28:04 -07:00
qla_isr.c [SCSI] qla2xxx: Fix request queue null dereference. 2013-10-23 14:09:18 +01:00
qla_mbx.c [SCSI] qla2xxx: Correctly print out/in mailbox registers. 2013-09-03 07:28:07 -07:00
qla_mid.c [SCSI] qla2xxx: Correct multiqueue offset calculations. 2013-09-03 07:28:01 -07:00
qla_mr.c [SCSI] qla2xxx: Use pcie_is_pcie() to simplify code 2013-09-23 17:30:04 -06:00
qla_mr.h [SCSI] qla2xxx: Set default critical temperature value in cases when ISPFX00 firmware doesn't provide it 2013-09-03 07:28:06 -07:00
qla_nx.c [SCSI] qla2xxx: Reconfigure thermal temperature. 2013-09-03 07:28:03 -07:00
qla_nx.h [SCSI] qla2xxx: Add support for ISP8044. 2013-09-03 07:28:00 -07:00
qla_nx2.c [SCSI] qla2xxx: Correction to message ids. 2013-09-03 07:28:07 -07:00
qla_nx2.h [SCSI] qla2xxx: Add support for ISP8044. 2013-09-03 07:28:00 -07:00
qla_os.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2013-11-15 16:47:22 -08:00
qla_settings.h [SCSI] qla2xxx: Update the copyright information. 2013-02-22 12:49:22 +00:00
qla_sup.c [SCSI] qla2xxx: Correction to message ids. 2013-09-03 07:28:07 -07:00
qla_target.c qla2xxx: Configure NPIV fc_vport via tcm_qla2xxx_npiv_make_lport 2014-01-19 02:22:12 +00:00
qla_target.h qla2xxx: Configure NPIV fc_vport via tcm_qla2xxx_npiv_make_lport 2014-01-19 02:22:12 +00:00
qla_version.h [SCSI] qla2xxx: Update the driver version to 8.06.00.08-k. 2013-09-03 07:28:08 -07:00
tcm_qla2xxx.c qla2xxx: Configure NPIV fc_vport via tcm_qla2xxx_npiv_make_lport 2014-01-19 02:22:12 +00:00
tcm_qla2xxx.h qla2xxx: Enhancements to enable NPIV support for QLOGIC ISPs with TCM/LIO. 2014-01-19 02:22:10 +00:00