James Smart
086a345f9d
[SCSI] lpfc 8.3.34: Add LOGO support after ABTS compliance
...
Make compliant with FC specs by sending LOGO after ABTS timeouts
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-09-14 17:59:22 +01:00
James Smart
4983ce0c6b
[SCSI] lpfc 8.3.33: Update lpfc version for 8.3.33 driver release
...
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-09-14 14:46:53 +01:00
James Smart
940eb687b3
[SCSI] lpfc 8.3.33: Fixed incomplete list of SLI4 commands with extended timeout value
...
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-09-14 14:46:06 +01:00
James Smart
c85a65ac55
[SCSI] lpfc 8.3.33: Fixed debugfs queInfo to include queue stats
...
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-09-14 14:45:28 +01:00
James Smart
ba20c8536f
[SCSI] lpfc 8.3.33: Add lpfc_fcp_look_ahead module parameter
...
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-09-14 14:44:39 +01:00
James Smart
49aa143da9
[SCSI] lpfc 8.3.33: Make I/O to hw queue distribution algorithm a module parameter
...
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-09-14 14:43:46 +01:00
James Smart
4305f183c0
[SCSI] lpfc 8.3.33: Change Naming convention for SLI4 Interrupt vector
...
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-09-14 14:42:59 +01:00
James Smart
bf8dae83fe
[SCSI] lpfc 8.3.33: Allow per-hba interrupt rate tuning
...
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-09-14 14:42:12 +01:00
James Smart
67d1273385
[SCSI] lpfc 8.3.33: Tie parallel I/O queues into separate MSIX vectors
...
Add fcp_io_channel module attribute to control amount of parallel I/O queues
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-09-14 14:41:19 +01:00
James Smart
aa6fbb757a
[SCSI] lpfc 8.3.33: Add Interrupts per second stats via debugfs
...
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-09-14 14:40:15 +01:00
James Smart
2a76a28314
[SCSI] lpfc 8.3.33: Parallelize SLI-4 Q distribution
...
Commonize SLI-3/4 Ring/Queue framework, to keep SLI-3 compatibility
Parallelize SLI-4 Q distribution - to use multiple posting/completion queues
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-09-14 14:39:22 +01:00
James Smart
027140eab7
[SCSI] lpfc 8.3.33: Misc changes to optimize critical path
...
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-09-14 14:38:33 +01:00
James Smart
7e56aa25e3
[SCSI] lpfc 8.3.33: Formally separate lpfc_sli_ring SLI-3 and SLI-4 variantions
...
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-09-14 14:37:45 +01:00
James Smart
b9a7c631d4
[SCSI] lpfc 8.3.33: Convert to no SCSI host lock in queuecommand
...
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-09-14 14:36:59 +01:00
James Smart
b84daac9dc
[SCSI] lpfc 8.3.33: Add debugfs interface to display SLI queue information
...
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-09-14 14:35:32 +01:00
James Smart
34f5ad8bdd
[SCSI] lpfc 8.3.33: Fix error when remote port switches address
...
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-09-14 14:34:46 +01:00
James Smart
908e18e4e7
[SCSI] lpfc 8.3.33: Fix scsi_eh escalation panic by checking the proper return status
...
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-09-14 14:33:38 +01:00
James Smart
582dd796fb
[SCSI] lpfc 8.3.33: Check data transfer amount on write commands
...
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-09-14 14:33:06 +01:00
James Smart
59df3acf19
[SCSI] lpfc 8.3.33: Fix error of not reiniting mbx cmd before reissue
...
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-09-14 14:32:27 +01:00
James Smart
21a688cdfa
[SCSI] lpfc 8.3.33: Fix bug with rrq_pool not being destroyed during driver removal.
...
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-09-14 14:31:50 +01:00
James Smart
f8cafd38c2
[SCSI] lpfc 8.3.33: Enable attachment to OCe14000 adapters
...
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-09-14 14:00:42 +01:00
James Smart
9731592bb4
[SCSI] lpfc 8.3.33: When doing loopback testing, set the diag valid bit
...
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-09-14 13:58:17 +01:00
Stephen Hemminger
a55b2d21e8
scsi: make pci error handlers const
...
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com >
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com >
2012-09-07 16:35:00 -06:00
Anatol Pomozov
4907cb7b19
treewide: fix comment/printk/variable typos
...
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com >
Signed-off-by: Jiri Kosina <jkosina@suse.cz >
2012-09-01 10:33:05 -07:00
James Bottomley
4bdd03e61b
[SCSI] lpfc: fix problems with -Werror
...
Commit d38bd3aef ("Add -Werror compilation flag") is causing build breakage
with random gcc incarnations. These look like gcc problems, but we shouldn't
break the build because of a bad gcc. Fix this by adding a make flag
WARNINGS_BECOME_ERRORS=1
which is the same as aic7xxx uses so ordinarily the build doesn't use -Werror
Reported-by: Fengguang Wu <fengguang.wu@intel.com >
Cc: Alex Iannicelli <alex.iannicelli@emulex.com >
Cc: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-07-20 08:58:54 +01:00
James Smart
f3d8af9e27
[SCSI] lpfc 8.3.32: Update lpfc to version 8.3.32
...
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com >
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-07-20 08:58:30 +01:00
James Smart
4b8bae08b2
[SCSI] lpfc 8.3.32: Fix error reporting of misconfigured ports
...
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com >
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-07-20 08:58:30 +01:00
James Smart
6b415f5d6c
[SCSI] lpfc 8.3.32: Fix system panic due to node state change
...
Fix System Panic During IO Test using Medusa tool
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com >
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-07-20 08:58:29 +01:00
James Smart
173edbb2c3
[SCSI] lpfc 8.3.32: Fix ability to change FCP EQ delay multiplier
...
Fix fcp_imax module parameter to dynamically change FCP EQ delay multiplier
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com >
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-07-20 08:58:29 +01:00
James Smart
3a70730aa0
[SCSI] lpfc 8.3.32: Correct successful aborts returning error status
...
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com >
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-07-20 08:58:28 +01:00
James Smart
618a5230b8
[SCSI] lpfc 8.3.32: Correct provisioning change failure on local function
...
Fixed system held-up when performing resource provsion through same PCI
function
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com >
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-07-20 08:58:28 +01:00
James Smart
bbeb79b90e
[SCSI] lpfc 8.3.32: Correct host DIF configuration that hung system
...
Fix system hang due to bad protection module parameters (CR: 130769)
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com >
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-07-20 08:58:27 +01:00
James Smart
3b3da6a974
[SCSI] lpfc 8.3.32: Fix CQ and EQ dump failure for debugfs
...
Fixed debug helper routine failed to dump CQ and EQ entries in non-MSI-X mode
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com >
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-07-20 08:58:27 +01:00
James Smart
a629852ab8
[SCSI] lpfc 8.3.32: Correct null pointer Error in lpfc_sli.c
...
This patch corrects the issue caught via Smatch and reported by Dan Carpenter:
http://marc.info/?l=linux-scsi&m=133693516103343
Resolve null pointer check ordering that were odd
Reported-by: Dan Carpenter <dan.carpenter@oracle.com >
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com >
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-07-20 08:58:26 +01:00
James Smart
4f4c18634d
[SCSI] lpfc 8.3.32: lpfc_sli.c: add missing jumps to mempool_free
...
Incorporate patch originally supplied by Julia Lawall <Julia.Lawall@lip6.fr >
http://marc.info/?l=linux-scsi&m=133572879711140&w=2
"It appears that mempool_free should be performed on these failures as on
the other exists from the containing functions."
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr >
Acked-by: Alex Iannicelli <alex.iannicelli@emulex.com >
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-07-20 08:58:25 +01:00
James Smart
76b311fdbd
[SCSI] lpfc 8.3.31: Update lpfc to version 8.3.31
...
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com >
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-05-17 11:18:30 +01:00
James Smart
27b01b821f
[SCSI] lpfc 8.3.31: Fixed system crash due to not providing SCSI error-handling host reset handler
...
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com >
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-05-17 11:17:18 +01:00
James Smart
93d1379e69
[SCSI] lpfc 8.3.31: Fix bug with driver using the wrong xritag when sending an els echo
...
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com >
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-05-17 11:16:23 +01:00
James Smart
809c75368d
[SCSI] lpfc 8.3.31: Debug helper utility routines for dumping various SLI4 queues
...
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com >
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-05-17 11:11:52 +01:00
James Smart
ee0f4fe17b
[SCSI] lpfc 8.3.31: Fix unsol abts xri lookup
...
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com >
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-05-17 11:10:25 +01:00
James Smart
939723a4a6
[SCSI] lpfc 8.3.31: Correct point-to-point mode discovery errors on LPe16xxx
...
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com >
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-05-17 11:09:55 +01:00
James Smart
27aa1b7353
[SCSI] lpfc 8.3.31: Reregister VPI for SLI3 after cable moved to new Saturn port
...
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com >
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-05-17 11:09:21 +01:00
James Smart
75ad83a452
[SCSI] lpfc 8.3.31: Fix driver crash during back-to-back ramp events
...
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com >
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-05-17 11:08:22 +01:00
James Smart
cc459f19e3
[SCSI] lpfc 8.3.31: Fix log message for Mailbox command when no error is detected
...
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com >
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-05-17 11:07:27 +01:00
James Smart
5a0d80fc0d
[SCSI] lpfc 8.3.31: Revise FCP LOG for easier Finisar trace correlation
...
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com >
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-05-17 11:06:33 +01:00
James Smart
0829a19a61
[SCSI] lpfc 8.3.31: Fix build warnings when debugfs is not defined
...
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com >
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-05-17 11:04:30 +01:00
James Smart
043c956f50
[SCSI] lpfc 8.3.31: Fix kernel panic when going into to sleep state
...
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com >
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-05-17 11:03:11 +01:00
James Smart
8137805264
[SCSI] lpfc 8.3.31: Fix error message displayed even when not an error
...
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com >
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-05-17 11:01:43 +01:00
James Smart
37db57e32b
[SCSI] lpfc 8.3.31: Fix Read Link status data
...
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com >
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-05-17 10:59:11 +01:00
James Smart
4f2e66c6d2
[SCSI] lpfc 8.3.31: Fixed system panic due to midlayer abort and driver complete race on SCSI cmd
...
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com >
Signed-off-by: James Smart <james.smart@emulex.com >
Signed-off-by: James Bottomley <JBottomley@Parallels.com >
2012-05-17 10:57:29 +01:00