1. 03 8月, 2018 1 次提交
  2. 08 5月, 2018 1 次提交
  3. 22 3月, 2018 2 次提交
  4. 04 1月, 2018 9 次提交
  5. 09 11月, 2017 1 次提交
  6. 17 10月, 2017 2 次提交
  7. 31 8月, 2017 1 次提交
    • Q
      scsi: qla2xxx: Fix slow mem alloc behind lock · b5d15312
      Quinn Tran 提交于
      Call Trace:
       [<ffffffff81341687>] dump_stack+0x6b/0xa4
       [<ffffffff810c3e30>] ? print_irqtrace_events+0xd0/0xe0
       [<ffffffff8109e3c3>] ___might_sleep+0x183/0x240
       [<ffffffff8109e4d2>] __might_sleep+0x52/0x90
       [<ffffffff811fe17b>] kmem_cache_alloc_trace+0x5b/0x300
       [<ffffffff810c666b>] ? __lock_acquired+0x30b/0x420
       [<ffffffffa0733c28>] qla2x00_alloc_fcport+0x38/0x2a0 [qla2xxx]
       [<ffffffffa07217f4>] ? qla2x00_do_work+0x34/0x2b0 [qla2xxx]
       [<ffffffff816cc82b>] ? _raw_spin_lock_irqsave+0x7b/0x90
       [<ffffffffa072169a>] ? qla24xx_create_new_sess+0x3a/0x160 [qla2xxx]
       [<ffffffffa0721723>] qla24xx_create_new_sess+0xc3/0x160 [qla2xxx]
       [<ffffffff810c91ed>] ? trace_hardirqs_on+0xd/0x10
       [<ffffffffa07218f8>] qla2x00_do_work+0x138/0x2b0 [qla2xxx]
      Signed-off-by: NQuinn Tran <quinn.tran@qlogic.com>
      Signed-off-by: NHimanshu Madhani <himanshu.madhani@cavium.com>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      b5d15312
  8. 25 8月, 2017 3 次提交
  9. 08 8月, 2017 2 次提交
  10. 28 6月, 2017 6 次提交
  11. 13 6月, 2017 1 次提交
    • Q
      scsi: qla2xxx: Add ql2xiniexchg parameter · 99e1b683
      Quinn Tran 提交于
      Previously, the ql2xexchoffld module parameter was used to control the
      max number of exchanges to be offload onto host memory.
      
      Module parameter ql_dm_tgt_ex_pct was used to control the percentage of
      exchanges allocated to the Target side.
      
      With this patch, module parameter ql_dm_tgt_ex_pct is no longer used to
      control exchanges for the driver. New module parameter ql2xiniexchg is
      added to control exchanges between target mode and initiator mode.
      
      With the updated module parameters, users can control the exact number
      of exchanges for either Initiator or Target. The exchange offload
      feature will be automatically enabled when the total number of exchanges
      exceeds 2048 limit.
      Signed-off-by: NQuinn Tran <quinn.tran@cavium.com>
      Signed-off-by: NHimanshu Madhani <himanshu.madhani@cavium.com>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      99e1b683
  12. 19 3月, 2017 3 次提交
  13. 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
  14. 15 12月, 2016 1 次提交
  15. 18 11月, 2016 1 次提交
  16. 16 7月, 2016 2 次提交
  17. 24 2月, 2016 1 次提交