1. 23 2月, 2017 1 次提交
    • J
      scsi: lpfc: NVME Initiator: Base modifications · 895427bd
      James Smart 提交于
      NVME Initiator: Base modifications
      
      This patch adds base modifications for NVME initiator support.
      
      The base modifications consist of:
      - Formal split of SLI3 rings from SLI-4 WQs (sometimes referred to as
        rings as well) as implementation now widely varies between the two.
      - Addition of configuration modes:
         SCSI initiator only; NVME initiator only; NVME target only; and
         SCSI and NVME initiator.
         The configuration mode drives overall adapter configuration,
         offloads enabled, and resource splits.
         NVME support is only available on SLI-4 devices and newer fw.
      - Implements the following based on configuration mode:
        - Exchange resources are split by protocol; Obviously, if only
           1 mode, then no split occurs. Default is 50/50. module attribute
           allows tuning.
        - Pools and config parameters are separated per-protocol
        - Each protocol has it's own set of queues, but share interrupt
          vectors.
           SCSI:
             SLI3 devices have few queues and the original style of queue
               allocation remains.
             SLI4 devices piggy back on an "io-channel" concept that
               eventually needs to merge with scsi-mq/blk-mq support (it is
      	 underway).  For now, the paradigm continues as it existed
      	 prior. io channel allocates N msix and N WQs (N=4 default)
      	 and either round robins or uses cpu # modulo N for scheduling.
      	 A bunch of module parameters allow the configuration to be
      	 tuned.
           NVME (initiator):
             Allocates an msix per cpu (or whatever pci_alloc_irq_vectors
               gets)
             Allocates a WQ per cpu, and maps the WQs to msix on a WQ #
               modulo msix vector count basis.
             Module parameters exist to cap/control the config if desired.
        - Each protocol has its own buffer and dma pools.
      
      I apologize for the size of the patch.
      Signed-off-by: NDick Kennedy <dick.kennedy@broadcom.com>
      Signed-off-by: NJames Smart <james.smart@broadcom.com>
      
      ----
      Reviewed-by: NHannes Reinecke <hare@suse.com>
      Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
      895427bd
  2. 05 1月, 2017 1 次提交
  3. 18 11月, 2016 1 次提交
  4. 09 11月, 2016 1 次提交
  5. 16 7月, 2016 5 次提交
  6. 22 12月, 2015 2 次提交
  7. 06 6月, 2015 1 次提交
  8. 10 4月, 2015 3 次提交
  9. 17 9月, 2014 1 次提交
  10. 03 6月, 2014 3 次提交
  11. 16 3月, 2014 3 次提交
  12. 27 6月, 2013 1 次提交
  13. 03 5月, 2013 1 次提交
  14. 10 4月, 2013 1 次提交
  15. 30 1月, 2013 1 次提交
  16. 27 11月, 2012 1 次提交
    • J
      [SCSI] lpfc 8.3.36: Fixed boot from san failure · c71ab861
      James Smart 提交于
      Fixed boot from san failure when SLI4 FC device presented on the same PCI bus
      
      The request_firmware interface can induce delays while looking
      for firmware files, even if no fw file is present. In some situations
      the delays exceeded scan_wait timeouts, resulting in situations in which
      the boot device had not been discovered in time.  Boot Device does not
      need to be on a lpfc device.
      
      Change request_firmware use to be module paramater driven. Default is to
      not attempt firmware download on boot. Add sysfs parameter to invoke
      firmware update.
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      c71ab861
  17. 08 10月, 2012 1 次提交
  18. 15 9月, 2012 1 次提交
  19. 14 9月, 2012 2 次提交
  20. 20 7月, 2012 1 次提交
  21. 17 5月, 2012 2 次提交
  22. 19 2月, 2012 1 次提交
    • J
      [SCSI] lpfc 8.3.29: SLI related fixes · 6b5151fd
      James Smart 提交于
      SLI related fixes:
      
      - Fix REG_RPI fails on SLI4 HBA putting NPort into NPR state (126230)
      - Fix ELS FDISC failing with local reject / invalid RPI. (126350)
      - Fix reset port when reset is needed during fw_dump (125807)
      - Fix unbounded firmware revision string from port cause panic (126560)
      - Fix driver behavior when receiving an ADISC (126654)
      - Fix driver not returning when bad ndlp found in abts error event
        handling (126209)
      - Add more driver logs in area of SLI4 port error attention and reset
        recovery (126813, 124466)
      - Fix failure in handling large CQ/EQ identifiers in an IOV
        environment (126856)
      - Fix for driver using duplicate RPIs after lancer port reset (126723)
      - Clear vport->fc_myDID in lpfc_els_issue_fdisc to guarentee a
        zero SID (126779, 126897)
      - Fix for SLI4 Port delivery for BLS ABORT ACC (126289)
      Signed-off-by: NAlex Iannicelli <alex.iannicelli@emulex.com>
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      6b5151fd
  23. 15 12月, 2011 4 次提交
  24. 17 10月, 2011 1 次提交