Commit 05ab4e7
scsi: lpfc: Restrict support for 32 byte CDBs to specific HBAs
An older generation of HBAs are failing FCP discovery due to usage of an
outdated field in FCP command WQEs.
Fix by checking the SLI Interface Type register for applicable support of
32 Byte CDB commands, and restore a setting for a WQE path using normal 16
byte CDBs.
Fixes: af20bb7 ("scsi: lpfc: Add support for 32 byte CDBs")
Cc: [email protected] # v6.10+
Signed-off-by: Justin Tee <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>1 parent fc318ca commit 05ab4e7
3 files changed
+22
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4847 | 4847 | | |
4848 | 4848 | | |
4849 | 4849 | | |
| 4850 | + | |
4850 | 4851 | | |
4851 | 4852 | | |
4852 | 4853 | | |
| |||
4863 | 4864 | | |
4864 | 4865 | | |
4865 | 4866 | | |
| 4867 | + | |
4866 | 4868 | | |
4867 | 4869 | | |
4868 | 4870 | | |
| |||
4879 | 4881 | | |
4880 | 4882 | | |
4881 | 4883 | | |
| 4884 | + | |
4882 | 4885 | | |
4883 | 4886 | | |
4884 | 4887 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4699 | 4699 | | |
4700 | 4700 | | |
4701 | 4701 | | |
| 4702 | + | |
4702 | 4703 | | |
4703 | 4704 | | |
4704 | 4705 | | |
| |||
4773 | 4774 | | |
4774 | 4775 | | |
4775 | 4776 | | |
4776 | | - | |
4777 | | - | |
4778 | | - | |
| 4777 | + | |
| 4778 | + | |
| 4779 | + | |
| 4780 | + | |
| 4781 | + | |
| 4782 | + | |
| 4783 | + | |
| 4784 | + | |
| 4785 | + | |
| 4786 | + | |
| 4787 | + | |
| 4788 | + | |
| 4789 | + | |
| 4790 | + | |
| 4791 | + | |
| 4792 | + | |
4779 | 4793 | | |
| 4794 | + | |
4780 | 4795 | | |
4781 | 4796 | | |
4782 | 4797 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4760 | 4760 | | |
4761 | 4761 | | |
4762 | 4762 | | |
4763 | | - | |
| 4763 | + | |
4764 | 4764 | | |
4765 | 4765 | | |
4766 | 4766 | | |
| |||
0 commit comments