1. 19 3月, 2017 1 次提交
  2. 09 2月, 2017 3 次提交
    • J
      qla2xxx: Simplify usage of SRB structure in driver · 25ff6af1
      Joe Carnuccio 提交于
      This patch simplifies SRB structure usage in driver.
      
      - Simplify sp->done() and sp->free() interfaces.
      - Remove sp->fcport->vha to use vha pointer from sp.
      - Use sp->vha context in qla2x00_rel_sp().
      Signed-off-by: NJoe Carnuccio <joe.carnuccio@cavium.com>
      Signed-off-by: NHimanshu Madhani <himanshu.madhani@cavium.com>
      Signed-off-by: NBart Van Assche <bart.vanassche@sandisk.com>
      Signed-off-by: NNicholas Bellinger <nab@linux-iscsi.org>
      25ff6af1
    • Q
      qla2xxx: Improve RSCN handling in driver · 41dc529a
      Quinn Tran 提交于
      Current code blindly does State Change Registration when
      the link is up. Move SCR behind fabric scan, so that arbitrated
      loop scan would not get erroneous error message.
      
      Some of the other improvements are as follows
      
      - Add session deletion for TPRLO and send acknowledgment for TPRLO.
      - Enable FW option to move ABTS, RIDA & PUREX from RSPQ to ATIOQ.
      - Save NPort ID early in link init.
      - Move ABTS & RIDA to ATIOQ helps in keeping command ordering and
        link up sequence ordering.
      - Save Nport ID and update VP map so that SCSI CMD/ATIO won't be dropped.
      - fcport alloc does the initializes memory to zero. Remove memset to
        zero since It might corrupt link list.
      - Turn off Registration for State Change MB in loop mode.
      Signed-off-by: NQuinn Tran <quinn.tran@cavium.com>
      Signed-off-by: NHimanshu Madhani <himanshu.madhani@cavium.com>
      Signed-off-by: NBart Van Assche <bart.vanassche@sandisk.com>
      Signed-off-by: NNicholas Bellinger <nab@linux-iscsi.org>
      41dc529a
    • Q
      qla2xxx: Add framework for async fabric discovery · 726b8548
      Quinn Tran 提交于
      Currently code performs a full scan of the fabric for
      every RSCN. Its an expensive process in a noisy large SAN.
      
      This patch optimizes expensive fabric discovery process by
      scanning switch for the affected port when RSCN is received.
      
      Currently Initiator Mode code makes login/logout decision without
      knowledge of target mode. This causes driver and firmware to go
      out-of-sync. This framework synchronizes both initiator mode
      personality and target mode personality in making login/logout
      decision.
      
      This patch adds following capabilities in the driver
      
      - Send Notification Acknowledgement asynchronously.
      - Update session/fcport state asynchronously.
      - Create a session or fcport struct asynchronously.
      - Send GNL asynchronously. The command will ask FW to
        provide a list of FC Port entries FW knows about.
      - Send GPDB asynchronously. The command will ask FW to
        provide detail data of an FC Port FW knows about or
        perform ADISC to verify the state of the session.
      - Send GPNID asynchronously. The command will ask switch
        to provide WWPN for provided NPort ID.
      - Send GPSC asynchronously. The command will ask switch
        to provide registered port speed for provided WWPN.
      - Send GIDPN asynchronously. The command will ask the
        switch to provide Nport ID for provided WWPN.
      - In driver unload path, schedule all session for deletion
        and wait for deletion to complete before allowing driver
        unload to proceed.
      Signed-off-by: NQuinn Tran <quinn.tran@cavium.com>
      Signed-off-by: NHimanshu Madhani <himanshu.madhani@cavium.com>
      [ bvanassche: fixed spelling in patch description ]
      Signed-off-by: NBart Van Assche <bart.vanassche@sandisk.com>
      Signed-off-by: NNicholas Bellinger <nab@linux-iscsi.org>
      726b8548
  3. 15 12月, 2016 1 次提交
  4. 18 11月, 2016 1 次提交
  5. 16 7月, 2016 2 次提交
  6. 24 2月, 2016 2 次提交
  7. 08 1月, 2016 5 次提交
  8. 12 11月, 2014 1 次提交
    • C
      qla2xxx: remove redundant declaration in 'qla_gbl.h' · 9493c242
      Chen Gang 提交于
      Remove 2 redundant extern inline functions: qla8044_set_qsnt_ready() and
      qla8044_need_reset_handler(). At present, within upstream next kernel
      source code, they are only used within "drivers/scsi/qla2xxx/qla_nx2.c".
      
      The related error and warnings (with allmodconfig under tile):
      
          CC [M]  drivers/scsi/qla2xxx/qla_nx2.o
        drivers/scsi/qla2xxx/qla_nx2.c:1633:1: error: static declaration of 'qla8044_need_reset_handler' follows non-static declaration
         qla8044_need_reset_handler(struct scsi_qla_host *vha)
         ^
        In file included from drivers/scsi/qla2xxx/qla_def.h:3706:0,
                         from drivers/scsi/qla2xxx/qla_nx2.c:11:
        drivers/scsi/qla2xxx/qla_gbl.h:756:20: note: previous declaration of 'qla8044_need_reset_handler' was here
         extern inline void qla8044_need_reset_handler(struct scsi_qla_host *vha);
                            ^
        drivers/scsi/qla2xxx/qla_gbl.h:756:20: warning: inline function 'qla8044_need_reset_handler' declared but never defined
        make[3]: *** [drivers/scsi/qla2xxx/qla_nx2.o] Error 1
        make[2]: *** [drivers/scsi/qla2xxx] Error 2
        make[1]: *** [drivers/scsi] Error 2
        make: *** [drivers] Error 2
      
          CC [M]  drivers/scsi/qla2xxx/qla_tmpl.o
        In file included from drivers/scsi/qla2xxx/qla_def.h:3706:0,
                         from drivers/scsi/qla2xxx/qla_tmpl.c:7:
        drivers/scsi/qla2xxx/qla_gbl.h:755:20: warning: inline function 'qla8044_set_qsnt_ready' declared but never defined
         extern inline void qla8044_set_qsnt_ready(struct scsi_qla_host *vha);
                          ^
      Signed-off-by: NChen Gang <gang.chen.5i5j@gmail.com>
      Acked-by: NSaurav Kashyap <saurav.kashyap@qlogic.com>
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      9493c242
  9. 25 9月, 2014 3 次提交
  10. 17 9月, 2014 1 次提交
  11. 18 7月, 2014 2 次提交
  12. 19 5月, 2014 3 次提交
  13. 16 3月, 2014 3 次提交
  14. 19 12月, 2013 5 次提交
  15. 03 9月, 2013 5 次提交
  16. 09 7月, 2013 1 次提交
  17. 12 4月, 2013 1 次提交